|
rapidyaml
0.12.1
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 416 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), and c4::yml::EMIT_YAML.
(2) like (1), but use default emit options
Definition at line 422 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 429 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 435 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 446 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 452 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 459 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 465 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 476 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), c4::yml::EMIT_YAML, and c4::yml::ConstNodeRef::readable().
|
inline |
(2) like (1), but use default emit options
Definition at line 484 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), c4::yml::EMIT_YAML, and c4::yml::ConstNodeRef::readable().
|
inline |
(1) emit JSON to the given file.
A null file defaults to stdout. Return the number of bytes written.
Definition at line 493 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), c4::yml::EMIT_JSON, and c4::yml::ConstNodeRef::readable().
|
inline |
(2) like (1), but use default emit options
Definition at line 501 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), c4::yml::EMIT_JSON, and c4::yml::ConstNodeRef::readable().