|
rapidyaml
0.8.0
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-like container, resizing it as needed to fit the emitted YAML. More... | |
| 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 More... | |
| 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-like container, resizing it as needed to fit the emitted JSON. More... | |
| 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 More... | |
| 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-like container. More... | |
| 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-like container. More... | |
| template<class CharOwningContainer > | |
| substr | c4::yml::emitrs_yaml (Tree const &t, EmitOptions const &opts, CharOwningContainer *cont, bool append=false) |
(1) emit+resize: YAML to the given std::string/std::vector-like container, resizing it as needed to fit the emitted YAML. More... | |
| template<class CharOwningContainer > | |
| substr | c4::yml::emitrs_yaml (Tree const &t, CharOwningContainer *cont, bool append=false) |
| (2) like (1), but use default emit options More... | |
| template<class CharOwningContainer > | |
| substr | c4::yml::emitrs_json (Tree const &t, EmitOptions const &opts, CharOwningContainer *cont, bool append=false) |
(1) emit+resize: JSON to the given std::string/std::vector-like container, resizing it as needed to fit the emitted JSON. More... | |
| template<class CharOwningContainer > | |
| substr | c4::yml::emitrs_json (Tree const &t, CharOwningContainer *cont, bool append=false) |
| (2) like (1), but use default emit options More... | |
| template<class CharOwningContainer > | |
| CharOwningContainer | c4::yml::emitrs_yaml (Tree const &t, EmitOptions const &opts={}) |
(3) emit+resize: YAML to a newly-created std::string/std::vector-like container. More... | |
| template<class CharOwningContainer > | |
| CharOwningContainer | c4::yml::emitrs_json (Tree const &t, EmitOptions const &opts={}) |
(3) emit+resize: JSON to a newly-created std::string/std::vector-like container. More... | |
| template<class CharOwningContainer > | |
| substr | c4::yml::emitrs_yaml (ConstNodeRef const &n, EmitOptions const &opts, CharOwningContainer *cont, bool append=false) |
(1) emit+resize: YAML to the given std::string/std::vector-like container, resizing it as needed to fit the emitted YAML. More... | |
| template<class CharOwningContainer > | |
| substr | c4::yml::emitrs_yaml (ConstNodeRef const &n, CharOwningContainer *cont, bool append=false) |
| (2) like (1), but use default emit options More... | |
| template<class CharOwningContainer > | |
| substr | c4::yml::emitrs_json (ConstNodeRef const &n, EmitOptions const &opts, CharOwningContainer *cont, bool append=false) |
(1) emit+resize: JSON to the given std::string/std::vector-like container, resizing it as needed to fit the emitted JSON. More... | |
| template<class CharOwningContainer > | |
| substr | c4::yml::emitrs_json (ConstNodeRef const &n, CharOwningContainer *cont, bool append=false) |
| (2) like (1), but use default emit options More... | |
| template<class CharOwningContainer > | |
| CharOwningContainer | c4::yml::emitrs_yaml (ConstNodeRef const &n, EmitOptions const &opts={}) |
(3) emit+resize: YAML to a newly-created std::string/std::vector-like container. More... | |
| template<class CharOwningContainer > | |
| CharOwningContainer | c4::yml::emitrs_json (ConstNodeRef const &n, EmitOptions const &opts={}) |
(3) emit+resize: JSON to a newly-created std::string/std::vector-like container. More... | |
| 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-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 619 of file emit.hpp.
References c4::yml::emit_yaml(), and c4::to_substr().
Referenced by sample::sample_emit_to_container().
| 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 639 of file emit.hpp.
References c4::yml::emitrs_yaml().
| 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-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 649 of file emit.hpp.
References c4::yml::emit_json(), and c4::to_substr().
| 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 670 of file emit.hpp.
References c4::yml::emitrs_json().
| 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-like container.
| 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-like container.
| substr c4::yml::emitrs_yaml | ( | Tree const & | t, |
| EmitOptions const & | opts, | ||
| CharOwningContainer * | cont, | ||
| bool | append = false |
||
| ) |
(1) emit+resize: YAML to the given std::string/std::vector-like container, resizing it as needed to fit the emitted YAML.
Definition at line 700 of file emit.hpp.
References c4::yml::emitrs_yaml(), c4::yml::Tree::empty(), and c4::yml::Tree::root_id().
| substr c4::yml::emitrs_yaml | ( | Tree const & | t, |
| CharOwningContainer * | cont, | ||
| bool | append = false |
||
| ) |
(2) like (1), but use default emit options
Definition at line 708 of file emit.hpp.
References c4::yml::emitrs_yaml(), c4::yml::Tree::empty(), and c4::yml::Tree::root_id().
| substr c4::yml::emitrs_json | ( | Tree const & | t, |
| EmitOptions const & | opts, | ||
| CharOwningContainer * | cont, | ||
| bool | append = false |
||
| ) |
(1) emit+resize: JSON to the given std::string/std::vector-like container, resizing it as needed to fit the emitted JSON.
Definition at line 718 of file emit.hpp.
References c4::yml::emitrs_json(), c4::yml::Tree::empty(), and c4::yml::Tree::root_id().
| substr c4::yml::emitrs_json | ( | Tree const & | t, |
| CharOwningContainer * | cont, | ||
| bool | append = false |
||
| ) |
(2) like (1), but use default emit options
Definition at line 726 of file emit.hpp.
References c4::yml::emitrs_json(), c4::yml::Tree::empty(), and c4::yml::Tree::root_id().
| CharOwningContainer c4::yml::emitrs_yaml | ( | Tree const & | t, |
| EmitOptions const & | opts = {} |
||
| ) |
| CharOwningContainer c4::yml::emitrs_json | ( | Tree const & | t, |
| EmitOptions const & | opts = {} |
||
| ) |
| substr c4::yml::emitrs_yaml | ( | ConstNodeRef const & | n, |
| EmitOptions const & | opts, | ||
| CharOwningContainer * | cont, | ||
| bool | append = false |
||
| ) |
(1) emit+resize: YAML to the given std::string/std::vector-like container, resizing it as needed to fit the emitted YAML.
Definition at line 763 of file emit.hpp.
References c4::yml::Tree::callbacks(), c4::yml::emitrs_yaml(), c4::yml::ConstNodeRef::id(), c4::yml::detail::is_set_(), c4::yml::ConstNodeRef::readable(), and c4::yml::ConstNodeRef::tree().
| substr c4::yml::emitrs_yaml | ( | ConstNodeRef const & | n, |
| CharOwningContainer * | cont, | ||
| bool | append = false |
||
| ) |
(2) like (1), but use default emit options
Definition at line 772 of file emit.hpp.
References c4::yml::Tree::callbacks(), c4::yml::emitrs_yaml(), c4::yml::ConstNodeRef::id(), c4::yml::detail::is_set_(), c4::yml::ConstNodeRef::readable(), and c4::yml::ConstNodeRef::tree().
| substr c4::yml::emitrs_json | ( | ConstNodeRef const & | n, |
| EmitOptions const & | opts, | ||
| CharOwningContainer * | cont, | ||
| bool | append = false |
||
| ) |
(1) emit+resize: JSON to the given std::string/std::vector-like container, resizing it as needed to fit the emitted JSON.
Definition at line 783 of file emit.hpp.
References c4::yml::Tree::callbacks(), c4::yml::emitrs_json(), c4::yml::ConstNodeRef::id(), c4::yml::detail::is_set_(), c4::yml::ConstNodeRef::readable(), and c4::yml::ConstNodeRef::tree().
| substr c4::yml::emitrs_json | ( | ConstNodeRef const & | n, |
| CharOwningContainer * | cont, | ||
| bool | append = false |
||
| ) |
(2) like (1), but use default emit options
Definition at line 792 of file emit.hpp.
References c4::yml::Tree::callbacks(), c4::yml::emitrs_json(), c4::yml::ConstNodeRef::id(), c4::yml::detail::is_set_(), c4::yml::ConstNodeRef::readable(), and c4::yml::ConstNodeRef::tree().
| CharOwningContainer c4::yml::emitrs_yaml | ( | ConstNodeRef const & | n, |
| EmitOptions const & | opts = {} |
||
| ) |
(3) emit+resize: YAML to a newly-created std::string/std::vector-like container.
Definition at line 803 of file emit.hpp.
Referenced by c4::yml::emitrs_yaml().
| CharOwningContainer c4::yml::emitrs_json | ( | ConstNodeRef const & | n, |
| EmitOptions const & | opts = {} |
||
| ) |
(3) emit+resize: JSON to a newly-created std::string/std::vector-like container.
Definition at line 814 of file emit.hpp.
Referenced by c4::yml::emitrs_json().