![]() |
Vcsn
2.8
Be Rational
|
A YAML configuration. More...
#include <configuration.hh>
Classes | |
class | value |
The class returned by [] operators. More... | |
Public Types | |
using | Node = YAML::Node |
Public Member Functions | |
config () | |
Load all the configuration files. More... | |
value | operator[] (const std::string &key) |
Access a subkey. More... | |
Private Attributes | |
Node | config_tree_ |
A YAML configuration.
Acts as the top of the configuration tree.
Definition at line 22 of file configuration.hh.
using vcsn::detail::config::Node = YAML::Node |
Definition at line 25 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::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::value::value().
|
private |
Definition at line 84 of file configuration.hh.
Referenced by config(), operator[](), and vcsn::detail::config::value::value().