Tree::GetPreviousLevelNode
Defined in:
Returns the previous node in a traversal of a tree that is not a subnode of the current node.
TSTree.hPrototype
type *GetPreviousLevelNode(const Tree<type> *node) const;
Parameters
node |
A pointer to the current node in the traversal. |
Description
During iteration of the nodes in a tree, the GetPreviousLevelNode function can be used to jump to the previous subnode on the same level as the node parameter, skipping its entire subtree. Node selection after skipping the subtree behaves exactly like that used by the Tree::GetPreviousTreeNode function.
See Also
