|
SUMO - Simulation of Urban MObility
|
#include <NIVissimVehTypeClass.h>
Public Member Functions | |
| SUMOReal | meanSpeed () const |
| NIVissimVehTypeClass (int id, const std::string &name, const RGBColor &color, std::vector< int > &types) | |
| ~NIVissimVehTypeClass () | |
Static Public Member Functions | |
| static void | clearDict () |
| static bool | dictionary (int id, NIVissimVehTypeClass *o) |
| static NIVissimVehTypeClass * | dictionary (int name) |
| static bool | dictionary (int id, const std::string &name, const RGBColor &color, std::vector< int > &types) |
Private Types | |
| typedef std::map< int, NIVissimVehTypeClass * > | DictType |
Private Attributes | |
| RGBColor | myColor |
| int | myID |
| std::string | myName |
| std::vector< int > | myTypes |
Static Private Attributes | |
| static DictType | myDict |
Definition at line 44 of file NIVissimVehTypeClass.h.
typedef std::map<int, NIVissimVehTypeClass*> NIVissimVehTypeClass::DictType [private] |
Definition at line 61 of file NIVissimVehTypeClass.h.
| NIVissimVehTypeClass::NIVissimVehTypeClass | ( | int | id, |
| const std::string & | name, | ||
| const RGBColor & | color, | ||
| std::vector< int > & | types | ||
| ) |
Definition at line 43 of file NIVissimVehTypeClass.cpp.
Referenced by dictionary().
| NIVissimVehTypeClass::~NIVissimVehTypeClass | ( | ) |
Definition at line 49 of file NIVissimVehTypeClass.cpp.
| void NIVissimVehTypeClass::clearDict | ( | ) | [static] |
Definition at line 89 of file NIVissimVehTypeClass.cpp.
References myDict.
Referenced by NIImporter_Vissim::~NIImporter_Vissim().
| bool NIVissimVehTypeClass::dictionary | ( | int | id, |
| const std::string & | name, | ||
| const RGBColor & | color, | ||
| std::vector< int > & | types | ||
| ) | [static] |
Definition at line 53 of file NIVissimVehTypeClass.cpp.
References NIVissimVehTypeClass().
Referenced by NIVissimSingleTypeParser_Fahrzeugklassendefinition::parse().
| bool NIVissimVehTypeClass::dictionary | ( | int | id, |
| NIVissimVehTypeClass * | o | ||
| ) | [static] |
Definition at line 68 of file NIVissimVehTypeClass.cpp.
References myDict.
| NIVissimVehTypeClass * NIVissimVehTypeClass::dictionary | ( | int | name | ) | [static] |
Definition at line 79 of file NIVissimVehTypeClass.cpp.
References myDict.
| SUMOReal NIVissimVehTypeClass::meanSpeed | ( | ) | const |
RGBColor NIVissimVehTypeClass::myColor [private] |
Definition at line 58 of file NIVissimVehTypeClass.h.
NIVissimVehTypeClass::DictType NIVissimVehTypeClass::myDict [static, private] |
Definition at line 62 of file NIVissimVehTypeClass.h.
Referenced by clearDict(), and dictionary().
int NIVissimVehTypeClass::myID [private] |
Definition at line 56 of file NIVissimVehTypeClass.h.
std::string NIVissimVehTypeClass::myName [private] |
Definition at line 57 of file NIVissimVehTypeClass.h.
std::vector<int> NIVissimVehTypeClass::myTypes [private] |
Definition at line 59 of file NIVissimVehTypeClass.h.