#include <DeleteVisitor.h>


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. | |
Definition at line 49 of file DeleteVisitor.h.
| sofa::simulation::tree::DeleteVisitor::DeleteVisitor | ( | ) | [inline] |
Definition at line 52 of file DeleteVisitor.h.
| 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.
1.5.7.1