C4 Engine
C4 Engine API Documentation

Tree::MoveSubtree

Defined in:  TSTree.h
Moves all subnodes of an object to another object.
Prototype

virtual void MoveSubtree(Tree<type> *super);

Parameters
super The object to which the subnodes are moved. This cannot be the same object for which the MoveSubtree function is called.
Description
The MoveSubtree function removes all of the subnodes of an object and then transfers all of them as subnodes of the object specified by the super parameter.
See Also

Tree::AppendSubnode

Tree::RemoveSubnode

Tree::PurgeSubtree