X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e76b3663393a47c8a97cff1cac268db2b4850a51..4c8b729ca205a05b34613dfe73d5f1b542c189f6:/include/xbt/config.hpp diff --git a/include/xbt/config.hpp b/include/xbt/config.hpp index eb160168b8..10cdc39aa4 100644 --- a/include/xbt/config.hpp +++ b/include/xbt/config.hpp @@ -19,12 +19,13 @@ #include #include -#include #include namespace simgrid { namespace config { +class Config; + template inline std::string to_string(T&& value) { @@ -64,6 +65,7 @@ extern template XBT_PUBLIC void set_value(const char* name, bool value); extern template XBT_PUBLIC void set_value(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") XBT_PUBLIC std::string