Eclipse SUMO - Simulation of Urban MObility
|
#include <DistributionCont.h>
Static Public Member Functions | |
static void | clear () |
delete all stored distributions | |
static Distribution * | dictionary (const std::string &type, const std::string &id) |
retrieves the distribution described by a type and a name from the container | |
static bool | dictionary (const std::string &type, const std::string &id, Distribution *d) |
Adds a distribution of the given type and name to the container. | |
Private Types | |
typedef std::map< std::string, Distribution * > | DistDict |
Definition of a map from distribution ids to distributions. | |
typedef std::map< std::string, DistDict > | TypedDistDict |
Definition of a map from distribution types to distribution ids to distributions. | |
Static Private Attributes | |
static TypedDistDict | myDict |
Map from distribution types to distribution ids to distributions. | |
A container for distributions of different type.
Definition at line 35 of file DistributionCont.h.
|
private |
Definition of a map from distribution ids to distributions.
Definition at line 50 of file DistributionCont.h.
|
private |
Definition of a map from distribution types to distribution ids to distributions.
Definition at line 53 of file DistributionCont.h.
|
static |
delete all stored distributions
Definition at line 70 of file DistributionCont.cpp.
References myDict.
Referenced by main().
|
static |
retrieves the distribution described by a type and a name from the container
Definition at line 54 of file DistributionCont.cpp.
References myDict.
|
static |
Adds a distribution of the given type and name to the container.
Definition at line 35 of file DistributionCont.cpp.
References myDict.
Referenced by NIVissimEdge::getRealSpeed(), NIVissimDistrictConnection::getRealSpeed(), NIImporter_Vissim::NIVissimXMLHandler_Geschwindigkeitsverteilungsdefinition::myEndElement(), NIVissimSingleTypeParser_Geschwindigkeitsverteilungsdefinition::parse(), NIVissimSingleTypeParser_Laengenverteilungsdefinition::parse(), and NIVissimSingleTypeParser_Zeitenverteilungsdefinition::parse().
|
staticprivate |
Map from distribution types to distribution ids to distributions.
Definition at line 56 of file DistributionCont.h.
Referenced by clear(), dictionary(), and dictionary().