15 WriteValue<uint32_t>(OutFile, this->
DatabaseId);
16 WriteValue<VehicleLightStateType>(OutFile, this->
State);
22 ReadValue<VehicleLightStateType>(InFile, this->
State);
34 Vehicles.push_back(Vehicle);
44 WriteValue<uint32_t>(OutFile, Total);
47 Total = Vehicles.size();
48 WriteValue<uint16_t>(OutFile, Total);
62 ReadValue<uint16_t>(InFile, Total);
63 for (uint16_t i = 0; i < Total; ++i)
65 LightVehicle.
Read(InFile);
void Write(std::ostream &OutFile)
void Add(const CarlaRecorderLightVehicle &InObj)
void Write(std::ostream &OutFile)
VehicleLightStateType State
const std::vector< CarlaRecorderLightVehicle > & GetLightVehicles()
void Read(std::istream &InFile)
void Read(std::istream &InFile)