|
| void | sample_lightning_overview () |
| | lightning overview of most common features
|
| void | sample_quick_overview () |
| | quick overview of most common features
|
| void | sample_substr () |
| | about ryml's string views (from c4core)
|
| void | sample_parse_file () |
| | ready-to-go example of parsing a file from disk
|
| void | sample_parse_in_place () |
| | parse a mutable YAML source buffer
|
| void | sample_parse_in_arena () |
| | parse a read-only YAML source buffer
|
| void | sample_parse_reuse_tree () |
| | parse into an existing tree, maybe into a node
|
| void | sample_parse_reuse_parser () |
| | reuse an existing parser
|
| void | sample_parse_reuse_tree_and_parser () |
| | how to reuse existing trees and parsers
|
| void | sample_parse_style () |
| | shows how rapidyaml retains the style of parsed YAML
|
| void | sample_iterate_tree () |
| | visit individual nodes and iterate through trees
|
| void | sample_location_tracking () |
| | track node YAML source locations in the parsed tree
|
| void | sample_create_tree () |
| | programatically create trees
|
| void | sample_create_tree_style () |
| | set node styles while creating trees
|
| void | sample_tree_arena () |
| | interact with the tree's serialization arena
|
| void | sample_fundamental_types () |
| | serialize/deserialize fundamental types
|
| void | sample_empty_null_values () |
| | serialize/deserialize/query empty or null values
|
| void | sample_formatting () |
| | control formatting when serializing/deserializing
|
| void | sample_base64 () |
| | encode/decode base64
|
| void | sample_serialize_basic () |
| | serialize/deserialize fundamental types
|
| void | sample_user_scalar_types () |
| | serialize/deserialize scalar (leaf/scalar) types
|
| void | sample_user_container_types () |
| | serialize/deserialize container (map or seq) types
|
| void | sample_std_types () |
| | serialize/deserialize STL containers
|
| void | sample_deserialize_error () |
| | shows error on deserializing nested nodes
|
| void | sample_float_precision () |
| | control precision of serialized floats
|
| void | sample_emit_to_container () |
| | emit to memory, eg a string or vector-like container
|
| void | sample_emit_to_stream () |
| | emit to a stream, eg std::ostream
|
| void | sample_emit_to_file () |
| | emit to a FILE*
|
| void | sample_emit_nested_node () |
| | pick a nested node as the root when emitting
|
| void | sample_json () |
| | JSON parsing and emitting.
|
| void | sample_style () |
| | query/set node styles
|
| void | sample_style_flow_formatting () |
| | control formatting of flow containers
|
| void | sample_style_flow_ml_indent () |
| | control indentation of FLOW_ML1 and FLOW_MLN containers
|
| void | sample_anchors_and_aliases () |
| | deal with YAML anchors and aliases
|
| void | sample_anchors_and_aliases_create () |
| | how to create YAML anchors and aliases
|
| void | sample_tags () |
| | deal with YAML type tags
|
| void | sample_tag_directives () |
| | deal with YAML tag namespace directives
|
| void | sample_docs () |
| | deal with YAML docs
|
| void | sample_error_handler () |
| | set custom error handlers
|
| void | sample_error_basic () |
| | handler for basic errors, and obtain a full error message with basic context
|
| void | sample_error_parse () |
| | handler for parse errors, and obtain a full error message with parse context
|
| void | sample_error_visit () |
| | handler for visit errors, and obtain a full error message with visit context
|
| void | sample_error_visit_location () |
| | obtaining the YAML location from a visit error
|
| void | sample_global_allocator () |
| | set a global allocator for ryml
|
| void | sample_per_tree_allocator () |
| | set per-tree allocators
|
| void | sample_static_trees () |
| | how to use static trees in ryml
|
| int | main (int argc, const char *argv[]) |
| bool | report_check (int line, const char *predicate, bool result) |
| | used by CHECK()
|
| void | ensure_callbacks () |
| | set up default callbacks when ryml does not provide them (ie when RYML_NO_DEFAULT_CALLBACKS is defined)
|
| ryml::Callbacks | default_callbacks () |
| | set up a bare-bones implementation of the callbacks
|
| template<class T> |
| size_t | to_chars (ryml::substr buf, vec2< T > v) |
| template<class T> |
| size_t | to_chars (ryml::substr buf, vec3< T > v) |
| template<class T> |
| size_t | to_chars (ryml::substr buf, vec4< T > v) |
| template<class T> |
| size_t | to_chars (ryml::substr buf, emit_only_vec2< T > v) |
| template<class T> |
| size_t | to_chars (ryml::substr buf, emit_only_vec3< T > v) |
| template<class T> |
| size_t | to_chars (ryml::substr buf, emit_only_vec4< T > v) |
| template<class T> |
| bool | from_chars (ryml::csubstr buf, vec2< T > *v) |
| template<class T> |
| bool | from_chars (ryml::csubstr buf, vec3< T > *v) |
| template<class T> |
| bool | from_chars (ryml::csubstr buf, vec4< T > *v) |
| template<class T> |
| bool | from_chars (ryml::csubstr buf, parse_only_vec2< T > *v) |
| template<class T> |
| bool | from_chars (ryml::csubstr buf, parse_only_vec3< T > *v) |
| template<class T> |
| bool | from_chars (ryml::csubstr buf, parse_only_vec4< T > *v) |
| 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 | handle_args (int argc, const char *argv[]) |
| int | report_checks () |