|
bool | simgrid::config::parseBool (const char *value) |
|
double | simgrid::config::parseDouble (const char *value) |
|
long int | simgrid::config::parseLong (const char *value) |
|
template<class T > |
T | simgrid::config::parse (const char *value) |
|
template<class T > |
std::string | simgrid::config::to_string (T &&value) |
|
std::string const & | simgrid::config::to_string (std::string &value) |
|
std::string const & | simgrid::config::to_string (std::string const &value) |
|
std::string | simgrid::config::to_string (std::string &&value) |
|
void | simgrid::config::declareFlag (const char *name, const char *description, std::function< void(const char *value)> callback) |
| Register a configuration flag. More...
|
|
template<class T > |
void | simgrid::config::bindFlag (T &value, const char *name, const char *description) |
| Bind a variable to configuration flag. More...
|
|
template<class T , class F > |
std::enable_if< std::is_same< T, typename std::remove_cv< decltype(std::declval< F >)(std::declval< const char * >))) >::type >::value, void >::type | simgrid::config::bindFlag (T &value, const char *name, const char *description, F callback) |
| Bind a variable to configuration flag. More...
|
|
template<class T , class F > |
std::enable_if< std::is_same< void, decltype(std::declval< F >)(std::declval< const T & >)))>::value, void >::type | simgrid::config::bindFlag (T &value, const char *name, const char *description, F callback) |
| Bind a variable to configuration flag. More...
|
|
template<class T , class F > |
std::enable_if< std::is_same< bool, decltype(std::declval< F >)(std::declval< const T & >)))>::value, void >::type | simgrid::config::bindFlag (T &value, const char *name, const char *description, F callback) |
| Bind a variable to configuration flag. More...
|
|