Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Convert last bits from the xbt/config C interface.
[simgrid.git] / include / xbt / config.hpp
index eb160168b8f94f8c7be83b94560f10b7e1fc3a25..10cdc39aa45e5585f65818458d5df251a56bd02d 100644 (file)
 #include <utility>
 
 #include <xbt/base.h>
-#include <xbt/config.h>
 #include <xbt/sysdep.h>
 
 namespace simgrid {
 namespace config {
 
+class Config;
+
 template<class T> inline
 std::string to_string(T&& value)
 {
@@ -64,6 +65,7 @@ extern template XBT_PUBLIC void set_value<bool>(const char* name, bool value);
 extern template XBT_PUBLIC void set_value<std::string>(const char* name, std::string value);
 
 XBT_PUBLIC void set_as_string(const char* name, const std::string& value);
+XBT_PUBLIC void set_parse(std::string options);
 
 // Get config
 
@@ -278,6 +280,9 @@ public:
   bool operator>=(U const& that) const { return value_ >= that; }
 };
 
+XBT_PUBLIC void finalize();
+XBT_PUBLIC void show_aliases();
+XBT_PUBLIC void help();
 }
 }
 XBT_ATTRIB_DEPRECATED_v323("Please use simgrid::config::get_value<std::string>") XBT_PUBLIC std::string