|
rapidyaml
0.9.0
parse and emit YAML, and do it fast
|
Functions | |
| size_t | c4::yml::emit_yaml (Tree const &t, id_type id, EmitOptions const &opts, FILE *f) |
| (1) emit YAML to the given file, starting at the given node. More... | |
| size_t | c4::yml::emit_yaml (Tree const &t, id_type id, FILE *f) |
| (2) like (1), but use default emit options More... | |
| size_t | c4::yml::emit_json (Tree const &t, id_type id, EmitOptions const &opts, FILE *f) |
| (1) emit JSON to the given file, starting at the given node. More... | |
| size_t | c4::yml::emit_json (Tree const &t, id_type id, FILE *f) |
| (2) like (1), but use default emit options More... | |
| size_t | c4::yml::emit_yaml (Tree const &t, EmitOptions const &opts, FILE *f=nullptr) |
| (1) emit YAML to the given file, starting at the root node. More... | |
| size_t | c4::yml::emit_yaml (Tree const &t, FILE *f=nullptr) |
| (2) like (1), but use default emit options More... | |
| size_t | c4::yml::emit_json (Tree const &t, EmitOptions const &opts, FILE *f=nullptr) |
| (1) emit JSON to the given file. More... | |
| size_t | c4::yml::emit_json (Tree const &t, FILE *f=nullptr) |
| (2) like (1), but use default emit options More... | |
| size_t | c4::yml::emit_yaml (ConstNodeRef const &r, EmitOptions const &opts, FILE *f=nullptr) |
| (1) emit YAML to the given file. More... | |
| size_t | c4::yml::emit_yaml (ConstNodeRef const &r, FILE *f=nullptr) |
| (2) like (1), but use default emit options More... | |
| size_t | c4::yml::emit_json (ConstNodeRef const &r, EmitOptions const &opts, FILE *f=nullptr) |
| (1) emit JSON to the given file. More... | |
| size_t | c4::yml::emit_json (ConstNodeRef const &r, FILE *f=nullptr) |
| (2) like (1), but use default emit options More... | |
|
inline |
(1) emit YAML to the given file, starting at the given node.
A null file defaults to stdout. Return the number of bytes written.
Definition at line 257 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), and c4::yml::EMIT_YAML.
Referenced by sample::sample_emit_to_container(), sample::sample_emit_to_file(), sample::sample_lightning_overview(), and sample::sample_quick_overview().
(2) like (1), but use default emit options
Definition at line 263 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), and c4::yml::EMIT_YAML.
|
inline |
(1) emit JSON to the given file, starting at the given node.
A null file defaults to stdout. Return the number of bytes written.
Definition at line 270 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), and c4::yml::EMIT_JSON.
(2) like (1), but use default emit options
Definition at line 276 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), and c4::yml::EMIT_JSON.
|
inline |
(1) emit YAML to the given file, starting at the root node.
A null file defaults to stdout. Return the number of bytes written.
Definition at line 287 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), and c4::yml::EMIT_YAML.
|
inline |
(2) like (1), but use default emit options
Definition at line 293 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), and c4::yml::EMIT_YAML.
|
inline |
(1) emit JSON to the given file.
A null file defaults to stdout. Return the number of bytes written.
Definition at line 300 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), and c4::yml::EMIT_JSON.
|
inline |
(2) like (1), but use default emit options
Definition at line 306 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), and c4::yml::EMIT_JSON.
|
inline |
(1) emit YAML to the given file.
A null file defaults to stdout. Return the number of bytes written.
Definition at line 317 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), c4::yml::EMIT_YAML, and c4::yml::detail::is_set_().
|
inline |
(2) like (1), but use default emit options
Definition at line 325 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), c4::yml::EMIT_YAML, and c4::yml::detail::is_set_().
|
inline |
(1) emit JSON to the given file.
A null file defaults to stdout. Return the number of bytes written.
Definition at line 334 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), c4::yml::EMIT_JSON, and c4::yml::detail::is_set_().
|
inline |
(2) like (1), but use default emit options
Definition at line 342 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), c4::yml::EMIT_JSON, and c4::yml::detail::is_set_().