#include <CarElementVisitor.h>
Inherited by CarElementDoVisitor, and CarElementPrintVisitor.
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 () |
Definition at line 7 of file CarElementVisitor.h.
virtual CarElementVisitor::~CarElementVisitor | ( | ) | [inline, virtual] |
Definition at line 14 of file CarElementVisitor.h.
virtual void CarElementVisitor::visit | ( | Body & | body | ) | const [pure virtual] |
Implemented in CarElementDoVisitor, and CarElementPrintVisitor.
virtual void CarElementVisitor::visit | ( | Engine & | engine | ) | const [pure virtual] |
Implemented in CarElementDoVisitor, and CarElementPrintVisitor.
virtual void CarElementVisitor::visit | ( | Wheel & | wheel | ) | const [pure virtual] |
Implemented in CarElementDoVisitor, and CarElementPrintVisitor.
Referenced by Wheel::accept(), Engine::accept(), and Body::accept().
virtual void CarElementVisitor::visitCar | ( | Car & | car | ) | const [pure virtual] |
Implemented in CarElementDoVisitor, and CarElementPrintVisitor.