rapidyaml 0.15.2
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
doxy_common.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  c4
namespace  c4::yml

Macros

#define RYML_USE_ASSERT
 define this macro with a boolean value to enable/disable assertions to check preconditions and assumptions throughout the codebase; this causes a slowdown of the code, and larger code size.
#define RYML_NO_DEFAULT_CALLBACKS
 (Undefined by default) Define this macro to disable ryml's default implementation of the callback functions.
#define RYML_DEFAULT_CALLBACK_USES_EXCEPTIONS
 (Undefined by default) When this macro is defined (and RYML_NO_DEFAULT_CALLBACKS is not defined), the default error handler will throw exceptions.
#define RYML_NOEXCEPT
 Conditionally expands to noexcept when RYML_USE_ASSERT is 0 and is empty otherwise.

Macro Definition Documentation

◆ RYML_USE_ASSERT

#define RYML_USE_ASSERT

define this macro with a boolean value to enable/disable assertions to check preconditions and assumptions throughout the codebase; this causes a slowdown of the code, and larger code size.

By default, this macro is defined unless NDEBUG is defined (see C4_USE_ASSERT); as a result, by default this macro is truthy only in debug builds.

Definition at line 263 of file doxy_common.hpp.

◆ RYML_NO_DEFAULT_CALLBACKS

#define RYML_NO_DEFAULT_CALLBACKS

(Undefined by default) Define this macro to disable ryml's default implementation of the callback functions.

See Callbacks for errors and allocation.

Definition at line 267 of file doxy_common.hpp.

Referenced by c4::yml::Callbacks::Callbacks().

◆ RYML_DEFAULT_CALLBACK_USES_EXCEPTIONS

#define RYML_DEFAULT_CALLBACK_USES_EXCEPTIONS

(Undefined by default) When this macro is defined (and RYML_NO_DEFAULT_CALLBACKS is not defined), the default error handler will throw exceptions.

See Error handling.

Definition at line 272 of file doxy_common.hpp.

◆ RYML_NOEXCEPT

#define RYML_NOEXCEPT

Conditionally expands to noexcept when RYML_USE_ASSERT is 0 and is empty otherwise.

The user is unable to override this macro.

Definition at line 276 of file doxy_common.hpp.

Referenced by c4::yml::LineContents::LineContents(), c4::yml::TagCache::add(), c4::yml::ConstNodeRef::ancestor_doc(), c4::yml::NodeRef::ancestor_doc(), c4::yml::NodeRef::ancestor_doc(), c4::yml::ConstNodeRef::begin(), c4::yml::NodeRef::begin(), c4::yml::NodeRef::begin(), c4::yml::ConstNodeRef::cbegin(), c4::yml::NodeRef::cbegin(), c4::yml::ConstNodeRef::cchildren(), c4::yml::NodeRef::cchildren(), c4::yml::ConstNodeRef::cend(), c4::yml::NodeRef::cend(), c4::yml::ConstNodeRef::child(), c4::yml::NodeRef::child(), c4::yml::NodeRef::child(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::child_pos(), c4::yml::ConstNodeRef::child_r(), c4::yml::NodeRef::child_r(), c4::yml::NodeRef::child_r(), c4::yml::ConstNodeRef::children(), c4::yml::NodeRef::children(), c4::yml::NodeRef::children(), c4::yml::ConstNodeRef::csiblings(), c4::yml::NodeRef::csiblings(), c4::yml::LineContents::current_col(), c4::yml::LineContents::current_col(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::depth_asc(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::depth_desc(), c4::yml::ConstNodeRef::doc(), c4::yml::NodeRef::doc(), c4::yml::NodeRef::doc(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::empty(), c4::yml::ConstNodeRef::end(), c4::yml::NodeRef::end(), c4::yml::NodeRef::end(), c4::yml::ConstNodeRef::find_child(), c4::yml::NodeRef::find_child(), c4::yml::NodeRef::find_child(), c4::yml::ConstNodeRef::find_child_r(), c4::yml::NodeRef::find_child_r(), c4::yml::NodeRef::find_child_r(), c4::yml::ConstNodeRef::find_sibling(), c4::yml::NodeRef::find_sibling(), c4::yml::NodeRef::find_sibling(), c4::yml::ConstNodeRef::find_sibling_r(), c4::yml::NodeRef::find_sibling_r(), c4::yml::NodeRef::find_sibling_r(), c4::yml::ConstNodeRef::first_child(), c4::yml::NodeRef::first_child(), c4::yml::NodeRef::first_child(), c4::yml::ConstNodeRef::first_sibling(), c4::yml::NodeRef::first_sibling(), c4::yml::NodeRef::first_sibling(), c4::yml::from_chars_float(), c4::yml::from_chars_integral(), c4::yml::ConstNodeRef::get(), c4::yml::NodeRef::get(), c4::yml::NodeRef::get(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::has_anchor(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::has_child(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::has_child(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::has_child(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::has_children(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::has_flow_space(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::has_key(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::has_key_anchor(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::has_key_tag(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::has_other_siblings(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::has_parent(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::has_sibling(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::has_sibling(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::has_sibling(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::has_val(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::has_val_anchor(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::has_val_tag(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_ancestor(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_block(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_container(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_container_styled(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_doc(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_flow(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_flow_ml(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_flow_ml1(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_flow_mln(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_flow_mlx(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_flow_sl(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_key_dquo(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_key_folded(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_key_literal(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_key_plain(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_key_quoted(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_key_ref(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_key_squo(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_key_styled(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_keyval(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_map(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_quoted(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_ref(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_root(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_seq(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_stream(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_val(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_val_dquo(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_val_folded(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_val_literal(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_val_plain(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_val_quoted(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_val_ref(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_val_squo(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::is_val_styled(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::key(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::key_anchor(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::key_is_null(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::key_ref(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::key_style(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::key_tag(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::keysc(), c4::yml::ConstNodeRef::last_child(), c4::yml::NodeRef::last_child(), c4::yml::NodeRef::last_child(), c4::yml::ConstNodeRef::last_sibling(), c4::yml::NodeRef::last_sibling(), c4::yml::NodeRef::last_sibling(), c4::yml::ConstNodeRef::next_sibling(), c4::yml::NodeRef::next_sibling(), c4::yml::NodeRef::next_sibling(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::num_children(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::num_other_siblings(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::num_siblings(), c4::yml::ConstNodeRef::operator!=(), c4::yml::ConstNodeRef::operator==(), c4::yml::ConstNodeRef::operator[](), c4::yml::ConstNodeRef::operator[](), c4::yml::NodeRef::operator[](), c4::yml::NodeRef::operator[](), c4::yml::NodeRef::operator[](), c4::yml::NodeRef::operator[](), c4::yml::ConstNodeRef::parent(), c4::yml::NodeRef::parent(), c4::yml::NodeRef::parent(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::parent_is_map(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::parent_is_seq(), c4::yml::ConstNodeRef::prev_sibling(), c4::yml::NodeRef::prev_sibling(), c4::yml::NodeRef::prev_sibling(), c4::yml::LineContents::reset_with_next_line(), c4::yml::Tree::set_key(), c4::yml::Tree::set_key(), c4::yml::Tree::set_key_serialized(), c4::yml::Tree::set_key_serialized(), c4::yml::Tree::set_map(), c4::yml::Tree::set_map(), c4::yml::NodeScalar::set_ref_maybe_replacing_scalar(), c4::yml::Tree::set_seq(), c4::yml::Tree::set_seq(), c4::yml::Tree::set_serialized(), c4::yml::Tree::set_serialized(), c4::yml::Tree::set_val(), c4::yml::Tree::set_val(), c4::yml::ConstNodeRef::sibling(), c4::yml::NodeRef::sibling(), c4::yml::NodeRef::sibling(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::sibling_pos(), c4::yml::ConstNodeRef::sibling_r(), c4::yml::NodeRef::sibling_r(), c4::yml::NodeRef::sibling_r(), c4::yml::ConstNodeRef::siblings(), c4::yml::NodeRef::siblings(), c4::yml::NodeRef::siblings(), c4::yml::to_chars_float(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::type(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::type_has_all(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::type_has_any(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::type_has_none(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::val(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::val_anchor(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::val_is_null(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::val_ref(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::val_style(), c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::val_tag(), and c4::yml::detail::RoNodeMethods< NodeRef, ConstNodeRef >::valsc().