39 const std::string& name,
41 : myName(name), myVehicleTypes(vehicleTypes) {}
54 const std::string& name,
67 DictType::iterator i =
myDict.find(
id);
78 DictType::iterator i =
myDict.find(
id);
88 for (DictType::iterator i =
myDict.begin(); i !=
myDict.end(); i++) {
109 speed += (*i)->getSpeed();
std::vector< NIVissimVehicleClass * > NIVissimVehicleClassVector
static bool dictionary(int id, const std::string &name, const NIVissimVehicleClassVector &vehicleTypes)
NIVissimTrafficDescription(const std::string &name, const NIVissimVehicleClassVector &vehicleTypes)
std::map< int, NIVissimTrafficDescription * > DictType
NIVissimVehicleClassVector myVehicleTypes
~NIVissimTrafficDescription()
static double meanSpeed(int id)