|
rapidyaml
0.7.0
parse and emit YAML, and do it fast
|
convenience class to initialize nodes More...
#include <tree.hpp>
Public Member Functions | |
| NodeInit () | |
| initialize as an empty node More... | |
| NodeInit (NodeType_e t) | |
| initialize as a typed node More... | |
| NodeInit (NodeScalar const &v) | |
| initialize as a sequence member More... | |
| NodeInit (NodeScalar const &v, NodeType_e t) | |
| initialize as a sequence member with explicit type More... | |
| NodeInit (NodeScalar const &k, NodeScalar const &v) | |
| initialize as a mapping member More... | |
| NodeInit (NodeType_e t, NodeScalar const &k, NodeScalar const &v) | |
| initialize as a mapping member with explicit type More... | |
| NodeInit (NodeType_e t, NodeScalar const &k) | |
| initialize as a mapping member with explicit type (eg for SEQ or MAP) More... | |
| void | clear () |
| void | _add_flags (type_bits more_flags=0) |
| bool | _check () const |
Public Attributes | |
| NodeType | type |
| NodeScalar | key |
| NodeScalar | val |
|
inline |
|
inline |
|
inline |
initialize as a sequence member
Definition at line 165 of file tree.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
initialize as a mapping member with explicit type (eg for SEQ or MAP)
Definition at line 173 of file tree.hpp.
References c4::yml::KEY.
|
inline |
Definition at line 177 of file tree.hpp.
References c4::yml::NodeType::clear(), c4::yml::NodeScalar::clear(), and c4::yml::key().
|
inline |
Definition at line 184 of file tree.hpp.
References c4::yml::NodeScalar::anchor, c4::yml::key(), c4::yml::KEYANCH, c4::yml::KEYTAG, c4::yml::NodeScalar::tag, c4::yml::VALANCH, and c4::yml::VALTAG.
|
inline |
Definition at line 197 of file tree.hpp.
References c4::yml::key(), c4::yml::KEY, c4::yml::KEYTAG, c4::yml::NodeScalar::scalar, c4::yml::NodeScalar::tag, c4::yml::VAL, and c4::yml::VALTAG.
| NodeScalar c4::yml::NodeInit::key |
| NodeScalar c4::yml::NodeInit::val |