sofa::simulation::tree::DeleteVisitor Class Reference

#include <DeleteVisitor.h>

Inheritance diagram for sofa::simulation::tree::DeleteVisitor:

Inheritance graph
[legend]
Collaboration diagram for sofa::simulation::tree::DeleteVisitor:

Collaboration graph
[legend]

Public Member Functions

 DeleteVisitor ()
virtual Result processNodeTopDown (GNode *node)
 Callback method called when decending to a new node. Recursion will stop if this method returns RESULT_PRUNE.
virtual void processNodeBottomUp (GNode *node)
 Callback method called after child node have been processed and before going back to the parent node.

Detailed Description

Definition at line 49 of file DeleteVisitor.h.


Constructor & Destructor Documentation

sofa::simulation::tree::DeleteVisitor::DeleteVisitor (  )  [inline]

Definition at line 52 of file DeleteVisitor.h.


Member Function Documentation

void sofa::simulation::tree::DeleteVisitor::processNodeBottomUp ( GNode *   )  [virtual]

Callback method called after child node have been processed and before going back to the parent node.

Reimplemented from sofa::simulation::tree::GNodeVisitor.

Definition at line 67 of file DeleteVisitor.cpp.

References sofa::simulation::tree::GNode::child, sofa::simulation::Node::object, and sofa::simulation::tree::GNode::removeChild().

simulation::Visitor::Result sofa::simulation::tree::DeleteVisitor::processNodeTopDown ( GNode *   )  [virtual]

Callback method called when decending to a new node. Recursion will stop if this method returns RESULT_PRUNE.

Reimplemented from sofa::simulation::tree::GNodeVisitor.

Definition at line 62 of file DeleteVisitor.cpp.

References sofa::simulation::Visitor::RESULT_CONTINUE.


The documentation for this class was generated from the following files:

Generated on Sun Nov 23 04:24:38 2008 for Sofa by  doxygen 1.5.7.1