|
rapidyaml 0.15.2
parse and emit YAML, and do it fast
|
Implementation of serialization to a tree. More...
Topics | |
| Arena utils | |
| Implementation utils for serializing scalars in a tree's arena. | |
Functions | |
| template<class T> | |
| type_bits | c4::yml::scalar_flags_val (T const &) noexcept |
| Return extra style flags to use when setting a scalar as val. | |
| template<class T> | |
| type_bits | c4::yml::scalar_flags_key (T const &) noexcept |
| Return extra style flags to use when setting a scalar as key. | |
| template<class T> | |
| void | c4::yml::write (Tree *tree, id_type id, T const &v) |
| Serialize a variable to the tree's arena, and set it as the node's val. | |
| template<class T> | |
| void | c4::yml::write_key (Tree *tree, id_type id, T const &v) |
| Serialize a variable to the tree's arena, and set it as the node's key. | |
Implementation of serialization to a tree.
|
inlinenoexcept |
Return extra style flags to use when setting a scalar as val.
Defaults to VAL_PLAIN for arithmetic types, or NOTYPE otherwise
Definition at line 1785 of file tree.hpp.
Referenced by scalar_flags_val(), and write().
|
inlinenoexcept |
Return extra style flags to use when setting a scalar as key.
Defaults to KEY_PLAIN for arithmetic types, or NOTYPE otherwise
Definition at line 1795 of file tree.hpp.
Referenced by scalar_flags_key(), and write_key().
Serialize a variable to the tree's arena, and set it as the node's val.
Definition at line 1838 of file tree.hpp.
Serialize a variable to the tree's arena, and set it as the node's key.
Definition at line 1848 of file tree.hpp.