#include <CarElementDoVisitor.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 4 of file CarElementDoVisitor.h.
void CarElementDoVisitor::visit | ( | Body & | body | ) | const [inline, virtual] |
void CarElementDoVisitor::visit | ( | Engine & | engine | ) | const [inline, virtual] |
void CarElementDoVisitor::visit | ( | Wheel & | wheel | ) | const [inline, virtual] |
Implements CarElementVisitor.
Definition at line 8 of file CarElementDoVisitor.h.
References Wheel::getName().
void CarElementDoVisitor::visitCar | ( | Car & | car | ) | const [inline, virtual] |
Implements CarElementVisitor.
Definition at line 20 of file CarElementDoVisitor.h.
References Car::getElements().
Referenced by main().