CarElementVisitor Struct Reference

#include <CarElementVisitor.h>

Inherited by CarElementDoVisitor, and CarElementPrintVisitor.

List of all members.

Public Member Functions

virtual void visit (Wheel &wheel) const =0
virtual void visit (Engine &engine) const =0
virtual void visit (Body &body) const =0
virtual void visitCar (Car &car) const =0
virtual ~CarElementVisitor ()


Detailed Description

Definition at line 7 of file CarElementVisitor.h.


Constructor & Destructor Documentation

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

Definition at line 14 of file CarElementVisitor.h.


Member Function Documentation

virtual void CarElementVisitor::visit ( Body body  )  const [pure virtual]

virtual void CarElementVisitor::visit ( Engine engine  )  const [pure virtual]

virtual void CarElementVisitor::visit ( Wheel wheel  )  const [pure virtual]

Implemented in CarElementDoVisitor, and CarElementPrintVisitor.

Referenced by Wheel::accept(), Engine::accept(), and Body::accept().

Here is the caller graph for this function:

virtual void CarElementVisitor::visitCar ( Car car  )  const [pure virtual]


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

Generated on Fri Mar 20 12:42:47 2009 for Visitor Design Pattern by  doxygen 1.5.8