|
rapidyaml
0.12.0
parse and emit YAML, and do it fast
|
Classes | |
| struct | c4::yml::as_json |
| mark a tree or node to be emitted as yaml when using operator<<, with options. More... | |
| struct | c4::yml::as_yaml |
| mark a tree or node to be emitted as yaml when using operator<< . More... | |
Functions | |
| template<class OStream > | |
| OStream & | c4::yml::operator<< (OStream &s, Tree const &t) |
| emit YAML to an STL-like ostream More... | |
| template<class OStream > | |
| OStream & | c4::yml::operator<< (OStream &s, ConstNodeRef const &n) |
| emit YAML to an STL-like ostream This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
| template<class OStream > | |
| OStream & | c4::yml::operator<< (OStream &s, as_json const &j) |
| emit json to an STL-like stream More... | |
| template<class OStream > | |
| OStream & | c4::yml::operator<< (OStream &s, as_yaml const &y) |
| emit yaml to an STL-like stream More... | |
|
inline |
emit YAML to an STL-like ostream
Definition at line 521 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), and c4::yml::EMIT_YAML.
|
inline |
emit YAML to an STL-like ostream This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 531 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), c4::yml::EMIT_YAML, and c4::yml::ConstNodeRef::readable().
|
inline |
emit json to an STL-like stream
Definition at line 584 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), c4::yml::EMIT_JSON, c4::yml::Tree::empty(), c4::yml::as_json::node, c4::yml::NONE, c4::yml::as_json::options, c4::yml::Tree::root_id(), and c4::yml::as_json::tree.
|
inline |
emit yaml to an STL-like stream
Definition at line 595 of file emit.hpp.
References c4::yml::Emitter< Writer >::emit_as(), c4::yml::EMIT_YAML, c4::yml::Tree::empty(), c4::yml::as_yaml::node, c4::yml::NONE, c4::yml::as_yaml::options, c4::yml::Tree::root_id(), and c4::yml::as_yaml::tree.