SUMO - Simulation of Urban MObility
|
#include <StringBijection.h>
Data Structures | |
struct | Entry |
Public Member Functions | |
T | get (const std::string &str) const |
const std::string & | getString (const T key) const |
std::vector< std::string > | getStrings () const |
bool | has (const T key) const |
bool | hasString (const std::string &str) const |
void | insert (const std::string str, const T key) |
size_t | size () const |
StringBijection () | |
StringBijection (Entry entries[], T terminatorKey) | |
Private Attributes | |
std::map< std::string, T > | myString2T |
std::map< T, std::string > | myT2String |
Template container for maintaining a bijection between strings and something else
Definition at line 47 of file StringBijection.h.
|
inline |
Definition at line 64 of file StringBijection.h.
|
inline |
Definition at line 67 of file StringBijection.h.
|
inline |
Definition at line 81 of file StringBijection.h.
Referenced by NIImporter_SUMO::addEdge(), NIXMLNodesHandler::addNode(), NBNodeCont::analyzeCluster(), SUMOVehicleParserHelper::beginVTypeParsing(), NIVisumTL::build(), NGNode::buildNBNode(), NBNetBuilder::compute(), SUMOSAXAttributesImpl_Xerces::getEdgeFunc(), PHEMCEP::GetEmission(), NWWriter_OpenDrive::getID(), SUMOSAXAttributesImpl_Xerces::getNodeType(), NBNodeCont::guessTLs(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NLHandler::initTrafficLightLogic(), NIImporter_OpenStreetMap::insertNodeChecking(), NIImporter_OpenDrive::loadNetwork(), NLHandler::parseLinkDir(), NLHandler::parseLinkState(), NIXMLNodesHandler::processTrafficLightDefinitions(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), and NIXMLEdgesHandler::tryGetLaneSpread().
|
inline |
Definition at line 90 of file StringBijection.h.
Referenced by toString< LaneChangeModel >(), toString< LaneSpreadFunction >(), toString< LinkDirection >(), toString< LinkState >(), toString< SumoXMLAttr >(), toString< SumoXMLEdgeFunc >(), toString< SumoXMLNodeType >(), toString< SumoXMLTag >(), toString< TrafficLightType >(), and NBSign::writeAsPOI().
|
inline |
Definition at line 115 of file StringBijection.h.
|
inline |
Definition at line 105 of file StringBijection.h.
Referenced by StringBijection< TrafficLightType >::getString().
|
inline |
Definition at line 100 of file StringBijection.h.
Referenced by StringBijection< TrafficLightType >::get(), PHEMCEP::GetEmission(), and NWWriter_OpenDrive::getID().
|
inline |
Definition at line 75 of file StringBijection.h.
Referenced by NWWriter_OpenDrive::getID(), PHEMCEP::PHEMCEP(), and StringBijection< TrafficLightType >::StringBijection().
|
inline |
Definition at line 110 of file StringBijection.h.
Referenced by SUMOSAXAttributesImpl_Binary::getEdgeFunc(), and SUMOSAXAttributesImpl_Binary::getNodeType().
|
private |
Definition at line 126 of file StringBijection.h.
Referenced by StringBijection< TrafficLightType >::get(), StringBijection< TrafficLightType >::hasString(), StringBijection< TrafficLightType >::insert(), and StringBijection< TrafficLightType >::size().
|
private |
Definition at line 127 of file StringBijection.h.
Referenced by StringBijection< TrafficLightType >::getString(), StringBijection< TrafficLightType >::getStrings(), StringBijection< TrafficLightType >::has(), and StringBijection< TrafficLightType >::insert().