rapidyaml  0.13.0
parse and emit YAML, and do it fast
c4::yml::EmitOptions Struct Reference

A lightweight object containing options to be used when emitting. More...

#include <emit.hpp>

Public Member Functions

bool operator== (const EmitOptions &that) const noexcept
 
option flags
bool emit_nonroot_key () const noexcept
 
EmitOptionsemit_nonroot_key (bool enabled) noexcept
 
bool emit_nonroot_dash () const noexcept
 
EmitOptionsemit_nonroot_dash (bool enabled) noexcept
 
bool indent_flow_ml () const noexcept
 
EmitOptionsindent_flow_ml (bool enabled) noexcept
 
EmitOptionFlags_e json_error_flags () const noexcept
 
EmitOptionsjson_error_flags (EmitOptionFlags_e d) noexcept
 

max depth for the emitted tree

This makes the emitter fail when emitting trees exceeding the max_depth.

static constexpr const id_type max_depth_default = 64
 
id_type max_depth () const noexcept
 
EmitOptionsmax_depth (id_type d) noexcept
 

Detailed Description

A lightweight object containing options to be used when emitting.

Definition at line 59 of file emit.hpp.


The documentation for this struct was generated from the following file: