|
rapidyaml
0.10.0
parse and emit YAML, and do it fast
|
Classes | |
| struct | c4::yml::Key< K > |
| struct | c4::yml::Key< fmt::const_base64_wrapper > |
| struct | c4::yml::Key< fmt::base64_wrapper > |
Functions | |
| template<class K > | |
| Key< K > | c4::yml::key (K &k) |
| Key< fmt::const_base64_wrapper > | c4::yml::key (fmt::const_base64_wrapper w) |
| Key< fmt::base64_wrapper > | c4::yml::key (fmt::base64_wrapper w) |
| template<class T > | |
| void | c4::yml::write (NodeRef *n, T const &v) |
| template<class T > | |
| bool | c4::yml::read (ConstNodeRef const &n, T *v) |
| template<class T > | |
| bool | c4::yml::read (NodeRef const &n, T *v) |
| template<class T > | |
| bool | c4::yml::readkey (ConstNodeRef const &n, T *v) |
| template<class T > | |
| bool | c4::yml::readkey (NodeRef const &n, T *v) |
| template<class T > | |
| auto | c4::yml::read (Tree const *tree, id_type id, T *v) -> typename std::enable_if<!std::is_arithmetic< T >::value, bool >::type |
| convert the val of a scalar node to a particular non-arithmetic non-float type, by forwarding its val to from_chars<T>(). More... | |
| template<class T > | |
| auto | c4::yml::readkey (Tree const *tree, id_type id, T *v) -> typename std::enable_if<!std::is_arithmetic< T >::value, bool >::type |
| convert the key of a node to a particular non-arithmetic non-float type, by forwarding its key to from_chars<T>(). More... | |
| template<class T > | |
| size_t | c4::yml::to_chars_float (substr buf, T val) |
| encode a floating point value to a string. More... | |
| template<class T > | |
| bool | c4::yml::from_chars_float (csubstr buf, T *val) |
| decode a floating point from string. More... | |
|
inline |
Definition at line 43 of file node.hpp.
Referenced by c4::yml::NodeInit::_add_flags(), c4::yml::NodeInit::_check(), c4::yml::NodeInit::clear(), c4::yml::Tree::find_sibling(), c4::yml::Tree::has_child(), c4::yml::Tree::has_sibling(), c4::yml::Tree::operator[](), c4::yml::read(), sample::read(), c4::yml::readkey(), c4::yml::NodeRef::remove_child(), sample::sample_base64(), sample::sample_iterate_trees(), sample::sample_parse_in_arena(), sample::sample_parse_in_place(), sample::sample_parse_reuse_tree(), sample::sample_quick_overview(), c4::yml::NodeRef::set_key(), c4::yml::Tree::set_key(), c4::yml::write(), and sample::write().
|
inline |
|
inline |
|
inline |
Definition at line 1632 of file node.hpp.
References c4::yml::NodeRef::set_val_serialized().
Referenced by c4::yml::NodeRef::operator<<().
|
inline |
Definition at line 1638 of file node.hpp.
Referenced by c4::yml::detail::RoNodeMethods< Impl, ConstImpl >::operator>>(), and c4::yml::read().
|
inline |
Definition at line 1644 of file node.hpp.
References c4::yml::read().
|
inline |
Definition at line 1650 of file node.hpp.
Referenced by c4::yml::detail::RoNodeMethods< Impl, ConstImpl >::operator>>(), and c4::yml::readkey().
|
inline |
Definition at line 1656 of file node.hpp.
References c4::yml::readkey().
|
inline |
convert the val of a scalar node to a particular non-arithmetic non-float type, by forwarding its val to from_chars<T>().
convert the val of a scalar node to a particular arithmetic integral non-float type, by forwarding its val to from_chars<T>().
The full string is used.
The full string is used.
Definition at line 1363 of file tree.hpp.
References sample::from_chars(), and c4::yml::VALNIL.
|
inline |
convert the key of a node to a particular non-arithmetic non-float type, by forwarding its key to from_chars<T>().
convert the key of a node to a particular arithmetic integral non-float type, by forwarding its val to from_chars<T>().
The full string is used.
The full string is used.
Definition at line 1374 of file tree.hpp.
References sample::from_chars(), and c4::yml::KEYNIL.
| size_t c4::yml::to_chars_float | ( | substr | buf, |
| T | val | ||
| ) |
encode a floating point value to a string.
Definition at line 1438 of file tree.hpp.
References c4::yml::extra::ievt::to_chars().
Referenced by c4::yml::Tree::to_arena().
| bool c4::yml::from_chars_float | ( | csubstr | buf, |
| T * | val | ||
| ) |
decode a floating point from string.
Accepts special values: .nan, .inf, -.inf
Definition at line 1456 of file tree.hpp.
References sample::from_chars().
Referenced by c4::yml::read(), and c4::yml::readkey().