|
rapidyaml 0.14.0
parse and emit YAML, and do it fast
|
To serialize/deserialize container types to a tree, implement the appropriate functions: More...
Classes | |
| struct | my_seq_type< T > |
| example user container type: seq-like More... | |
| struct | my_map_type< K, V > |
| example user container type: map-like More... | |
| struct | my_type |
| example user container type with nested container members. More... | |
Functions | |
| template<class T> | |
| void | write (ryml::NodeRef *n, my_seq_type< T > const &seq) |
| template<class K, class V> | |
| void | write (ryml::NodeRef *n, my_map_type< K, V > const &map) |
| void | write (ryml::NodeRef *n, my_type const &val) |
| template<class T> | |
| bool | read (ryml::ConstNodeRef const &n, my_seq_type< T > *seq) |
| template<class K, class V> | |
| bool | read (ryml::ConstNodeRef const &n, my_map_type< K, V > *map) |
| bool | read (ryml::ConstNodeRef const &n, my_type *val) |
To serialize/deserialize container types to a tree, implement the appropriate functions:
| void write | ( | ryml::NodeRef * | n, |
| my_seq_type< T > const & | seq ) |
Definition at line 3707 of file quickstart.cpp.
| void write | ( | ryml::NodeRef * | n, |
| my_map_type< K, V > const & | map ) |
Definition at line 3714 of file quickstart.cpp.
| void write | ( | ryml::NodeRef * | n, |
| my_type const & | val ) |
Definition at line 3720 of file quickstart.cpp.
| bool read | ( | ryml::ConstNodeRef const & | n, |
| my_seq_type< T > * | seq ) |
Definition at line 3733 of file quickstart.cpp.
| bool read | ( | ryml::ConstNodeRef const & | n, |
| my_map_type< K, V > * | map ) |
Definition at line 3742 of file quickstart.cpp.
| bool read | ( | ryml::ConstNodeRef const & | n, |
| my_type * | val ) |
Definition at line 3753 of file quickstart.cpp.