SUMO - Simulation of Urban MObility
NIVissimVehicleType Class Reference

#include <NIVissimVehicleType.h>

Public Member Functions

 NIVissimVehicleType (int id, const std::string &name, const std::string &category, SUMOReal length, const RGBColor &color, SUMOReal amax, SUMOReal dmax)
 ~NIVissimVehicleType ()

Static Public Member Functions

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

Private Types

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

Private Attributes

SUMOReal myAMax
std::string myCategory
RGBColor myColor
SUMOReal myDMax
int myID
SUMOReal myLength
std::string myName

Static Private Attributes

static DictType myDict

Detailed Description

Definition at line 44 of file NIVissimVehicleType.h.


Member Typedef Documentation

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

Definition at line 65 of file NIVissimVehicleType.h.


Constructor & Destructor Documentation

NIVissimVehicleType::NIVissimVehicleType ( int  id,
const std::string &  name,
const std::string &  category,
SUMOReal  length,
const RGBColor color,
SUMOReal  amax,
SUMOReal  dmax 
)

Definition at line 40 of file NIVissimVehicleType.cpp.

Referenced by dictionary().


Member Function Documentation

void NIVissimVehicleType::clearDict ( ) [static]

Definition at line 86 of file NIVissimVehicleType.cpp.

References myDict.

Referenced by NIImporter_Vissim::~NIImporter_Vissim().

bool NIVissimVehicleType::dictionary ( int  id,
const std::string &  name,
const std::string &  category,
SUMOReal  length,
const RGBColor color,
SUMOReal  amax,
SUMOReal  dmax 
) [static]

Definition at line 66 of file NIVissimVehicleType.cpp.

References myDict.

Definition at line 77 of file NIVissimVehicleType.cpp.

References myDict.


Field Documentation

Definition at line 63 of file NIVissimVehicleType.h.

std::string NIVissimVehicleType::myCategory [private]

Definition at line 60 of file NIVissimVehicleType.h.

Definition at line 62 of file NIVissimVehicleType.h.

Definition at line 66 of file NIVissimVehicleType.h.

Referenced by clearDict(), and dictionary().

Definition at line 63 of file NIVissimVehicleType.h.

Definition at line 58 of file NIVissimVehicleType.h.

Definition at line 61 of file NIVissimVehicleType.h.

std::string NIVissimVehicleType::myName [private]

Definition at line 59 of file NIVissimVehicleType.h.


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines