![]() |
Vcsn
2.6
Be Rational
|
The YAML configuration (acts as the top of the configuration tree). More...
#include <configuration.hh>
Classes | |
class | config_value |
The class returned by [] operators. More... | |
Public Types | |
using | Node = YAML::Node |
Public Member Functions | |
config () | |
Load all the configuration files. More... | |
config_value | operator[] (const std::string &key) |
Access a subkey. More... | |
Private Attributes | |
Node | config_tree_ |
The YAML configuration (acts as the top of the configuration tree).
Definition at line 21 of file configuration.hh.
using vcsn::detail::config::Node = YAML::Node |
Definition at line 24 of file configuration.hh.
vcsn::detail::config::config | ( | ) |
Load all the configuration files.
Definition at line 148 of file configuration.cc.
References config_tree_, vcsn::expand_tilda(), and vcsn::xgetenv().
Referenced by vcsn::configuration().
config::config_value vcsn::detail::config::operator[] | ( | const std::string & | key | ) |
Access a subkey.
Definition at line 167 of file configuration.cc.
References config_tree_, and vcsn::detail::config::config_value::config_value().
|
private |
Definition at line 83 of file configuration.hh.
Referenced by config(), vcsn::detail::config::config_value::config_value(), and operator[]().