Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NIVissimVehTypeClass Class Reference

#include <NIVissimVehTypeClass.h>

Collaboration diagram for NIVissimVehTypeClass:
[legend]

Public Member Functions

double 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, const std::string &name, const RGBColor &color, std::vector< int > &types)
static bool dictionary (int id, NIVissimVehTypeClass *o)
static NIVissimVehTypeClassdictionary (int name)

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

Detailed Description

Definition at line 35 of file NIVissimVehTypeClass.h.

Member Typedef Documentation

◆ DictType

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

Definition at line 52 of file NIVissimVehTypeClass.h.

Constructor & Destructor Documentation

◆ NIVissimVehTypeClass()

NIVissimVehTypeClass::NIVissimVehTypeClass ( int id,
const std::string & name,
const RGBColor & color,
std::vector< int > & types )

Definition at line 31 of file NIVissimVehTypeClass.cpp.

References myColor, myID, myName, and myTypes.

Referenced by dictionary(), and dictionary().

Here is the caller graph for this function:

◆ ~NIVissimVehTypeClass()

NIVissimVehTypeClass::~NIVissimVehTypeClass ( )

Definition at line 37 of file NIVissimVehTypeClass.cpp.

Member Function Documentation

◆ clearDict()

void NIVissimVehTypeClass::clearDict ( )
static

Definition at line 77 of file NIVissimVehTypeClass.cpp.

References myDict.

Referenced by NIImporter_Vissim::~NIImporter_Vissim().

Here is the caller graph for this function:

◆ dictionary() [1/3]

bool NIVissimVehTypeClass::dictionary ( int id,
const std::string & name,
const RGBColor & color,
std::vector< int > & types )
static

Definition at line 41 of file NIVissimVehTypeClass.cpp.

References dictionary(), and NIVissimVehTypeClass().

Referenced by dictionary(), NIImporter_Vissim::NIVissimXMLHandler_Fahrzeugklassendefinition::myEndElement(), and NIVissimSingleTypeParser_Fahrzeugklassendefinition::parse().

Here is the caller graph for this function:

◆ dictionary() [2/3]

bool NIVissimVehTypeClass::dictionary ( int id,
NIVissimVehTypeClass * o )
static

Definition at line 56 of file NIVissimVehTypeClass.cpp.

References myDict, and NIVissimVehTypeClass().

◆ dictionary() [3/3]

NIVissimVehTypeClass * NIVissimVehTypeClass::dictionary ( int name)
static

Definition at line 67 of file NIVissimVehTypeClass.cpp.

References myDict.

◆ meanSpeed()

double NIVissimVehTypeClass::meanSpeed ( ) const

Field Documentation

◆ myColor

RGBColor NIVissimVehTypeClass::myColor
private

Definition at line 49 of file NIVissimVehTypeClass.h.

Referenced by NIVissimVehTypeClass().

◆ myDict

NIVissimVehTypeClass::DictType NIVissimVehTypeClass::myDict
staticprivate

Definition at line 53 of file NIVissimVehTypeClass.h.

Referenced by clearDict(), dictionary(), and dictionary().

◆ myID

int NIVissimVehTypeClass::myID
private

Definition at line 47 of file NIVissimVehTypeClass.h.

Referenced by NIVissimVehTypeClass().

◆ myName

std::string NIVissimVehTypeClass::myName
private

Definition at line 48 of file NIVissimVehTypeClass.h.

Referenced by NIVissimVehTypeClass().

◆ myTypes

std::vector<int> NIVissimVehTypeClass::myTypes
private

Definition at line 50 of file NIVissimVehTypeClass.h.

Referenced by NIVissimVehTypeClass().


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