proj home

Files   Classes   Functions   Hierarchy  

Element Class Reference

Base of data tree in Visitor pattern. More...

#include <element.h>

Inheritance diagram for Element:

List of all members.

Public Member Functions

virtual void accept (const Visitor &v)=0
 Forward this elements type to Visitor.
virtual ~Element ()


Detailed Description

Base of data tree in Visitor pattern.

Definition at line 9 of file element.h.


Constructor & Destructor Documentation

virtual Element::~Element (  )  [inline, virtual]

Definition at line 16 of file element.h.

00016 {};


Member Function Documentation

virtual void Element::accept ( const Visitor v  )  [pure virtual]

Forward this elements type to Visitor.

Implemented in ElementA, and ElementB.

Referenced by simtemplatedvirtualfunc::test01(), and simtemplatedvirtualfunc::test02().


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

Generated on Fri Mar 4 00:49:56 2011 for Chelton Evans Source by  doxygen 1.5.8