Function docref

Summary

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

(1) NodeRef docref(size_t i)

(2) NodeRef const docref(size_t i) const

Function overload

Synopsis

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

NodeRef docref(size_t i)

Description

get the i-th document of the stream

Note
@i is NOT the node id, but the doc position within the stream

Source

Line 547 in src/c4/yml/tree.hpp.

Synopsis

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

NodeRef const docref(size_t i) const

Description

get the i-th document of the stream

Note
@i is NOT the node id, but the doc position within the stream

Source

Line 550 in src/c4/yml/tree.hpp.






Add Discussion as Guest

Log in