|
rapidyaml 0.15.2
parse and emit YAML, and do it fast
|
Functions | |
| template<class CharOwningContainer> | |
| substr | c4::yml::emitrs_yaml (Tree const &t, id_type id, EmitOptions const &opts, CharOwningContainer *cont, bool append=false) |
| (1) emit+resize: emit YAML to the given std::string/std::vector<char>-like container, resizing it as needed to fit the emitted YAML. | |
| template<class CharOwningContainer> | |
| substr | c4::yml::emitrs_yaml (Tree const &t, id_type id, CharOwningContainer *cont, bool append=false) |
| (2) like (1), but use default emit options | |
| template<class CharOwningContainer> | |
| substr | c4::yml::emitrs_json (Tree const &t, id_type id, EmitOptions const &opts, CharOwningContainer *cont, bool append=false) |
| (1) emit+resize: emit JSON to the given std::string/std::vector<char>-like container, resizing it as needed to fit the emitted JSON. | |
| template<class CharOwningContainer> | |
| substr | c4::yml::emitrs_json (Tree const &t, id_type id, CharOwningContainer *cont, bool append=false) |
| (2) like (1), but use default emit options | |
| template<class CharOwningContainer> | |
| CharOwningContainer | c4::yml::emitrs_yaml (Tree const &t, id_type id, EmitOptions const &opts={}) |
| (3) emit+resize: YAML to a newly-created std::string/std::vector<char>-like container. | |
| template<class CharOwningContainer> | |
| CharOwningContainer | c4::yml::emitrs_json (Tree const &t, id_type id, EmitOptions const &opts={}) |
| (3) emit+resize: JSON to a newly-created std::string/std::vector<char>-like container. | |
| substr c4::yml::emitrs_yaml | ( | Tree const & | t, |
| id_type | id, | ||
| EmitOptions const & | opts, | ||
| CharOwningContainer * | cont, | ||
| bool | append = false ) |
(1) emit+resize: emit YAML to the given std::string/std::vector<char>-like container, resizing it as needed to fit the emitted YAML.
If append is set to true, the emitted YAML is appended at the end of the container.
Definition at line 35 of file emit_container.hpp.
| substr c4::yml::emitrs_yaml | ( | Tree const & | t, |
| id_type | id, | ||
| CharOwningContainer * | cont, | ||
| bool | append = false ) |
(2) like (1), but use default emit options
Definition at line 51 of file emit_container.hpp.
| substr c4::yml::emitrs_json | ( | Tree const & | t, |
| id_type | id, | ||
| EmitOptions const & | opts, | ||
| CharOwningContainer * | cont, | ||
| bool | append = false ) |
(1) emit+resize: emit JSON to the given std::string/std::vector<char>-like container, resizing it as needed to fit the emitted JSON.
If append is set to true, the emitted YAML is appended at the end of the container.
Definition at line 63 of file emit_container.hpp.
| substr c4::yml::emitrs_json | ( | Tree const & | t, |
| id_type | id, | ||
| CharOwningContainer * | cont, | ||
| bool | append = false ) |
(2) like (1), but use default emit options
Definition at line 79 of file emit_container.hpp.
| CharOwningContainer c4::yml::emitrs_yaml | ( | Tree const & | t, |
| id_type | id, | ||
| EmitOptions const & | opts = {} ) |
(3) emit+resize: YAML to a newly-created std::string/std::vector<char>-like container.
Definition at line 87 of file emit_container.hpp.
| CharOwningContainer c4::yml::emitrs_json | ( | Tree const & | t, |
| id_type | id, | ||
| EmitOptions const & | opts = {} ) |
(3) emit+resize: JSON to a newly-created std::string/std::vector<char>-like container.
Definition at line 95 of file emit_container.hpp.