34 #ifndef GRAPH_TREE_TVISITOR_H
35 #define GRAPH_TREE_TVISITOR_H
113 #if __cplusplus >= 201103L
127 #if __cplusplus >= 201103L
129 void visitTree(
Tree* tr )
override final
134 visitTree(
static_cast<const Tree*
>(tr));
Abstract base class for visiting constant Trees.
virtual ~ConstTreeVisitor()
ConstTreeVisitor()
The programmer should not call the constructor of an abstract base class.
void visitAttributedObject(carto::AttributedObject *ao)
Entry point of the visitor – DO NOT OVERRIDE.
void visitTree(Tree *tr)
Entry point of the visitor – DO NOT OVERRIDE.
virtual void visitAttributedObject(const carto::AttributedObject *ao)
virtual void visitTree(const Tree *tr)
Abstract base class for visiting Trees.
virtual void visitAttributedObject(carto::AttributedObject *ao)
virtual void visitTree(Tree *tree)