The YamlConfig struct This is a thin wrapper around YAML::Node.
More...
The YamlConfig struct This is a thin wrapper around YAML::Node.
◆ key_t
◆ storage_t
◆ value_t
◆ YamlConfig() [1/2]
YamlConfig::YamlConfig |
( |
| ) |
|
|
default |
◆ YamlConfig() [2/2]
◆ dump_to_str()
std::string YamlConfig::dump_to_str |
( |
| ) |
const |
|
inline |
◆ get_str() [1/2]
auto YamlConfig::get_str |
( |
const key_t & |
key | ) |
const |
|
inline |
◆ get_str() [2/2]
auto YamlConfig::get_str |
( |
const key_t & |
key, |
|
|
const std::string & |
defval |
|
) |
| const |
|
inline |
◆ get_typed() [1/2]
template<typename T >
auto YamlConfig::get_typed |
( |
const key_t & |
key | ) |
const |
|
inline |
◆ get_typed() [2/2]
template<typename T >
auto YamlConfig::get_typed |
( |
const key_t & |
key, |
|
|
T && |
defval |
|
) |
| const |
|
inline |
◆ has()
bool YamlConfig::has |
( |
const key_t & |
key | ) |
const |
|
inline |
◆ has_typed()
template<typename T >
bool YamlConfig::has_typed |
( |
const key_t & |
key | ) |
const |
|
inline |
◆ load_from_str()
static auto YamlConfig::load_from_str |
( |
std::string |
s | ) |
|
|
inlinestatic |
◆ operator[]()
decltype(auto) YamlConfig::operator[] |
( |
const key_t & |
key | ) |
const |
|
inline |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const YamlConfig & |
config |
|
) |
| |
|
friend |
◆ m_node
The documentation for this struct was generated from the following file: