GComm  0.2.3
Classes | Functions
conf.hpp File Reference

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.

Classes

struct  gcomm::Conf
 

Functions

template<typename T >
gcomm::_conf_param (const gu::URI &uri, const std::string &param, const T *default_value=0, const T *min_value=0, const T *max_value=0)
 
template<typename T >
gcomm::conf_param (const gu::URI &uri, const std::string &param)
 
template<typename T >
gcomm::conf_param_def (const gu::URI &uri, const std::string &param, const T &default_value)
 
template<typename T >
gcomm::conf_param_range (const gu::URI &uri, const std::string &param, const T &min_value, const T &max_value)
 
template<typename T >
gcomm::conf_param_def_min (const gu::URI &uri, const std::string &param, const T &default_value, const T &min_value)
 
template<typename T >
gcomm::conf_param_def_max (const gu::URI &uri, const std::string &param, const T &default_value, const T &max_value)
 
template<typename T >
gcomm::conf_param_def_range (const gu::URI &uri, const std::string &param, const T &default_value, const T &min_value, const T &max_value)
 
template<typename 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 >
gcomm::check_range (const std::string &key, const T &val, const T &min, const T &max)
 

Detailed Description

Configuration parameters and utility templates.