Graph: Generic attributed relational graphs

TreeVisitor Class Reference

Abstract base class for visiting Trees. More...

#include <graph/tree/tvisitor.h>

Inheritance diagram for TreeVisitor:

Public Member Functions

virtual ~TreeVisitor ()
Visitor pattern
virtual void visitAttributedObject (carto::AttributedObject *ao)
virtual void visitTree (Tree *tree)

Protected Member Functions

 TreeVisitor ()

Detailed Description

Abstract base class for visiting Trees.

The Visitor pattern can be found in:

  • Erich Gamma, Richard Helm, Ralph Johnson, John M. Vlissides, Design patterns, pp. 331-344. Addison Wesley, 1995.

Definition at line 57 of file tvisitor.h.

Constructor & Destructor Documentation

virtual TreeVisitor::~TreeVisitor ( )
TreeVisitor::TreeVisitor ( )

Definition at line 78 of file tvisitor.h.

Member Function Documentation

virtual void TreeVisitor::visitAttributedObject ( carto::AttributedObject ao)
virtual void TreeVisitor::visitTree ( Tree tree)

The documentation for this class was generated from the following file: