|
rapidyaml 0.15.2
parse and emit YAML, and do it fast
|
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 user types. More... | |
Functions | |
| template<class T> | |
| void | write (ryml::Tree *tree, ryml::id_type id, my_seq_type< T > const &seq) |
| void | write (ryml::Tree *tree, ryml::id_type id, my_seq_type< std::string > const &seq) |
| template<class K, class V> | |
| void | write (ryml::Tree *tree, ryml::id_type id, my_map_type< K, V > const &map) |
| void | write (ryml::Tree *tree, ryml::id_type id, my_type const &val) |
| template<class T> | |
| ryml::ReadResult | read (ryml::Tree const *tree, ryml::id_type id, my_seq_type< T > *seq) |
| template<class K, class V> | |
| ryml::ReadResult | read (ryml::Tree const *tree, ryml::id_type id, my_map_type< K, V > *map) |
| ryml::ReadResult | read (ryml::ConstNodeRef const &n, my_type *val) |
| ryml::ReadResult | read (ryml::Tree const *tree, ryml::id_type id, my_type *val) |
| void write | ( | ryml::Tree * | tree, |
| ryml::id_type | id, | ||
| my_seq_type< T > const & | seq ) |
Definition at line 4164 of file quickstart.cpp.
Referenced by c4::yml::Tree::save(), c4::yml::Tree::save(), c4::yml::Tree::set_serialized(), and c4::yml::Tree::set_serialized().
| void write | ( | ryml::Tree * | tree, |
| ryml::id_type | id, | ||
| my_seq_type< std::string > const & | seq ) |
Definition at line 4176 of file quickstart.cpp.
| void write | ( | ryml::Tree * | tree, |
| ryml::id_type | id, | ||
| my_map_type< K, V > const & | map ) |
Definition at line 4190 of file quickstart.cpp.
| void write | ( | ryml::Tree * | tree, |
| ryml::id_type | id, | ||
| my_type const & | val ) |
Definition at line 4202 of file quickstart.cpp.
| ryml::ReadResult read | ( | ryml::Tree const * | tree, |
| ryml::id_type | id, | ||
| my_seq_type< T > * | seq ) |
Definition at line 4231 of file quickstart.cpp.
Referenced by c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::deserialize(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::deserialize(), c4::yml::Tree::deserialize(), c4::yml::Tree::deserialize(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::load(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::load(), c4::yml::Tree::load(), and c4::yml::Tree::load().
| ryml::ReadResult read | ( | ryml::Tree const * | tree, |
| ryml::id_type | id, | ||
| my_map_type< K, V > * | map ) |
Definition at line 4252 of file quickstart.cpp.
| ryml::ReadResult read | ( | ryml::ConstNodeRef const & | n, |
| my_type * | val ) |
Definition at line 4287 of file quickstart.cpp.
| ryml::ReadResult read | ( | ryml::Tree const * | tree, |
| ryml::id_type | id, | ||
| my_type * | val ) |
Definition at line 4304 of file quickstart.cpp.