struct mrpt::containers::YamlEmitOptions

See mrpt::containers::yaml::PrintAsYaml.

[New in MRPT 2.1.0]

#include <mrpt/containers/YamlEmitOptions.h>

struct YamlEmitOptions
{
    //
fields

    bool emitHeader = true;
    bool emitComments = true;
    bool endWithNewLine = true;
    bool indentSequences = true;
};

Fields

bool emitHeader = true

Emit the YAML 1.2\n---\n at the beginning.