|
| | config_file (const std::string &name) |
| |
| | config_set (config_set *parent=0) |
| |
| | ~config_set () |
| |
| bool | empty () const |
| |
| bool | exists (const std::string &attribute) const |
| |
| const config_set * | parent () const |
| |
| config_set * | parent () |
| |
| std::list< const config_set * > | children (const std::string &name) const |
| |
| config_set const & | child (std::string const &name) const |
| |
| template<typename T > |
| T | get (std::string const &name, T const &defval=T(), typename boost::enable_if< details::is_list< T > >::type *enabler=0) const |
| |
| template<typename T > |
| T | get (std::string const &name, T const &defval=T(), typename boost::disable_if< details::is_list< T > >::type *enabler=0) const |
| |
| void | set (std::string const &name, std::string const &value) |
| |
| void | set (std::string const &name, std::list< std::string > const &value) |
| |
| void | insert (std::string const &name, std::string const &value) |
| |
| void | insert (std::string const &name, std::list< std::string > const &value) |
| |
| void | insert (std::string const &name, config_set const *value) |
| |
| void | erase (std::string const &name) |
| |
| template<> |
| bool | convert (std::string const &value) |
| |
| template<> |
| config_set::stringlist | get (std::string const &name, config_set::stringlist const &defval, boost::enable_if< details::is_list< config_set::stringlist > >::type *enabler) const |
| |
A configuration file Reads a configuration file using read. Once it has been read, this object is to be used as a top-level scope (ConfigSet)