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

class for maintaining associations between enums and xml-strings More...

#include <SUMOXMLDefinitions.h>

Collaboration diagram for SUMOXMLDefinitions:
[legend]

Static Public Member Functions

Helper functions for ID-string manipulations
static bool isValidNetID (const std::string &value)
 whether the given string is a valid id for a network element
 
static bool isValidVehicleID (const std::string &value)
 whether the given string is a valid id for a vehicle or flow
 
static bool isValidTypeID (const std::string &value)
 whether the given string is a valid id for an edge or vehicle type
 
static bool isValidAdditionalID (const std::string &value)
 whether the given string is a valid id for an additional object
 
static bool isValidDetectorID (const std::string &value)
 whether the given string is a valid id for an detector
 
static bool isValidAttribute (const std::string &value)
 whether the given string is a valid attribute for a certain key (for example, a name)
 
static bool isValidFilename (const std::string &value)
 whether the given string is a valid attribute for a filename (for example, a name)
 
static bool isValidListOfNetIDs (const std::string &value)
 whether the given string is a valid list of id for a network (empty aren't allowed)
 
static bool isValidListOfTypeID (const std::string &value)
 whether the given string is a valid list of ids for an edge or vehicle type (empty aren't allowed)
 
static bool isValidListOfTypeID (const std::vector< std::string > &typeIDs)
 whether the given list of strings is a valid list of ids for an edge or vehicle type (empty aren't allowed)
 
static bool isValidParameterKey (const std::string &value)
 whether the given string is a valid key for a parameter
 
static std::string makeValidID (const std::string &value)
 transform the given string into a valid id for a network element (or any other id)
 
static std::string getJunctionIDFromInternalEdge (const std::string internalEdge)
 return the junction id when given an edge of type internal, crossing or WalkingArea
 
static std::string getEdgeIDFromLane (const std::string laneID)
 return edge id when given the lane ID
 
static int getIndexFromLane (const std::string laneID)
 return lane index when given the lane ID
 

Static Public Attributes

static const std::string ALLOWED_TLS_LINKSTATES
 all allowed characters for phase state
 
static SequentialStringBijection::Entry attrs []
 The names of SUMO-XML attributes (for passing to GenericSAXHandler)
 
static SequentialStringBijection Attrs
 The names of SUMO-XML attributes for use in netbuild.
 
static SequentialStringBijection::Entry tags []
 The names of SUMO-XML elements (for passing to GenericSAXHandler)
 
static SequentialStringBijection Tags
 The names of SUMO-XML elements for use in netbuild.
 
Special values of SUMO-XML attributes
static StringBijection< SumoXMLNodeTypeNodeTypes
 node types
 
static StringBijection< SumoXMLEdgeFuncEdgeFunctions
 edge functions
 
static StringBijection< LaneSpreadFunctionLaneSpreadFunctions
 lane spread functions
 
static StringBijection< ParkingTypeParkingTypes
 parking types
 
static StringBijection< RightOfWayRightOfWayValues
 righ of way algorithms
 
static StringBijection< FringeTypeFringeTypeValues
 fringe types
 
static StringBijection< PersonModePersonModeValues
 person modes
 
static StringBijection< LinkStateLinkStates
 link states
 
static StringBijection< LinkDirectionLinkDirections
 link directions
 
static StringBijection< TrafficLightTypeTrafficLightTypes
 traffic light types
 
static StringBijection< TrafficLightLayoutTrafficLightLayouts
 traffic light layouts
 
static StringBijection< InsertionCheckInsertionChecks
 traffic light layouts
 
static StringBijection< LaneChangeModelLaneChangeModels
 lane change models
 
static StringBijection< SumoXMLTagCarFollowModels
 car following models
 
static StringBijection< LaneChangeActionLaneChangeActions
 lane change actions
 
static StringBijection< TrainTypeTrainTypes
 train types
 
static StringBijection< POIIconPOIIcons
 POI icon values.
 

Static Private Attributes

static const char AllowedTLS_linkStatesInitializer []
 all allowed characters for phase state
 
static StringBijection< SumoXMLNodeType >::Entry sumoNodeTypeValues []
 containers for the different SUMOXMLDefinitions
 
static StringBijection< SumoXMLEdgeFunc >::Entry sumoEdgeFuncValues []
 edge function values
 
static StringBijection< LaneSpreadFunction >::Entry laneSpreadFunctionValues []
 lane spread function values
 
static StringBijection< ParkingType >::Entry parkingTypeValues []
 lane spread function values
 
static StringBijection< RightOfWay >::Entry rightOfWayValuesInitializer []
 lane spread function values
 
static StringBijection< FringeType >::Entry fringeTypeValuesInitializer []
 lane spread function values
 
static StringBijection< PersonMode >::Entry personModeValuesInitializer []
 person mode values
 
static StringBijection< LinkState >::Entry linkStateValues []
 link state values
 
static StringBijection< LinkDirection >::Entry linkDirectionValues []
 link direction values
 
static StringBijection< TrafficLightType >::Entry trafficLightTypesValues []
 traffic light types values
 
static StringBijection< TrafficLightLayout >::Entry trafficLightLayoutValues []
 traffic light layout values
 
static StringBijection< InsertionCheck >::Entry insertionCheckValues []
 traffic light layout values
 
static StringBijection< LaneChangeModel >::Entry laneChangeModelValues []
 lane change model values
 
static StringBijection< SumoXMLTag >::Entry carFollowModelValues []
 car follwing model values
 
static StringBijection< LaneChangeAction >::Entry laneChangeActionValues []
 lane change action values
 
static StringBijection< TrainType >::Entry trainTypeValues []
 train type values
 
static StringBijection< POIIcon >::Entry POIIconValues []
 POI icon values.
 

Detailed Description

class for maintaining associations between enums and xml-strings

Definition at line 2245 of file SUMOXMLDefinitions.h.

Member Function Documentation

◆ getEdgeIDFromLane()

◆ getIndexFromLane()

int SUMOXMLDefinitions::getIndexFromLane ( const std::string  laneID)
static

return lane index when given the lane ID

Definition at line 1727 of file SUMOXMLDefinitions.cpp.

References StringUtils::toInt().

Referenced by RONet::getLane(), LIBSUMO_NAMESPACE::Vehicle::getStopParameter(), MSBaseVehicle::interpretOppositeStop(), MSDevice_FCDReplay::move(), RODFDetectorHandler::myStartElement(), MSDevice_FCDReplay::FCDHandler::updateTrafficObjects(), and RODFDetector::writeEmitterDefinition().

Here is the caller graph for this function:

◆ getJunctionIDFromInternalEdge()

std::string SUMOXMLDefinitions::getJunctionIDFromInternalEdge ( const std::string  internalEdge)
static

return the junction id when given an edge of type internal, crossing or WalkingArea

Definition at line 1715 of file SUMOXMLDefinitions.cpp.

Referenced by NIImporter_SUMO::_loadNetwork(), NIImporter_SUMO::addConnection(), NIImporter_SUMO::addEdge(), NIImporter_SUMO::addLane(), NLHandler::beginEdgeParsing(), and RONetHandler::parseEdge().

Here is the caller graph for this function:

◆ isValidAdditionalID()

bool SUMOXMLDefinitions::isValidAdditionalID ( const std::string &  value)
static

whether the given string is a valid id for an additional object

Definition at line 1750 of file SUMOXMLDefinitions.cpp.

Referenced by GNEAdditional::isValidAdditionalID(), and GNEAdditional::isValidAdditionalID().

Here is the caller graph for this function:

◆ isValidAttribute()

bool SUMOXMLDefinitions::isValidAttribute ( const std::string &  value)
static

◆ isValidDetectorID()

bool SUMOXMLDefinitions::isValidDetectorID ( const std::string &  value)
static

whether the given string is a valid id for an detector

Definition at line 1755 of file SUMOXMLDefinitions.cpp.

Referenced by CommonHandler::checkValidDetectorID(), GNEAdditional::isValidDetectorID(), and GNEAdditional::isValidDetectorID().

Here is the caller graph for this function:

◆ isValidFilename()

bool SUMOXMLDefinitions::isValidFilename ( const std::string &  value)
static

whether the given string is a valid attribute for a filename (for example, a name)

Definition at line 1767 of file SUMOXMLDefinitions.cpp.

Referenced by CommonHandler::checkFileName(), GNEDetector::isDetectorValid(), GNECalibrator::isValid(), GNEMultiEntryExitDetector::isValid(), GNERouteProbe::isValid(), GNEMeanData::isValid(), GNEVType::isValid(), GNEOptionsDialogElements::InputFilename::onCmdSetOption(), and GNENetgenerateDialog::onCmdSetOutput().

Here is the caller graph for this function:

◆ isValidListOfNetIDs()

bool SUMOXMLDefinitions::isValidListOfNetIDs ( const std::string &  value)
static

whether the given string is a valid list of id for a network (empty aren't allowed)

Definition at line 1773 of file SUMOXMLDefinitions.cpp.

References StringTokenizer::getVector(), and isValidNetID().

Referenced by GNEDetector::isDetectorValid(), and GNEMultiEntryExitDetector::isValid().

Here is the caller graph for this function:

◆ isValidListOfTypeID() [1/2]

bool SUMOXMLDefinitions::isValidListOfTypeID ( const std::string &  value)
static

whether the given string is a valid list of ids for an edge or vehicle type (empty aren't allowed)

Definition at line 1790 of file SUMOXMLDefinitions.cpp.

References isValidListOfTypeID().

Referenced by GNEDetector::isDetectorValid(), GNECalibrator::isValid(), GNEMultiEntryExitDetector::isValid(), GNERerouter::isValid(), GNERouteProbe::isValid(), GNETAZ::isValid(), GNEVariableSpeedSign::isValid(), and isValidListOfTypeID().

Here is the caller graph for this function:

◆ isValidListOfTypeID() [2/2]

bool SUMOXMLDefinitions::isValidListOfTypeID ( const std::vector< std::string > &  typeIDs)
static

whether the given list of strings is a valid list of ids for an edge or vehicle type (empty aren't allowed)

Definition at line 1796 of file SUMOXMLDefinitions.cpp.

References isValidTypeID().

◆ isValidNetID()

◆ isValidParameterKey()

◆ isValidTypeID()

bool SUMOXMLDefinitions::isValidTypeID ( const std::string &  value)
static

whether the given string is a valid id for an edge or vehicle type

Definition at line 1745 of file SUMOXMLDefinitions.cpp.

Referenced by ShapeHandler::addPOI(), ShapeHandler::addPoly(), CommonHandler::checkListOfVehicleTypes(), and isValidListOfTypeID().

Here is the caller graph for this function:

◆ isValidVehicleID()

bool SUMOXMLDefinitions::isValidVehicleID ( const std::string &  value)
static

whether the given string is a valid id for a vehicle or flow

Definition at line 1739 of file SUMOXMLDefinitions.cpp.

Referenced by CommonHandler::checkValidAdditionalID(), CommonHandler::checkValidDemandElementID(), GNEStop::isValid(), GNEVehicle::isValid(), GNEDemandElement::isValidDemandElementID(), GNEDemandElement::isValidDemandElementID(), SUMOVehicleParserHelper::parseFlowAttributes(), and SUMOVehicleParserHelper::parseID().

Here is the caller graph for this function:

◆ makeValidID()

std::string SUMOXMLDefinitions::makeValidID ( const std::string &  value)
static

transform the given string into a valid id for a network element (or any other id)

Definition at line 1823 of file SUMOXMLDefinitions.cpp.

Referenced by NIImporter_MATSim::NodesHandler::myStartElement(), and NIImporter_MATSim::EdgesHandler::myStartElement().

Here is the caller graph for this function:

Field Documentation

◆ ALLOWED_TLS_LINKSTATES

const std::string SUMOXMLDefinitions::ALLOWED_TLS_LINKSTATES
static

all allowed characters for phase state

Definition at line 2367 of file SUMOXMLDefinitions.h.

Referenced by NBTrafficLightLogic::addStep(), and MSTrafficLightLogic::init().

◆ AllowedTLS_linkStatesInitializer

const char SUMOXMLDefinitions::AllowedTLS_linkStatesInitializer
staticprivate
Initial value:
= {
}
@ LINKSTATE_TL_REDYELLOW
The link has red light (must brake) but indicates upcoming green.
@ LINKSTATE_STOP
This is an uncontrolled, minor link, has to stop.
@ LINKSTATE_TL_YELLOW_MAJOR
The link has yellow light, may pass.
@ LINKSTATE_TL_GREEN_MAJOR
The link has green light, may pass.
@ LINKSTATE_TL_OFF_BLINKING
The link is controlled by a tls which is off and blinks, has to brake.
@ LINKSTATE_TL_YELLOW_MINOR
The link has yellow light, has to brake anyway.
@ LINKSTATE_TL_RED
The link has red light (must brake)
@ LINKSTATE_TL_GREEN_MINOR
The link has green light, has to brake.
@ LINKSTATE_TL_OFF_NOSIGNAL
The link is controlled by a tls which is off, not blinking, may pass.

all allowed characters for phase state

Definition at line 1515 of file SUMOXMLDefinitions.h.

◆ attrs

SequentialStringBijection::Entry SUMOXMLDefinitions::attrs
static

The names of SUMO-XML attributes (for passing to GenericSAXHandler)

Definition at line 633 of file SUMOXMLDefinitions.h.

Referenced by GNEFrame::GNEFrame().

◆ Attrs

◆ CarFollowModels

◆ carFollowModelValues

StringBijection< SumoXMLTag >::Entry SUMOXMLDefinitions::carFollowModelValues
staticprivate
Initial value:
= {
{ "IDM", SUMO_TAG_CF_IDM },
{ "IDMM", SUMO_TAG_CF_IDMM },
{ "Krauss", SUMO_TAG_CF_KRAUSS },
{ "KraussOrig1", SUMO_TAG_CF_KRAUSS_ORIG1 },
{ "KraussX", SUMO_TAG_CF_KRAUSSX },
{ "EIDM", SUMO_TAG_CF_EIDM },
{ "SmartSK", SUMO_TAG_CF_SMART_SK },
{ "Daniel1", SUMO_TAG_CF_DANIEL1 },
{ "PWagner2009", SUMO_TAG_CF_PWAGNER2009 },
{ "BKerner", SUMO_TAG_CF_BKERNER },
{ "Rail", SUMO_TAG_CF_RAIL },
{ "CC", SUMO_TAG_CF_CC },
{ "ACC", SUMO_TAG_CF_ACC },
{ "CACC", SUMO_TAG_CF_CACC },
{ "W99", SUMO_TAG_CF_W99 },
{ "Wiedemann", SUMO_TAG_CF_WIEDEMANN }
}
@ SUMO_TAG_CF_KRAUSS
@ SUMO_TAG_CF_BKERNER
@ SUMO_TAG_CF_KRAUSSX
@ SUMO_TAG_CF_CACC
@ SUMO_TAG_CF_CC
@ SUMO_TAG_CF_KRAUSS_PLUS_SLOPE
@ SUMO_TAG_CF_IDM
@ SUMO_TAG_CF_W99
@ SUMO_TAG_CF_RAIL
@ SUMO_TAG_CF_SMART_SK
@ SUMO_TAG_CF_EIDM
@ SUMO_TAG_CF_PWAGNER2009
@ SUMO_TAG_CF_KRAUSS_ORIG1
@ SUMO_TAG_CF_WIEDEMANN
@ SUMO_TAG_CF_IDMM
@ SUMO_TAG_CF_DANIEL1
@ SUMO_TAG_CF_ACC

car follwing model values

Definition at line 1590 of file SUMOXMLDefinitions.h.

◆ EdgeFunctions

StringBijection< SumoXMLEdgeFunc > SUMOXMLDefinitions::EdgeFunctions
static

edge functions

Definition at line 2267 of file SUMOXMLDefinitions.h.

Referenced by SUMOSAXAttributes::fromString(), and toString< SumoXMLEdgeFunc >().

◆ FringeTypeValues

◆ fringeTypeValuesInitializer

StringBijection< FringeType >::Entry SUMOXMLDefinitions::fringeTypeValuesInitializer
staticprivate
Initial value:
= {
{"outer", FringeType::OUTER },
{"inner", FringeType::INNER },
{"default", FringeType::DEFAULT }
}

lane spread function values

Definition at line 1480 of file SUMOXMLDefinitions.h.

◆ InsertionChecks

◆ insertionCheckValues

StringBijection< InsertionCheck >::Entry SUMOXMLDefinitions::insertionCheckValues
staticprivate
Initial value:

traffic light layout values

Definition at line 1566 of file SUMOXMLDefinitions.h.

◆ LaneChangeActions

StringBijection< LaneChangeAction > SUMOXMLDefinitions::LaneChangeActions
static

lane change actions

Definition at line 2306 of file SUMOXMLDefinitions.h.

Referenced by toString< LaneChangeAction >().

◆ laneChangeActionValues

StringBijection< LaneChangeAction >::Entry SUMOXMLDefinitions::laneChangeActionValues
staticprivate
Initial value:
= {
{ "stay", LCA_STAY },
{ "left", LCA_LEFT },
{ "right", LCA_RIGHT },
{ "strategic", LCA_STRATEGIC },
{ "cooperative", LCA_COOPERATIVE },
{ "speedGain", LCA_SPEEDGAIN },
{ "keepRight", LCA_KEEPRIGHT },
{ "sublane", LCA_SUBLANE },
{ "traci", LCA_TRACI },
{ "urgent", LCA_URGENT },
{ "overlapping", LCA_OVERLAPPING },
{ "blocked", LCA_BLOCKED },
{ "amBL", LCA_AMBLOCKINGLEADER },
{ "amBB", LCA_AMBACKBLOCKER },
{ "MR", LCA_MRIGHT },
{ "ML", LCA_MLEFT },
{ "unknown", LCA_UNKNOWN }
}
@ LCA_KEEPRIGHT
The action is due to the default of keeping right "Rechtsfahrgebot".
@ LCA_UNKNOWN
The action has not been determined.
@ LCA_BLOCKED
blocked in all directions
@ LCA_URGENT
The action is urgent (to be defined by lc-model)
@ LCA_STAY
Needs to stay on the current lane.
@ LCA_SUBLANE
used by the sublane model
@ LCA_AMBACKBLOCKER
@ LCA_AMBLOCKINGLEADER
@ LCA_COOPERATIVE
The action is done to help someone else.
@ LCA_OVERLAPPING
The vehicle is blocked being overlapping.
@ LCA_LEFT
Wants go to the left.
@ LCA_STRATEGIC
The action is needed to follow the route (navigational lc)
@ LCA_AMBACKBLOCKER_STANDING
@ LCA_TRACI
The action is due to a TraCI request.
@ LCA_SPEEDGAIN
The action is due to the wish to be faster (tactical lc)
@ LCA_RIGHT
Wants go to the right.
@ LCA_AMBLOCKINGFOLLOWER

lane change action values

Definition at line 1610 of file SUMOXMLDefinitions.h.

◆ LaneChangeModels

◆ laneChangeModelValues

StringBijection< LaneChangeModel >::Entry SUMOXMLDefinitions::laneChangeModelValues
staticprivate
Initial value:

lane change model values

Definition at line 1582 of file SUMOXMLDefinitions.h.

◆ LaneSpreadFunctions

◆ laneSpreadFunctionValues

StringBijection< LaneSpreadFunction >::Entry SUMOXMLDefinitions::laneSpreadFunctionValues
staticprivate
Initial value:

lane spread function values

Definition at line 1461 of file SUMOXMLDefinitions.h.

◆ LinkDirections

◆ linkDirectionValues

StringBijection< LinkDirection >::Entry SUMOXMLDefinitions::linkDirectionValues
staticprivate
Initial value:
= {
{ "invalid", LinkDirection::NODIR }
}
@ PARTLEFT
The link is a partial left direction.
@ RIGHT
The link is a (hard) right direction.
@ TURN
The link is a 180 degree turn.
@ LEFT
The link is a (hard) left direction.
@ STRAIGHT
The link is a straight direction.
@ TURN_LEFTHAND
The link is a 180 degree turn (left-hand network)
@ PARTRIGHT
The link is a partial right direction.
@ NODIR
The link has no direction (is a dead end link)

link direction values

Definition at line 1528 of file SUMOXMLDefinitions.h.

◆ LinkStates

◆ linkStateValues

StringBijection< LinkState >::Entry SUMOXMLDefinitions::linkStateValues
staticprivate
Initial value:
= {
{ "r", LINKSTATE_TL_RED },
{ "M", LINKSTATE_MAJOR },
{ "m", LINKSTATE_MINOR },
{ "=", LINKSTATE_EQUAL },
{ "s", LINKSTATE_STOP },
{ "Z", LINKSTATE_ZIPPER },
}
@ LINKSTATE_ALLWAY_STOP
This is an uncontrolled, all-way stop link.
@ LINKSTATE_MAJOR
This is an uncontrolled, major link, may pass.
@ LINKSTATE_EQUAL
This is an uncontrolled, right-before-left link.
@ LINKSTATE_DEADEND
This is a dead end link.
@ LINKSTATE_ZIPPER
This is an uncontrolled, zipper-merge link.
@ LINKSTATE_MINOR
This is an uncontrolled, minor link, has to brake.

link state values

Definition at line 1497 of file SUMOXMLDefinitions.h.

◆ NodeTypes

◆ ParkingTypes

StringBijection< ParkingType > SUMOXMLDefinitions::ParkingTypes
static

parking types

Definition at line 2273 of file SUMOXMLDefinitions.h.

Referenced by toString< ParkingType >().

◆ parkingTypeValues

StringBijection< ParkingType >::Entry SUMOXMLDefinitions::parkingTypeValues
staticprivate
Initial value:

lane spread function values

Definition at line 1467 of file SUMOXMLDefinitions.h.

◆ PersonModeValues

◆ personModeValuesInitializer

StringBijection< PersonMode >::Entry SUMOXMLDefinitions::personModeValuesInitializer
staticprivate
Initial value:
= {
{"none", PersonMode::NONE},
{"walkForward", PersonMode::WALK_FORWARD},
{"walkBackward", PersonMode::WALK_BACKWARD},
{"walk", PersonMode::WALK},
{"bicycle", PersonMode::BICYCLE },
{"car", PersonMode::CAR },
{"taxi", PersonMode::TAXI },
{"public", PersonMode::PUBLIC}
}

person mode values

Definition at line 1486 of file SUMOXMLDefinitions.h.

◆ POIIcons

◆ POIIconValues

StringBijection< POIIcon >::Entry SUMOXMLDefinitions::POIIconValues
staticprivate
Initial value:
= {
{"pin", POIIcon::PIN},
{"tree", POIIcon::NATURE},
{"hotel", POIIcon::HOTEL},
{"fuel", POIIcon::FUEL},
{"charging_station", POIIcon::CHARGING_STATION},
}
@ CHARGING_STATION

POI icon values.

Definition at line 1647 of file SUMOXMLDefinitions.h.

◆ RightOfWayValues

◆ rightOfWayValuesInitializer

StringBijection< RightOfWay >::Entry SUMOXMLDefinitions::rightOfWayValuesInitializer
staticprivate
Initial value:
= {
{"edgePriority", RightOfWay::EDGEPRIORITY },
{"mixedPriority", RightOfWay::MIXEDPRIORITY },
{"allwayStop", RightOfWay::ALLWAYSTOP },
{"default", RightOfWay::DEFAULT }
}

lane spread function values

Definition at line 1473 of file SUMOXMLDefinitions.h.

◆ sumoEdgeFuncValues

StringBijection< SumoXMLEdgeFunc >::Entry SUMOXMLDefinitions::sumoEdgeFuncValues
staticprivate
Initial value:

edge function values

Definition at line 1451 of file SUMOXMLDefinitions.h.

◆ sumoNodeTypeValues

StringBijection< SumoXMLNodeType >::Entry SUMOXMLDefinitions::sumoNodeTypeValues
staticprivate
Initial value:
= {
{"traffic_light", SumoXMLNodeType::TRAFFIC_LIGHT},
{"traffic_light_unregulated", SumoXMLNodeType::TRAFFIC_LIGHT_NOJUNCTION},
{"traffic_light_right_on_red", SumoXMLNodeType::TRAFFIC_LIGHT_RIGHT_ON_RED},
{"rail_signal", SumoXMLNodeType::RAIL_SIGNAL},
{"rail_crossing", SumoXMLNodeType::RAIL_CROSSING},
{"priority_stop", SumoXMLNodeType::PRIORITY_STOP},
{"right_before_left", SumoXMLNodeType::RIGHT_BEFORE_LEFT},
{"left_before_right", SumoXMLNodeType::LEFT_BEFORE_RIGHT},
{"allway_stop", SumoXMLNodeType::ALLWAY_STOP},
{"unregulated", SumoXMLNodeType::NOJUNCTION},
}

containers for the different SUMOXMLDefinitions

node type values

Definition at line 1430 of file SUMOXMLDefinitions.h.

◆ tags

SequentialStringBijection::Entry SUMOXMLDefinitions::tags
static

The names of SUMO-XML elements (for passing to GenericSAXHandler)

Definition at line 38 of file SUMOXMLDefinitions.h.

◆ Tags

◆ TrafficLightLayouts

◆ trafficLightLayoutValues

StringBijection< TrafficLightLayout >::Entry SUMOXMLDefinitions::trafficLightLayoutValues
staticprivate
Initial value:

traffic light layout values

Definition at line 1559 of file SUMOXMLDefinitions.h.

◆ TrafficLightTypes

◆ trafficLightTypesValues

StringBijection< TrafficLightType >::Entry SUMOXMLDefinitions::trafficLightTypesValues
staticprivate

◆ TrainTypes

StringBijection< TrainType > SUMOXMLDefinitions::TrainTypes
static

◆ trainTypeValues

StringBijection< TrainType >::Entry SUMOXMLDefinitions::trainTypeValues
staticprivate
Initial value:
= {
{ "custom", TrainType::CUSTOM },
{ "NGT400", TrainType::NGT400 },
{ "NGT400_16", TrainType::NGT400_16 },
{ "RB425", TrainType::RB425 },
{ "RB628", TrainType::RB628 },
{ "ICE1", TrainType::ICE1 },
{ "REDosto7", TrainType::REDOSTO7 },
{ "Freight", TrainType::FREIGHT },
{ "ICE3", TrainType::ICE3 },
{ "MireoPlusB", TrainType::MIREOPLUSB },
{ "MireoPlusH", TrainType::MIREOPLUSH }
}

train type values

Definition at line 1633 of file SUMOXMLDefinitions.h.


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