Function mola::yaml_to_string
Defined in File yaml_helpers.h
Function Documentation
-
std::string mola::yaml_to_string(const mrpt::containers::yaml &cfg)
Serialize an
mrpt::containers::yamlnode to a string.Uses the node’s built-in stream operator. The result can be re-parsed with
mrpt::containers::yaml::FromText().- Parameters:
cfg – Node to serialize.
- Returns:
YAML text representation.