File yaml_helpers.h

Parent directory (include/mola_yaml)

YAML processing helper utilities.

Definition (include/mola_yaml/yaml_helpers.h)

Detailed Description

Jose Luis Blanco Claraco

Nov 30, 2018

Provides:

  • mola::parse_yaml(): string/node pre-processor that expands $include{}, $(), and ${} expressions (in that order).

  • mola::load_yaml_file(): load and fully pre-process a YAML file.

  • mola::yaml_to_string(): serialize an mrpt::containers::yaml node.

  • A family of YAML_LOAD_OPT / YAML_LOAD_REQ helper macros that reduce boilerplate when reading parameters from a cfg YAML node.

Includes

Namespaces

Classes

Defines