Function root_id

Summary

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

(1) size_t root_id()

(2) size_t root_id() const

Function overload

Synopsis

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

size_t root_id()

Description

Get the id of the root node.

Mentioned in

Source

Lines 504-504 in src/c4/yml/tree.hpp.

size_t root_id()       { if(m_cap == 0) { reserve(16); } RYML_ASSERT(m_cap > 0 && m_size > 0); return 0; }

Synopsis

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

size_t root_id() const

Description

Get the id of the root node.

Mentioned in

Source

Lines 506-506 in src/c4/yml/tree.hpp.

size_t root_id() const {                                 RYML_ASSERT(m_cap > 0 && m_size > 0); return 0; }





Add Discussion as Guest

Log in