Function prepend_child

Summary

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

(1) NodeRef prepend_child()

(2) NodeRef prepend_child(NodeInit const &i)

Function overload

Synopsis

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

NodeRef prepend_child()

Description

No description yet.

Source

Lines 527-532 in src/c4/yml/node.hpp.

inline NodeRef prepend_child()
{
    _C4RV();
    NodeRef r(m_tree, m_tree->insert_child(m_id, NONE));
    return r;
}

Synopsis

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

NodeRef prepend_child(NodeInit const &i)

Description

No description yet.

Source

Lines 534-540 in src/c4/yml/node.hpp.

inline NodeRef prepend_child(NodeInit const& i)
{
    _C4RV();
    NodeRef r(m_tree, m_tree->insert_child(m_id, NONE));
    r._apply(i);
    return r;
}





Add Discussion as Guest

Log in