yaml_options.hpp
Go to the documentation of this file.
80 os << "No options entry for [" << stringifyVariadic(keys...) << "]\n Node contents: " << options; 103 << "] as type " << typeid(TYPE).name() << " (template parameter: see below). String form of node value was: " 218 os << "No options entry for [" << stringifyVariadic(keys...) << "]\n Node contents: " << options; 232 os << "No options entry for [" << stringifyVariadic(keys...) << "]\n Node contents: " << options;
const std::vector< str > getNames(const args &... keys) const Retrieve values from key-value pairs in options node. Definition: yaml_options.hpp:165 STL namespace. General small utility classes, typedefs, etc. Variadic utilty functions which work with YAML objects. const std::string stringifyVariadic() Definition: variadic_functions.hpp:316 const Options getOptions(const args &... keys) const Recursive options retrieval. Definition: yaml_options.hpp:197 bool hasKey(const args &... keys) const Getters for key/value pairs (which is all the options node should contain) Definition: yaml_options.hpp:67 const YAML::Node getVariadicNode(const YAML::Node &node) Definition: yaml_variadic_functions.hpp:43 std::vector< TYPE > getVector(std::string key) const Get a std::vector of a particular type. Definition: yaml_options.hpp:149 TYPE getValueOrDef(TYPE def, const args &... keys) const Definition: yaml_options.hpp:115 Exception objects required for standalone compilation. const std::vector< str > getNames() const Retrieve values from all key-value pairs in options node. Definition: yaml_options.hpp:183 void setValue(const KEYTYPE &key, const VALTYPE &val) Basic setter, for adding extra options. Definition: yaml_options.hpp:135 Wrapper functionality to get yaml nodes with some extras. YAML::Node loadFromFile(const args &... keys) const Get YAML node from file. Definition: yaml_options.hpp:226 YAML::Node getNode(const args &... keys) const Retrieve raw YAML node. Definition: yaml_options.hpp:212 Definition: log_tags.hpp:46 |