Tree::GetRootNode
Defined in: C4Tree.h
Returns the root node of the tree containing an object.
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
Tree::GetSuperNode
Tree::Successor
Tree::GetFirstSubnode
Tree::GetNextNode
|