|
rapidyaml
0.11.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 415 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 421 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 428 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 434 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 445 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 451 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 458 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 464 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 475 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 483 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 492 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 500 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), c4::yml::EMIT_JSON, and c4::yml::ConstNodeRef::readable().