model_server/api/src/GenericTree.cxx
// FUNCTION:
//
//     GenericTree::Remove
//
// DESCRIPTION:
//
//     Unlink this node and destroy its descendents.
//     You must call delete after invoking this method
//     to de-allocate the node's contents.
:Remove



Unlink this node and destroy its descendents.
You must call delete after invoking this method
to de-allocate the node's contents.
: Remove Unlink this node and destroy its descendents . You must call delete after invoking this method to de - allocate the node ' s contents .
void GenericTree::Remove()
{
  DetachTree();
  RemoveAllChildren();
}
void GenericTree :: Remove ( ) { DetachTree ( ) ; RemoveAllChildren ( ) ; }
FUNCTION:
GenericTree::Remove
FUNCTION : GenericTree :: Remove