Vcsn  2.6
Be Rational
vcsn::detail::config Class Reference

The YAML configuration (acts as the top of the configuration tree). More...

#include <configuration.hh>

Collaboration diagram for vcsn::detail::config:

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_
 

Detailed Description

The YAML configuration (acts as the top of the configuration tree).

Definition at line 21 of file configuration.hh.

Member Typedef Documentation

◆ Node

using vcsn::detail::config::Node = YAML::Node

Definition at line 24 of file configuration.hh.

Constructor & Destructor Documentation

◆ config()

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().

Here is the call graph for this function:

Member Function Documentation

◆ operator[]()

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().

Here is the call graph for this function:

Member Data Documentation

◆ config_tree_

Node vcsn::detail::config::config_tree_
private

The documentation for this class was generated from the following files: