|
rapidyaml
0.12.0
parse and emit YAML, and do it fast
|
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 |
| EmitOptions & | emit_nonroot_key (bool enabled) noexcept |
| bool | emit_nonroot_dash () const noexcept |
| EmitOptions & | emit_nonroot_dash (bool enabled) noexcept |
| bool | indent_flow_ml () const noexcept |
| EmitOptions & | indent_flow_ml (bool enabled) noexcept |
| 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.