Configuration parameters and utility templates.
More...
#include "gu_config.hpp"
#include "gu_uri.hpp"
#include "gu_throw.hpp"
Go to the source code of this file.
|
template<typename T > |
T | gcomm::_conf_param (const gu::URI &uri, const std::string ¶m, const T *default_value=0, const T *min_value=0, const T *max_value=0) |
|
template<typename T > |
T | gcomm::conf_param (const gu::URI &uri, const std::string ¶m) |
|
template<typename T > |
T | gcomm::conf_param_def (const gu::URI &uri, const std::string ¶m, const T &default_value) |
|
template<typename T > |
T | gcomm::conf_param_range (const gu::URI &uri, const std::string ¶m, const T &min_value, const T &max_value) |
|
template<typename T > |
T | gcomm::conf_param_def_min (const gu::URI &uri, const std::string ¶m, const T &default_value, const T &min_value) |
|
template<typename T > |
T | gcomm::conf_param_def_max (const gu::URI &uri, const std::string ¶m, const T &default_value, const T &max_value) |
|
template<typename T > |
T | gcomm::conf_param_def_range (const gu::URI &uri, const std::string ¶m, const T &default_value, const T &min_value, const T &max_value) |
|
template<typename T > |
T | gcomm::param (gu::Config &conf, const gu::URI &uri, const std::string &key, const std::string &def, std::ios_base &(*f)(std::ios_base &)=std::dec) |
|
template<typename T > |
T | gcomm::check_range (const std::string &key, const T &val, const T &min, const T &max) |
|
Configuration parameters and utility templates.