CarElementDoVisitor Class Reference

#include <CarElementDoVisitor.h>

Inherits CarElementVisitor.

Collaboration diagram for CarElementDoVisitor:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void visit (Wheel &wheel) const
void visit (Engine &engine) const
void visit (Body &body) const
void visitCar (Car &car) const


Detailed Description

Definition at line 4 of file CarElementDoVisitor.h.


Member Function Documentation

void CarElementDoVisitor::visit ( Body body  )  const [inline, virtual]

Implements CarElementVisitor.

Definition at line 16 of file CarElementDoVisitor.h.

void CarElementDoVisitor::visit ( Engine engine  )  const [inline, virtual]

Implements CarElementVisitor.

Definition at line 12 of file CarElementDoVisitor.h.

void CarElementDoVisitor::visit ( Wheel wheel  )  const [inline, virtual]

Implements CarElementVisitor.

Definition at line 8 of file CarElementDoVisitor.h.

References Wheel::getName().

Here is the call graph for this function:

void CarElementDoVisitor::visitCar ( Car car  )  const [inline, virtual]

Implements CarElementVisitor.

Definition at line 20 of file CarElementDoVisitor.h.

References Car::getElements().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:


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

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