#include <CarElementPrintVisitor.h>
Inherits CarElementVisitor.

Public Member Functions | |
| void | visit (Wheel &wheel) const |
| void | visit (Engine &engine) const |
| void | visit (Body &body) const |
| void | visitCar (Car &car) const |
Definition at line 7 of file CarElementPrintVisitor.h.
| void CarElementPrintVisitor::visit | ( | Body & | body | ) | const [inline, virtual] |
| void CarElementPrintVisitor::visit | ( | Engine & | engine | ) | const [inline, virtual] |
| void CarElementPrintVisitor::visit | ( | Wheel & | wheel | ) | const [inline, virtual] |
Implements CarElementVisitor.
Definition at line 10 of file CarElementPrintVisitor.h.
References Wheel::getName().

| void CarElementPrintVisitor::visitCar | ( | Car & | car | ) | const [inline, virtual] |
Implements CarElementVisitor.
Definition at line 22 of file CarElementPrintVisitor.h.
References Car::getElements().
Referenced by main().

