00001 #ifndef CARDVEHICLERECORD_H 00002 #define CARDVEHICLERECORD_H 00003 00004 00005 //This file was AUTO-GENERATED. Make changes in the generator script(./generate.py) 00006 //the derived classes or in the data definition 00007 00008 00009 00010 #include "../DataTypes/VehicleRegistration.h" 00011 #include "../DataTypes/Timespan.h" 00012 #include "DataType.h" 00013 00014 class CardVehicleRecord : public DataType { 00015 Q_DECLARE_TR_FUNCTIONS(CardVehicleRecord) 00016 public: 00017 00018 int vehicleOdometerBegin; 00019 int vehicleOdometerEnd; 00020 Timespan vehicleUse; 00021 VehicleRegistration registration; 00022 int vuDataBlockCounter; 00023 00024 CardVehicleRecord(const DataPointer& filewalker); 00026 QString className() const; 00027 int size() const; 00028 static const int staticSize = 31; 00029 QString toString() const; 00030 virtual void printOn(Reporter& report) const; 00031 }; 00032 00033 00034 #endif