As discussed in Section
above, it is sometimes
desirable to remove nodes from a tree before continuing with
analysis. This is done by the deleteSubtree() member function,
discussed in Section
. One may also delete all of a
node's children of a certain type by calling its member function deleteChildrenOfType(). deleteChildrenOfType() For
example,
evPtr->deleteChildrenOfType(erpType);
will delete all the erpNodes that have as parent the eventNode pointed at by evPtr. The space used by the erpNodes is made available to be reused by FARFALLA.