MCPcopy Create free account
hub / github.com/PDAL/PDAL / parent

Method parent

plugins/e57/libE57Format/src/Node.cpp:415–418  ·  view source on GitHub ↗

! @brief Return parent of node, or self if a root node. @details Nodes are organized into trees (acyclic graphs) with a distinguished node (the "top-most" node) called the root node. A parent-child relationship is established between nodes to form a tree. Nodes can have zero or one parent. Nodes with zero parents are called root nodes. In the API, if a node has zero parents it is represented by

Source from the content-addressed store, hash-verified

413@see Node::isRoot, Node::isAttached, CompressedVectorNode::CompressedVectorNode, Node::elementName
414*/
415Node Node::parent() const
416{
417 return Node( impl_->parent() );
418}
419
420/*!
421@brief Get absolute pathname of node.

Callers 1

checkInvariantMethod · 0.45

Calls 1

NodeClass · 0.50

Tested by

no test coverage detected