18 #ifndef EQFABRIC_LEAFVISITOR_H
19 #define EQFABRIC_LEAFVISITOR_H
21 #include <eq/fabric/types.h>
38 virtual VisitorResult
visit( T* leaf )
39 {
return visit( static_cast< const T* >( leaf )); }
42 virtual VisitorResult
visit(
const T* )
43 {
return TRAVERSE_CONTINUE; }
47 #endif // EQFABRIC_LEAFVISITOR_H
LeafVisitor()
Constructs a new leaf visitor.
A visitor to traverse leaf nodes of a graph.
virtual ~LeafVisitor()
Destruct the leaf visitor.
The Equalizer client library.
virtual VisitorResult visit(const T *)
Visit a leaf node during a const traversal.
virtual VisitorResult visit(T *leaf)
Visit a leaf node.