YAML document tree
Document tree
-
class document_tree
Public Functions
-
document_tree()
-
document_tree(const document_tree&) = delete
-
document_tree(document_tree &&other)
-
~document_tree()
-
void load(std::string_view s)
-
size_t get_document_count() const
-
const_node get_document_root(size_t index) const
-
std::string dump_yaml() const
-
std::string dump_json() const
-
document_tree()
-
class const_node
Public Functions
-
const_node() = delete
-
const_node(const const_node &other)
-
const_node(const_node &&rhs)
-
~const_node()
-
node_t type() const
-
size_t child_count() const
-
std::vector<const_node> keys() const
-
const_node key(size_t index) const
-
const_node child(size_t index) const
-
const_node child(const const_node &key) const
-
const_node parent() const
-
std::string_view string_value() const
-
double numeric_value() const
-
const_node &operator=(const const_node &other)
-
uintptr_t identity() const
Friends
- friend class ::orcus::yaml::document_tree
-
const_node() = delete
Exceptions
-
class document_error : public orcus::general_error