Equalizer
1.4.1
|
A visitor to traverse non-leaf elements and their children in a tree. More...
#include <elementVisitor.h>
Public Member Functions | |
ElementVisitor () | |
Construct a new visitor. | |
virtual | ~ElementVisitor () |
Destruct the visitor. | |
virtual VisitorResult | visitPre (T *element) |
Visit an element on the down traversal. | |
virtual VisitorResult | visitPost (T *element) |
Visit an element on the up traversal. | |
virtual VisitorResult | visitPre (const T *) |
Visit an element on a const down traversal. | |
virtual VisitorResult | visitPost (const T *) |
Visit an element on a const up traversal. |
A visitor to traverse non-leaf elements and their children in a tree.
Definition at line 29 of file elementVisitor.h.
eq::fabric::ElementVisitor< T, C >::ElementVisitor | ( | ) | [inline] |
Construct a new visitor.
Definition at line 33 of file elementVisitor.h.
virtual eq::fabric::ElementVisitor< T, C >::~ElementVisitor | ( | ) | [inline, virtual] |
Destruct the visitor.
Definition at line 36 of file elementVisitor.h.
virtual VisitorResult eq::fabric::ElementVisitor< T, C >::visitPost | ( | T * | element | ) | [inline, virtual] |
Visit an element on the up traversal.
Definition at line 43 of file elementVisitor.h.
References eq::fabric::ElementVisitor< T, C >::visitPost().
Referenced by eq::fabric::ElementVisitor< T, C >::visitPost().
virtual VisitorResult eq::fabric::ElementVisitor< T, C >::visitPost | ( | const T * | ) | [inline, virtual] |
Visit an element on a const up traversal.
Definition at line 51 of file elementVisitor.h.
References eq::fabric::TRAVERSE_CONTINUE.
virtual VisitorResult eq::fabric::ElementVisitor< T, C >::visitPre | ( | T * | element | ) | [inline, virtual] |
Visit an element on the down traversal.
Definition at line 39 of file elementVisitor.h.
References eq::fabric::ElementVisitor< T, C >::visitPre().
Referenced by eq::fabric::ElementVisitor< T, C >::visitPre().
virtual VisitorResult eq::fabric::ElementVisitor< T, C >::visitPre | ( | const T * | ) | [inline, virtual] |
Visit an element on a const down traversal.
Definition at line 47 of file elementVisitor.h.
References eq::fabric::TRAVERSE_CONTINUE.