rapidyaml  0.7.1
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 Types

enum  EmitOptionFlags_e : uint32_t { DEFAULT_FLAGS = 0 , JSON_ERR_ON_TAG = 1 << 0 , JSON_ERR_ON_ANCHOR = 1 << 1 , _JSON_ERR_MASK = JSON_ERR_ON_TAG|JSON_ERR_ON_ANCHOR }
 

Public Member Functions

bool operator== (const EmitOptions &that) const noexcept
 
option flags
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 75 of file emit.hpp.


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