graph
5.0.5
Graph: generic attributed relational graphs
|
Abstract base class for visiting constant Trees. More...
#include <graph/tree/tvisitor.h>
Public Member Functions | |
void | visitAttributedObject (carto::AttributedObject *ao) |
Entry point of the visitor – DO NOT OVERRIDE. More... | |
void | visitTree (Tree *tr) |
Entry point of the visitor – DO NOT OVERRIDE. More... | |
Constructors, destructor | |
virtual | ~ConstTreeVisitor () |
Visitor pattern | |
virtual void | visitAttributedObject (const carto::AttributedObject *ao) |
virtual void | visitTree (const Tree *tr) |
Protected Member Functions | |
Constructors | |
ConstTreeVisitor () | |
The programmer should not call the constructor of an abstract base class. More... | |
Protected Member Functions inherited from TreeVisitor | |
TreeVisitor () | |
virtual | ~TreeVisitor () |
Abstract base class for visiting constant Trees.
The Vistor pattern can be found in:
Definition at line 93 of file tvisitor.h.
|
virtual |
|
inlineprotected |
The programmer should not call the constructor of an abstract base class.
Definition at line 153 of file tvisitor.h.
|
virtual |
|
inlinevirtual |
Entry point of the visitor – DO NOT OVERRIDE.
This method forwards to visitAttributedObject(const carto::AttributedObject*) (note the const
argument). All children of ConstTreeVisitor shall override that const
function, not this one.
Reimplemented from TreeVisitor.
Definition at line 117 of file tvisitor.h.
References TreeVisitor::visitAttributedObject(), and TreeVisitor::visitTree().
|
virtual |
Reimplemented in TreeWriter.
|
inlinevirtual |
Entry point of the visitor – DO NOT OVERRIDE.
This method forwards to visitTree(const carto::Tree*) (note the const
argument). All children of ConstTreeVisitor shall override that const
function, not this one.
Reimplemented from TreeVisitor.
Definition at line 131 of file tvisitor.h.
References TreeVisitor::visitTree().