Tree::GetFirstSubnode
Defined in:
Returns the first subnode of an object.
TSTree.h
Prototype
type *GetFirstSubnode(void) const;
Description
The GetFirstSubnode
function returns the first direct subnode of an object is a tree. If the object has no subnodes, then the return value is nullptr
.All of the direct subnodes of an object are stored in a single linked list. To go from one subnode to the next, starting with the first, the
Tree::GetNextSubnode
function should be called.
See Also