Equalizer
1.7.3
|
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. More... | |
virtual | ~ElementVisitor () |
Destruct the visitor. More... | |
virtual VisitorResult | visitPre (T *element) |
Visit an element on the down traversal. More... | |
virtual VisitorResult | visitPost (T *element) |
Visit an element on the up traversal. More... | |
virtual VisitorResult | visitPre (const T *) |
Visit an element on a const down traversal. More... | |
virtual VisitorResult | visitPost (const T *) |
Visit an element on a const up traversal. More... | |
A visitor to traverse non-leaf elements and their children in a tree.
Definition at line 31 of file admin/types.h.
|
inline |
Construct a new visitor.
Definition at line 35 of file elementVisitor.h.
|
inlinevirtual |
Destruct the visitor.
Definition at line 38 of file elementVisitor.h.
|
inlinevirtual |
Visit an element on the up traversal.
Definition at line 45 of file elementVisitor.h.
|
inlinevirtual |
Visit an element on a const up traversal.
Definition at line 53 of file elementVisitor.h.
|
inlinevirtual |
Visit an element on the down traversal.
Definition at line 41 of file elementVisitor.h.
|
inlinevirtual |
Visit an element on a const down traversal.
Definition at line 49 of file elementVisitor.h.