|
rapidyaml
0.9.0
parse and emit YAML, and do it fast
|
A lightweight object containing options to be used when emitting. More...
#include <emit.hpp>
Public Types | |
| enum | EmitOptionFlags_e : uint32_t { DEFAULT_FLAGS = 0u , JSON_ERR_ON_TAG = 1u << 0u , JSON_ERR_ON_ANCHOR = 1u << 1u , _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 |
| EmitOptions & | json_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 |
| EmitOptions & | max_depth (id_type d) noexcept |
A lightweight object containing options to be used when emitting.