Eclipse SUMO - Simulation of Urban MObility
NIVissimVehicleType Class Reference

#include <NIVissimVehicleType.h>

Collaboration diagram for NIVissimVehicleType:
[legend]

Public Member Functions

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

Static Public Member Functions

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

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 34 of file NIVissimVehicleType.h.

Member Typedef Documentation

◆ DictType

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

Definition at line 50 of file NIVissimVehicleType.h.

Constructor & Destructor Documentation

◆ NIVissimVehicleType()

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

Definition at line 27 of file NIVissimVehicleType.cpp.

Referenced by dictionary().

Here is the caller graph for this function:

◆ ~NIVissimVehicleType()

NIVissimVehicleType::~NIVissimVehicleType ( )

Definition at line 33 of file NIVissimVehicleType.cpp.

Member Function Documentation

◆ clearDict()

void NIVissimVehicleType::clearDict ( )
static

Definition at line 70 of file NIVissimVehicleType.cpp.

References myDict.

Referenced by NIImporter_Vissim::~NIImporter_Vissim().

Here is the caller graph for this function:

◆ dictionary() [1/3]

NIVissimVehicleType * NIVissimVehicleType::dictionary ( int  id)
static

Definition at line 61 of file NIVissimVehicleType.cpp.

References myDict.

◆ dictionary() [2/3]

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

Definition at line 38 of file NIVissimVehicleType.cpp.

References NIVissimVehicleType().

Referenced by NIVissimSingleTypeParser_Fahrzeugtypdefinition::parse().

Here is the caller graph for this function:

◆ dictionary() [3/3]

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

Definition at line 50 of file NIVissimVehicleType.cpp.

References myDict.

Field Documentation

◆ myCategory

std::string NIVissimVehicleType::myCategory
private

Definition at line 47 of file NIVissimVehicleType.h.

◆ myColor

RGBColor NIVissimVehicleType::myColor
private

Definition at line 48 of file NIVissimVehicleType.h.

◆ myDict

NIVissimVehicleType::DictType NIVissimVehicleType::myDict
staticprivate

Definition at line 51 of file NIVissimVehicleType.h.

Referenced by clearDict(), and dictionary().

◆ myName

std::string NIVissimVehicleType::myName
private

Definition at line 46 of file NIVissimVehicleType.h.


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