yaml_parser_base.hpp
Go to the documentation of this file.
74 if (not node) inifile_error().raise(LOCAL_INFO,"No inifile entry for [" + stringifyVariadic(keys...) + "]"); 78 template<typename TYPE, typename... args> TYPE getValueOrDef(TYPE def, const args&... keys) const 93 if (not parametersNode[model][param][key]) inifile_error().raise(LOCAL_INFO,model + "." + param + "." + key + "not found in inifile."); YAML::Node parametersNode Definition: yaml_parser_base.hpp:116 TYPE getValueOrDef(TYPE def, const args &... keys) const Definition: yaml_parser_base.hpp:78 General small utility classes, typedefs, etc. const std::string stringifyVariadic() Definition: variadic_functions.hpp:316 Declarations for the YAML options class. const std::vector< str > getModelParameters(str model) const Definition: yaml_parser_base.cpp:321 YAML::Node getPriorsNode() const Definition: yaml_parser_base.cpp:295 const YAML::Node getVariadicNode(const YAML::Node &node) Definition: yaml_variadic_functions.hpp:43 YAML::Node getPrinterNode() const Definition: yaml_parser_base.cpp:296 YAML::Node keyValuePairNode Definition: yaml_parser_base.hpp:115 TYPE getModelParameterEntry(str model, str param, str key) const Getters for model/parameter section. Definition: yaml_parser_base.hpp:91 bool hasModelParameterEntry(str model, str param, str key) const Getters for model/parameter section. Definition: yaml_parser_base.cpp:304 Exception objects required for standalone compilation. YAML::Node getScannerNode() const Definition: yaml_parser_base.cpp:297 const std::set< str > getModelNames() const Return list of model names (without "adhoc" model!) Definition: yaml_parser_base.cpp:310 YAML::Node getLoggerNode() const Definition: yaml_parser_base.cpp:298 YAML::Node getParametersNode() const Getters for key/value section. Definition: yaml_parser_base.cpp:294 void basicParse(YAML::Node, str) Do the basic parsing of the YAML file. Definition: yaml_parser_base.cpp:154 TYPE getValue(args... keys) const Definition: yaml_parser_base.hpp:71 YAML::Node getKeyValuePairNode() const Definition: yaml_parser_base.cpp:299 Definition: log_tags.hpp:46 |