C4 Engine
C4 Engine API Documentation

Tree::GetRootNode

Defined in:  TSTree.h
Returns the root node of the tree containing an object.
Prototype

type *GetRootNode(void);

const type *GetRootNode(voidconst;

Description
The GetRootNode function returns the root node of the tree containing an object. If the object is the root node of a tree, then the return value is a pointer to itself.
See Also

Tree::GetSuperNode

Tree::Successor

Tree::GetFirstSubnode

Tree::GetNextTreeNode