Functions | |
| YAML::Node | find_node_at (YAML::Node node, std::initializer_list< const char * > keys) |
| Finds a node, copies its structure and replaces the previous keys by the newly provided keys. More... | |
| YAML::Node | remove_empty_maps (YAML::Node root) |
| Removes all empty maps of a YAML::Node. More... | |
| YAML::Node | operator|= (YAML::Node a, const YAML::Node &b) |
| Merge two YAML::Nodes. More... | |
| YAML::Node smash::anonymous_namespace{configuration.cc}::find_node_at | ( | YAML::Node | node, |
| std::initializer_list< const char * > | keys | ||
| ) |
Finds a node, copies its structure and replaces the previous keys by the newly provided keys.
| [in] | node | YAML::node whose structure will be copied and whose key values will be replaced. |
| [in] | keys | Keys that will replace the previous keys in the copied node. |
Definition at line 36 of file configuration.cc.
| YAML::Node smash::anonymous_namespace{configuration.cc}::remove_empty_maps | ( | YAML::Node | root | ) |
Removes all empty maps of a YAML::Node.
| [in] | root | YAML::Node that contains empty maps. |
Definition at line 52 of file configuration.cc.
| YAML::Node smash::anonymous_namespace{configuration.cc}::operator|= | ( | YAML::Node | a, |
| const YAML::Node & | b | ||
| ) |
Merge two YAML::Nodes.
| [in] | a | YAML::Node into which b is merged. |
| [in] | b | YAML::Node that is merged into a. |
Definition at line 75 of file configuration.cc.