SUMO - Simulation of Urban MObility
NIVissimVehicleType Class Reference

#include <NIVissimVehicleType.h>

Collaboration diagram for NIVissimVehicleType:
Collaboration graph

Public Member Functions

 NIVissimVehicleType (const std::string &name, const std::string &category, const RGBColor &color)
 
 ~NIVissimVehicleType ()
 

Static Public Member Functions

static void clearDict ()
 
static bool dictionary (int id, const std::string &name, const std::string &category, const RGBColor &color)
 
static bool dictionary (int id, NIVissimVehicleType *o)
 
static NIVissimVehicleTypedictionary (int id)
 

Private Types

typedef std::map< int, NIVissimVehicleType * > DictType
 

Private Attributes

std::string myCategory
 
RGBColor myColor
 
std::string myName
 

Static Private Attributes

static DictType myDict
 

Detailed Description

Definition at line 44 of file NIVissimVehicleType.h.

Member Typedef Documentation

§ DictType

typedef std::map<int, NIVissimVehicleType*> NIVissimVehicleType::DictType
private

Definition at line 60 of file NIVissimVehicleType.h.

Constructor & Destructor Documentation

§ NIVissimVehicleType()

NIVissimVehicleType::NIVissimVehicleType ( const std::string &  name,
const std::string &  category,
const RGBColor color 
)

Definition at line 40 of file NIVissimVehicleType.cpp.

Referenced by dictionary().

§ ~NIVissimVehicleType()

NIVissimVehicleType::~NIVissimVehicleType ( )

Definition at line 46 of file NIVissimVehicleType.cpp.

Member Function Documentation

§ clearDict()

void NIVissimVehicleType::clearDict ( )
static

Definition at line 83 of file NIVissimVehicleType.cpp.

References myDict.

Referenced by NIImporter_Vissim::~NIImporter_Vissim().

§ dictionary() [1/3]

bool NIVissimVehicleType::dictionary ( int  id,
const std::string &  name,
const std::string &  category,
const RGBColor color 
)
static

§ dictionary() [2/3]

bool NIVissimVehicleType::dictionary ( int  id,
NIVissimVehicleType o 
)
static

Definition at line 63 of file NIVissimVehicleType.cpp.

References myDict.

§ dictionary() [3/3]

NIVissimVehicleType * NIVissimVehicleType::dictionary ( int  id)
static

Definition at line 74 of file NIVissimVehicleType.cpp.

References myDict.

Field Documentation

§ myCategory

std::string NIVissimVehicleType::myCategory
private

Definition at line 57 of file NIVissimVehicleType.h.

§ myColor

RGBColor NIVissimVehicleType::myColor
private

Definition at line 58 of file NIVissimVehicleType.h.

§ myDict

NIVissimVehicleType::DictType NIVissimVehicleType::myDict
staticprivate

Definition at line 61 of file NIVissimVehicleType.h.

Referenced by clearDict(), and dictionary().

§ myName

std::string NIVissimVehicleType::myName
private

Definition at line 56 of file NIVissimVehicleType.h.


The documentation for this class was generated from the following files: