Function siblings

Summary

#include <src/c4/yml/node.hpp>

(1) children_view siblings()

(2) const_children_view siblings() const

Function overload

Synopsis

#include <src/c4/yml/node.hpp>

children_view siblings()

Description

No description yet.

Mentioned in

Source

Lines 761-761 in src/c4/yml/node.hpp.

children_view siblings()       { if(is_root()) { return       children_view(end(), end()); } else { size_t p = get()->m_parent; return       children_view(iterator(m_tree, m_tree->get(p)->m_first_child), iterator(m_tree, NONE)); } }

Synopsis

#include <src/c4/yml/node.hpp>

const_children_view siblings() const

Description

No description yet.

Mentioned in

Source

Lines 762-762 in src/c4/yml/node.hpp.

const_children_view siblings() const { if(is_root()) { return const_children_view(end(), end()); } else { size_t p = get()->m_parent; return const_children_view(const_iterator(m_tree, m_tree->get(p)->m_first_child), const_iterator(m_tree, NONE)); } }





Add Discussion as Guest

Log in