00001 // interface to one part 00002 struct CarElement 00003 { 00004 virtual void accept(const CarElementVisitor& visitor) = 0; 00005 virtual ~CarElement() {} 00006 }; 00007