Function mola::load_yaml_file

Function Documentation

mrpt::containers::yaml mola::load_yaml_file(const std::string &fileName, const YAMLParseOptions &opts = YAMLParseOptions())

Loads and parses a YAML file.

This is equivalent to calling mrpt::containers::yaml::FromFile(), setting the relative path in YAMLParseOptions, calling parseYaml(), and reparsing as a mrpt::containers::yaml class again.

See also

parseYaml