Tree::GetRootNode
Defined in:
Returns the root node of the tree containing an object.
TSTree.h
Prototype
type *GetRootNode(void);
const type *GetRootNode(void) const;
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