CarElementPrintVisitor Class Reference

#include <CarElementPrintVisitor.h>

Inherits CarElementVisitor.

Collaboration diagram for CarElementPrintVisitor:

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 7 of file CarElementPrintVisitor.h.


Member Function Documentation

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

Implements CarElementVisitor.

Definition at line 18 of file CarElementPrintVisitor.h.

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

Implements CarElementVisitor.

Definition at line 14 of file CarElementPrintVisitor.h.

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

Implements CarElementVisitor.

Definition at line 10 of file CarElementPrintVisitor.h.

References Wheel::getName().

Here is the call graph for this function:

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

Implements CarElementVisitor.

Definition at line 22 of file CarElementPrintVisitor.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