Eclipse SUMO - Simulation of Urban MObility
|
Importer for networks stored in SUMO format. More...
#include <NIImporter_SUMO.h>
Data Structures | |
struct | Connection |
A connection description. More... | |
struct | Crossing |
Describes a pedestrian crossing. More... | |
struct | EdgeAttrs |
Describes the values found in an edge's definition and this edge's lanes. More... | |
struct | JunctionAttrs |
Describes the values found in a junction. More... | |
struct | LaneAttrs |
Describes the values found in a lane's definition. More... | |
struct | Prohibition |
Describes the values found in a prohibition. More... | |
struct | WalkingAreaParsedCustomShape |
Describes custom shape for a walking area during parsing. More... | |
Public Member Functions | |
void | characters (const XMLCh *const chars, const XERCES3_SIZE_t length) |
The inherited method called when characters occurred. | |
void | endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname) |
The inherited method called when a tag is being closed. | |
const std::string & | getFileName () const |
returns the current file name | |
void | registerParent (const int tag, GenericSAXHandler *handler) |
Assigning a parent handler which is enabled when the specified tag is closed. | |
void | setFileName (const std::string &name) |
Sets the current file name. | |
void | startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const XERCES_CPP_NAMESPACE::Attributes &attrs) |
The inherited method called when a new tag opens. | |
Static Public Member Functions | |
static void | addPhase (const SUMOSAXAttributes &attrs, NBLoadedSUMOTLDef *currentTL) |
adds a phase to the traffic lights logic currently build | |
static NBLoadedSUMOTLDef * | initTrafficLightLogic (const SUMOSAXAttributes &attrs, NBLoadedSUMOTLDef *currentTL) |
begins the reading of a traffic lights logic | |
static GeoConvHelper * | loadLocation (const SUMOSAXAttributes &attrs, bool setLoaded=true) |
Parses network location description and registers it with GeoConveHelper::setLoaded. | |
static void | loadNetwork (OptionsCont &oc, NBNetBuilder &nb) |
Loads content of the optionally given SUMO file. | |
Protected Member Functions | |
NIImporter_SUMO (NBNetBuilder &nb) | |
Constructor. | |
~NIImporter_SUMO () | |
Destructor. | |
Object instance parsing methods | |
std::map< std::string, EdgeAttrs * > | myEdges |
Loaded edge definitions. | |
std::vector< Prohibition > | myProhibitions |
Loaded prohibitions. | |
NBNetBuilder & | myNetBuilder |
The network builder to fill. | |
NBNodeCont & | myNodeCont |
The node container to fill. | |
NBTrafficLightLogicCont & | myTLLCont |
The node container to fill. | |
NIXMLTypesHandler | myTypesHandler |
The handler for parsing edge types and restrictions. | |
EdgeAttrs * | myCurrentEdge |
The currently parsed edge's definition (to add loaded lanes to) | |
JunctionAttrs | myCurrentJunction |
The currently parsed junction definition to help in reconstructing crossings. | |
LaneAttrs * | myCurrentLane |
The currently parsed lanes's definition (to add the shape to) | |
NBLoadedSUMOTLDef * | myCurrentTL |
The currently parsed traffic light. | |
GeoConvHelper * | myLocation |
The coordinate transformation which was used to build the loaded network. | |
std::map< std::string, std::vector< Crossing > > | myPedestrianCrossings |
The pedestrian crossings found in the network. | |
std::map< std::string, WalkingAreaParsedCustomShape > | myWACustomShapes |
Map from walkingArea edge IDs to custom shapes. | |
std::vector< Parameterised * > | myLastParameterised |
element to receive parameters | |
MMVersion | myNetworkVersion |
the loaded network version | |
bool | myHaveSeenInternalEdge |
whether the loaded network contains internal lanes | |
bool | myAmLefthand |
whether the loaded network was built for lefthand traffic | |
bool | myChangeLefthand |
whether the written network should have a different "handedness" (LHT/RHT) than the loaded network | |
int | myCornerDetail |
the level of corner detail in the loaded network | |
int | myLinkDetail |
the level of geometry detail for internal lanes in the loaded network | |
bool | myRectLaneCut |
whether all lanes of an edge should have the same stop line | |
bool | myWalkingAreas |
whether walkingareas must be built | |
double | myLimitTurnSpeed |
whether turning speed was limited in the network | |
bool | myCheckLaneFoesAll |
whether foe-relationships where checked at lane-level | |
bool | myCheckLaneFoesRoundabout |
bool | myTlsIgnoreInternalJunctionJam |
whether some right-of-way checks at traffic light junctions should be disabled | |
std::string | myDefaultSpreadType |
default spreadType defined in the network | |
bool | myGeomAvoidOverlap |
overlap option for loaded network | |
bool | myJunctionsHigherSpeed |
higherSpeed option for loaded network | |
double | myInternalJunctionsVehicleWidth |
custom settings for internal junction computation | |
bool | myJunctionsMinimalShape |
custom settings for junction shape computation | |
bool | myJunctionsEndpointShape |
std::vector< std::vector< std::string > > | myRoundabouts |
loaded roundabout edges | |
std::set< std::string > | myRailSignals |
list of node id with rail signals (no NBTrafficLightDefinition exists) | |
std::set< std::string > | myDiscardableParams |
list of parameter keys to discard | |
void | addEdge (const SUMOSAXAttributes &attrs) |
Parses an edge and stores the values in "myCurrentEdge". | |
void | addLane (const SUMOSAXAttributes &attrs) |
Parses a lane and stores the values in "myCurrentLane". | |
void | addStopOffsets (const SUMOSAXAttributes &attrs, bool &ok) |
parses stop offsets for the current lane or edge | |
void | addJunction (const SUMOSAXAttributes &attrs) |
Parses a junction and saves it in the node control. | |
void | addRequest (const SUMOSAXAttributes &attrs) |
Parses a request and saves selected attributes in myCurrentJunction. | |
void | addConnection (const SUMOSAXAttributes &attrs) |
Parses a connection and saves it into the lane's definition stored in "myCurrentLane". | |
void | addProhibition (const SUMOSAXAttributes &attrs) |
Parses a prohibition and saves it. | |
void | addRoundabout (const SUMOSAXAttributes &attrs) |
Parses a roundabout and stores it in myEdgeCont. | |
void | parseProhibitionConnection (const std::string &attr, std::string &from, std::string &to, bool &ok) |
parses connection string of a prohibition (very old school) | |
static Position | readPosition (const SUMOSAXAttributes &attrs, const std::string &id, bool &ok) |
read position from the given attributes, attribute errors to id | |
attributes parsing | |
AttrMap | myPredefinedTags |
std::vector< std::string > | myPredefinedTagsMML |
the map from ids to their string representation | |
typedef std::vector< XMLCh * > | AttrMap |
elements parsing | |
TagMap | myTagMap |
std::vector< std::string > | myCharactersVector |
A list of character strings obtained so far to build the complete characters string at the end. | |
GenericSAXHandler * | myParentHandler |
The handler to give control back to. | |
int | myParentIndicator |
The tag indicating that control should be given back. | |
std::string | myFileName |
The name of the currently parsed file. | |
std::string | myExpectedRoot |
The root element to expect, empty string disables the check. | |
bool | myCollectCharacterData = false |
whether the reader should collect character data | |
bool | myRootSeen = false |
whether the reader has already seen the root element | |
int | mySection = -1 |
The tag indicating the current section to parse. | |
bool | mySectionSeen = false |
whether the reader has already seen the begin of the section | |
bool | mySectionEnded = false |
whether the reader has already seen the end of the section | |
bool | mySectionOpen = false |
whether an element of the current section is open | |
std::pair< int, SUMOSAXAttributes * > | myNextSectionStart |
typedef std::map< std::string, int > | TagMap |
inherited from GenericSAXHandler | |
void | myStartElement (int element, const SUMOSAXAttributes &attrs) |
Called on the opening of a tag;. | |
void | myEndElement (int element) |
Called when a closing tag occurs. | |
void | _loadNetwork (OptionsCont &oc) |
load the network | |
SAX ErrorHandler callbacks | |
std::string | buildErrorMessage (const XERCES_CPP_NAMESPACE::SAXParseException &exception) |
Builds an error message. | |
virtual void | myCharacters (int element, const std::string &chars) |
Callback method for characters to implement by derived classes. | |
void | callParentEnd (int element) |
signal endElement to the parent handler (special case for MSCalibrator) | |
XMLCh * | convert (const std::string &name) const |
converts from c++-string into unicode | |
int | convertTag (const std::string &tag) const |
Converts a tag from its string into its numerical representation. | |
void | warning (const XERCES_CPP_NAMESPACE::SAXParseException &exception) |
Handler for XML-warnings. | |
void | error (const XERCES_CPP_NAMESPACE::SAXParseException &exception) |
Handler for XML-errors. | |
void | fatalError (const XERCES_CPP_NAMESPACE::SAXParseException &exception) |
Handler for XML-errors. | |
void | setSection (const int element, const bool seen) |
bool | sectionFinished () const |
std::pair< int, SUMOSAXAttributes * > | retrieveNextSectionStart () |
void | needsCharacterData (const bool value=true) |
Importer for networks stored in SUMO format.
Definition at line 50 of file NIImporter_SUMO.h.
|
privateinherited |
Definition at line 303 of file GenericSAXHandler.h.
|
privateinherited |
Definition at line 317 of file GenericSAXHandler.h.
|
protected |
Constructor.
[in] | nc | The network builder to fill |
Definition at line 65 of file NIImporter_SUMO.cpp.
|
protected |
Destructor.
Definition at line 96 of file NIImporter_SUMO.cpp.
References NIImporter_SUMO::EdgeAttrs::lanes, myEdges, and myLocation.
|
private |
load the network
Definition at line 109 of file NIImporter_SUMO.cpp.
References NIImporter_SUMO::LaneAttrs::accelRamp, NBLoadedSUMOTLDef::addConnection(), NBNode::addCrossing(), NBNetBuilder::addGeometrySegments(), NBEdge::addLane2LaneConnection(), NBEdgeCont::addRoundabout(), NBNode::addSortedLinkFoes(), NBNode::addWalkingAreaShape(), NIImporter_SUMO::LaneAttrs::allow, NIImporter_SUMO::EdgeAttrs::bidi, NIImporter_SUMO::EdgeAttrs::builtEdge, NIImporter_SUMO::LaneAttrs::changeLeft, NIImporter_SUMO::LaneAttrs::changeRight, NIImporter_SUMO::LaneAttrs::connections, CROSSING, NIImporter_SUMO::LaneAttrs::customShape, NBEdge::declareConnectionsAsLoaded(), deprecatedVehicleClassesSeen, NIImporter_SUMO::LaneAttrs::disallow, NIImporter_SUMO::EdgeAttrs::distance, NIImporter_SUMO::EdgeAttrs::edgeStopOffset, NIImporter_SUMO::LaneAttrs::endOffset, NBEdgeCont::erase(), NIImporter_SUMO::LaneAttrs::friction, NIImporter_SUMO::EdgeAttrs::fromNode, NIImporter_SUMO::EdgeAttrs::func, OptionsCont::getBool(), NBEdge::getConnectionRef(), NBNetBuilder::getDistrictCont(), NBNetBuilder::getEdgeCont(), NBEdge::getEdgeStopOffset(), NBEdge::getEndOffset(), OptionsCont::getFloat(), NBEdge::getFromNode(), NBEdge::getID(), SUMOXMLDefinitions::getJunctionIDFromInternalEdge(), NBEdge::getLanes(), NBEdge::getLaneStruct(), NBEdge::getLaneWidth(), Parameterised::getParametersMap(), NBNode::getPosition(), NBTrafficLightLogicCont::getPrograms(), OptionsCont::getString(), OptionsCont::getStringVector(), NBEdge::getToNode(), NBNode::getType(), NBEdge::hasLaneSpecificEndOffset(), NBEdge::hasLaneSpecificStopOffsets(), NBEdge::hasLaneSpecificWidth(), NIImporter_SUMO::EdgeAttrs::id, NBEdgeCont::ignore(), NBEdgeCont::ignoreFilterMatch(), NBEdgeCont::insert(), INTERNAL, NBConnection::InvalidTlIndex, StopOffset::isDefined(), FileHelpers::isReadable(), NBNode::isTrafficLight(), OptionsCont::isUsableFileList(), OptionsCont::isWriteable(), KEEPCLEAR_FALSE, KEEPCLEAR_TRUE, NIImporter_SUMO::EdgeAttrs::lanes, NIImporter_SUMO::LaneAttrs::laneStopOffset, NIImporter_SUMO::EdgeAttrs::length, NIImporter_SUMO::EdgeAttrs::lsf, NIImporter_SUMO::LaneAttrs::maxSpeed, NIImporter_SUMO::EdgeAttrs::maxSpeed, myAmLefthand, myCheckLaneFoesAll, myCheckLaneFoesRoundabout, myCornerDetail, myDefaultSpreadType, myDiscardableParams, myEdges, myGeomAvoidOverlap, myHaveSeenInternalEdge, myInternalJunctionsVehicleWidth, myJunctionsEndpointShape, myJunctionsHigherSpeed, myJunctionsMinimalShape, myLimitTurnSpeed, myLinkDetail, myNetBuilder, myNetworkVersion, myNodeCont, myPedestrianCrossings, myProhibitions, myRailSignals, myRectLaneCut, myRoundabouts, myTLLCont, myTlsIgnoreInternalJunctionJam, myWACustomShapes, myWalkingAreas, NBEdge::Lane::oppositeID, NIImporter_SUMO::LaneAttrs::oppositeID, parseVehicleClasses(), NIImporter_SUMO::EdgeAttrs::priority, PROGRESS_BEGIN_TIME_MESSAGE, PROGRESS_TIME_MESSAGE, RAIL_SIGNAL, NBNodeCont::retrieve(), NBEdgeCont::retrieve(), XMLSubSys::runParser(), OptionsCont::set(), NBEdge::setAcceleration(), NBEdge::setBidi(), NBEdge::setDistance(), NBEdge::setEdgeStopOffset(), NBEdge::setEndOffset(), GenericSAXHandler::setFileName(), NBEdge::setFriction(), NBNetBuilder::setHaveNetworkCrossings(), NBEdge::setLaneShape(), NBEdge::setLaneWidth(), NBEdge::setLoadedLength(), NBEdge::setPermissions(), NBEdge::setPermittedChanging(), NBEdge::setSpeed(), NIImporter_SUMO::LaneAttrs::shape, NIImporter_SUMO::EdgeAttrs::shape, NIImporter_SUMO::EdgeAttrs::streetName, TL, NIImporter_SUMO::EdgeAttrs::toNode, toString(), NBEdge::Lane::type, NIImporter_SUMO::LaneAttrs::type, NIImporter_SUMO::EdgeAttrs::type, NBEdge::UNSPECIFIED_FRICTION, NBEdge::UNSPECIFIED_OFFSET, NBEdge::UNSPECIFIED_WIDTH, Parameterised::updateParameters(), NBEdge::VALIDATED, WALKINGAREA, NBEdgeCont::wasIgnored(), NIImporter_SUMO::LaneAttrs::width, WRITE_ERRORF, and WRITE_WARNINGF.
Referenced by loadNetwork().
|
private |
Parses a connection and saves it into the lane's definition stored in "myCurrentLane".
[in] | attrs | The attributes to get the connection from |
Definition at line 796 of file NIImporter_SUMO.cpp.
References NIImporter_SUMO::Connection::changeLeft, NIImporter_SUMO::Connection::changeRight, NIImporter_SUMO::Connection::contPos, CROSSING, NIImporter_SUMO::Connection::customLength, NIImporter_SUMO::Connection::customShape, NIImporter_SUMO::Connection::edgeType, PositionVector::EMPTY, NIImporter_SUMO::Connection::friction, NIImporter_SUMO::EdgeAttrs::func, StringBijection< T >::get(), SUMOSAXAttributes::get(), OptionsCont::getFloat(), SUMOXMLDefinitions::getJunctionIDFromInternalEdge(), SUMOSAXAttributes::getOpt(), OptionsCont::getOptions(), SUMOSAXAttributes::hasAttribute(), NIImporter_SUMO::Connection::indirectLeft, INTERNAL, NBConnection::InvalidTlIndex, OptionsCont::isSet(), NIImporter_SUMO::Connection::keepClear, NIImporter_SUMO::EdgeAttrs::lanes, LINKSTATE_MAJOR, SUMOXMLDefinitions::LinkStates, NIImporter_SUMO::Connection::mayDefinitelyPass, myChangeLefthand, myEdges, myLastParameterised, myLocation, myNetworkVersion, myPedestrianCrossings, myWACustomShapes, NORMAL, parseVehicleClasses(), NIImporter_SUMO::Connection::permissions, NIImporter_SUMO::Connection::speed, SUMO_ATTR_ALLOW, SUMO_ATTR_CHANGE_LEFT, SUMO_ATTR_CHANGE_RIGHT, SUMO_ATTR_CONTPOS, SUMO_ATTR_DISALLOW, SUMO_ATTR_FRICTION, SUMO_ATTR_FROM, SUMO_ATTR_FROM_LANE, SUMO_ATTR_INDIRECT, SUMO_ATTR_KEEP_CLEAR, SUMO_ATTR_LENGTH, SUMO_ATTR_PASS, SUMO_ATTR_SHAPE, SUMO_ATTR_SPEED, SUMO_ATTR_STATE, SUMO_ATTR_TLID, SUMO_ATTR_TLLINKINDEX, SUMO_ATTR_TLLINKINDEX2, SUMO_ATTR_TO, SUMO_ATTR_TO_LANE, SUMO_ATTR_TYPE, SUMO_ATTR_UNCONTROLLED, SUMO_ATTR_VISIBILITY_DISTANCE, SVC_UNSPECIFIED, std::swap(), TL, NIImporter_SUMO::Connection::tlID, NIImporter_SUMO::Connection::tlLinkIndex, NIImporter_SUMO::Connection::tlLinkIndex2, NIImporter_SUMO::Connection::toEdgeID, NIImporter_SUMO::Connection::toLaneIdx, toString(), NBNetBuilder::transformCoordinates(), NIImporter_SUMO::Connection::uncontrolled, NBEdge::UNSPECIFIED_CONNECTION_UNCONTROLLED, NBEdge::UNSPECIFIED_CONTPOS, NBEdge::UNSPECIFIED_FRICTION, NBEdge::UNSPECIFIED_LOADED_LENGTH, NBEdge::UNSPECIFIED_SPEED, NBEdge::UNSPECIFIED_VISIBILITY_DISTANCE, NIImporter_SUMO::Connection::visibility, WALKINGAREA, and WRITE_ERRORF.
Referenced by myStartElement().
|
private |
Parses an edge and stores the values in "myCurrentEdge".
[in] | attrs | The attributes to get the edge's values from |
Definition at line 581 of file NIImporter_SUMO.cpp.
References NIImporter_SUMO::EdgeAttrs::bidi, NIImporter_SUMO::EdgeAttrs::builtEdge, CROSSING, NIImporter_SUMO::Crossing::crossingEdges, NIImporter_SUMO::EdgeAttrs::distance, NIImporter_SUMO::EdgeAttrs::fromNode, NIImporter_SUMO::EdgeAttrs::func, StringBijection< T >::get(), SUMOSAXAttributes::get(), SUMOXMLDefinitions::getJunctionIDFromInternalEdge(), SUMOSAXAttributes::getOpt(), OptionsCont::getOptions(), NIImporter_SUMO::EdgeAttrs::id, INTERNAL, OptionsCont::isDefault(), SUMOXMLDefinitions::LaneSpreadFunctions, NIImporter_SUMO::EdgeAttrs::length, NIImporter_SUMO::EdgeAttrs::lsf, NIImporter_SUMO::EdgeAttrs::maxSpeed, myCurrentEdge, myDefaultSpreadType, myHaveSeenInternalEdge, myLastParameterised, myLocation, myPedestrianCrossings, NORMAL, NIImporter_SUMO::EdgeAttrs::priority, OptionsCont::set(), NIImporter_SUMO::EdgeAttrs::shape, NIImporter_SUMO::EdgeAttrs::streetName, SUMO_ATTR_BIDI, SUMO_ATTR_CROSSING_EDGES, SUMO_ATTR_DISTANCE, SUMO_ATTR_FROM, SUMO_ATTR_FUNCTION, SUMO_ATTR_ID, SUMO_ATTR_LENGTH, SUMO_ATTR_NAME, SUMO_ATTR_PRIORITY, SUMO_ATTR_SHAPE, SUMO_ATTR_SPREADTYPE, SUMO_ATTR_TO, SUMO_ATTR_TYPE, TL, NIImporter_SUMO::EdgeAttrs::toNode, NBNetBuilder::transformCoordinates(), NIImporter_SUMO::EdgeAttrs::type, NBEdge::UNSPECIFIED_LOADED_LENGTH, WALKINGAREA, and WRITE_ERRORF.
Referenced by myStartElement().
|
private |
Parses a junction and saves it in the node control.
[in] | attrs | The attributes to get the junction's values from |
Definition at line 727 of file NIImporter_SUMO.cpp.
References DEAD_END, DEAD_END_DEPRECATED, SUMOSAXAttributes::get(), NBNode::getFringeType(), SUMOSAXAttributes::getOpt(), NBNode::getRightOfWay(), SUMOSAXAttributes::hasAttribute(), NBNodeCont::insert(), INTERNAL, NIImporter_SUMO::JunctionAttrs::intLanes, myCurrentJunction, myLastParameterised, myLocation, myNodeCont, myRailSignals, NIImporter_SUMO::JunctionAttrs::node, RAIL_CROSSING, RAIL_SIGNAL, readPosition(), NIImporter_SUMO::JunctionAttrs::response, NBNodeCont::retrieve(), NBNode::setCustomShape(), NBNode::setFringeType(), NBNode::setName(), NBNode::setRadius(), NBNode::setRightOfWay(), SUMO_ATTR_CUSTOMSHAPE, SUMO_ATTR_FRINGE, SUMO_ATTR_ID, SUMO_ATTR_INTLANES, SUMO_ATTR_NAME, SUMO_ATTR_RADIUS, SUMO_ATTR_RIGHT_OF_WAY, SUMO_ATTR_SHAPE, SUMO_ATTR_TYPE, TL, toString(), NBNetBuilder::transformCoordinate(), NBNetBuilder::transformCoordinates(), UNKNOWN, and WRITE_WARNINGF.
Referenced by myStartElement().
|
private |
Parses a lane and stores the values in "myCurrentLane".
[in] | attrs | The attributes to get the lane's values from |
Definition at line 632 of file NIImporter_SUMO.cpp.
References NIImporter_SUMO::LaneAttrs::accelRamp, NIImporter_SUMO::LaneAttrs::allow, NIImporter_SUMO::LaneAttrs::changeLeft, NIImporter_SUMO::LaneAttrs::changeRight, CROSSING, NIImporter_SUMO::LaneAttrs::customShape, NIImporter_SUMO::LaneAttrs::disallow, NIImporter_SUMO::LaneAttrs::endOffset, NIImporter_SUMO::LaneAttrs::friction, NIImporter_SUMO::EdgeAttrs::func, SUMOSAXAttributes::get(), SUMOSAXAttributes::getFloat(), SUMOXMLDefinitions::getJunctionIDFromInternalEdge(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::hasAttribute(), NIImporter_SUMO::EdgeAttrs::id, INTERNAL, NIImporter_SUMO::EdgeAttrs::lanes, NIImporter_SUMO::LaneAttrs::maxSpeed, myChangeLefthand, myCurrentEdge, myCurrentLane, myLastParameterised, myLocation, myPedestrianCrossings, myWACustomShapes, NIImporter_SUMO::LaneAttrs::shape, NIImporter_SUMO::WalkingAreaParsedCustomShape::shape, SUMO_ATTR_ACCELERATION, SUMO_ATTR_ALLOW, SUMO_ATTR_CHANGE_LEFT, SUMO_ATTR_CHANGE_RIGHT, SUMO_ATTR_CUSTOMSHAPE, SUMO_ATTR_DISALLOW, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_FRICTION, SUMO_ATTR_ID, SUMO_ATTR_SHAPE, SUMO_ATTR_SPEED, SUMO_ATTR_TYPE, SUMO_ATTR_WIDTH, std::swap(), TL, toString(), NBNetBuilder::transformCoordinates(), NIImporter_SUMO::LaneAttrs::type, NBEdge::UNSPECIFIED_FRICTION, NBEdge::UNSPECIFIED_OFFSET, NBEdge::UNSPECIFIED_WIDTH, WALKINGAREA, NIImporter_SUMO::LaneAttrs::width, NIImporter_SUMO::WalkingAreaParsedCustomShape::width, WRITE_ERRORF, and WRITE_WARNINGF.
Referenced by myStartElement().
|
static |
adds a phase to the traffic lights logic currently build
Definition at line 971 of file NIImporter_SUMO.cpp.
References NBLoadedSUMOTLDef::addPhase(), SUMOSAXAttributes::get(), Named::getID(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), NBTrafficLightDefinition::getProgramID(), SUMO_ATTR_DURATION, SUMO_ATTR_EARLIEST_END, SUMO_ATTR_LATEST_END, SUMO_ATTR_MAXDURATION, SUMO_ATTR_MINDURATION, SUMO_ATTR_NAME, SUMO_ATTR_NEXT, SUMO_ATTR_RED, SUMO_ATTR_STATE, SUMO_ATTR_VEHICLEEXTENSION, SUMO_ATTR_YELLOW, TIME2STEPS, TL, NBTrafficLightDefinition::UNSPECIFIED_DURATION, WRITE_ERROR, and WRITE_ERRORF.
Referenced by myStartElement(), and NIXMLTrafficLightsHandler::myStartElement().
|
private |
Parses a prohibition and saves it.
[in] | attrs | The attributes to get the connection from |
Definition at line 927 of file NIImporter_SUMO.cpp.
References SUMOSAXAttributes::getOpt(), myProhibitions, parseProhibitionConnection(), NIImporter_SUMO::Prohibition::prohibitedFrom, NIImporter_SUMO::Prohibition::prohibitedTo, NIImporter_SUMO::Prohibition::prohibitorFrom, NIImporter_SUMO::Prohibition::prohibitorTo, SUMO_ATTR_PROHIBITED, and SUMO_ATTR_PROHIBITOR.
Referenced by myStartElement().
|
private |
Parses a request and saves selected attributes in myCurrentJunction.
[in] | attrs | The attributes to get the junction's values from |
Definition at line 787 of file NIImporter_SUMO.cpp.
References SUMOSAXAttributes::get(), myCurrentJunction, NIImporter_SUMO::JunctionAttrs::node, NIImporter_SUMO::JunctionAttrs::response, and SUMO_ATTR_RESPONSE.
Referenced by myStartElement().
|
private |
Parses a roundabout and stores it in myEdgeCont.
[in] | attrs | The attributes to get the roundabouts values from |
Definition at line 1055 of file NIImporter_SUMO.cpp.
References SUMOSAXAttributes::get(), myRoundabouts, and SUMO_ATTR_EDGES.
Referenced by myStartElement().
|
private |
parses stop offsets for the current lane or edge
[in] | attrs | The attributes to get the stop offset specifics from |
Definition at line 704 of file NIImporter_SUMO.cpp.
References NIImporter_SUMO::EdgeAttrs::edgeStopOffset, NIImporter_SUMO::EdgeAttrs::id, StopOffset::isDefined(), NIImporter_SUMO::LaneAttrs::laneStopOffset, myCurrentEdge, myCurrentLane, TL, and WRITE_WARNINGF.
Referenced by myStartElement().
|
protectedinherited |
Builds an error message.
The error message includes the file name and the line/column information as supported by the given SAXParseException
[in] | exception | The name of the currently processed file |
Definition at line 205 of file GenericSAXHandler.cpp.
References GenericSAXHandler::getFileName(), and TL.
Referenced by GenericSAXHandler::error(), GenericSAXHandler::fatalError(), and GenericSAXHandler::warning().
|
protectedinherited |
signal endElement to the parent handler (special case for MSCalibrator)
Definition at line 247 of file GenericSAXHandler.cpp.
References GenericSAXHandler::myEndElement(), and GenericSAXHandler::myParentHandler.
Referenced by MSCalibrator::myEndElement().
|
inherited |
The inherited method called when characters occurred.
The retrieved characters are converted into a string and appended into a private buffer. They are reported as soon as the element ends.
recheck/describe what happens with characters when a new element is opened
describe characters processing in the class' head
Definition at line 186 of file GenericSAXHandler.cpp.
References GenericSAXHandler::myCharactersVector, GenericSAXHandler::myCollectCharacterData, and StringUtils::transcode().
|
privateinherited |
converts from c++-string into unicode
[in] | name | The string to convert |
Definition at line 86 of file GenericSAXHandler.cpp.
Referenced by GenericSAXHandler::GenericSAXHandler().
|
privateinherited |
Converts a tag from its string into its numerical representation.
Returns the enum-representation stored for the given tag. If the tag is not known, SUMO_TAG_NOTHING is returned.
[in] | tag | The string to convert |
Definition at line 195 of file GenericSAXHandler.cpp.
References GenericSAXHandler::myTagMap, and SUMO_TAG_NOTHING.
Referenced by GenericSAXHandler::endElement(), and GenericSAXHandler::startElement().
|
inherited |
The inherited method called when a tag is being closed.
This method calls the user-implemented methods myCharacters with the previously collected and converted characters.
Then, myEndElement is called, supplying it the qname converted to its enum- and string-representations.
recheck/describe encoding of the string-representation
do not generate and report the string-representation
Definition at line 134 of file GenericSAXHandler.cpp.
References GenericSAXHandler::convertTag(), GenericSAXHandler::myCharacters(), GenericSAXHandler::myCharactersVector, GenericSAXHandler::myEndElement(), GenericSAXHandler::myParentHandler, GenericSAXHandler::myParentIndicator, GenericSAXHandler::mySection, GenericSAXHandler::mySectionOpen, XMLSubSys::setHandler(), SUMO_TAG_INCLUDE, SUMO_TAG_NOTHING, and StringUtils::transcode().
|
inherited |
Handler for XML-errors.
The message is built using buildErrorMessage and thrown within a ProcessError.
[in] | exception | The occurred exception to process |
ProcessError | On any call |
Definition at line 224 of file GenericSAXHandler.cpp.
References GenericSAXHandler::buildErrorMessage().
Referenced by MSRouteHandler::addFlowTransportable(), MSRouteHandler::addTransportable(), MSRouteHandler::closeTransportable(), NIImporter_OpenDrive::geomFromSpiral(), MSRouteHandler::interpretDepartPosLat(), and DataHandler::writeError().
|
inherited |
Handler for XML-errors.
The message is built using buildErrorMessage and thrown within a ProcessError.
ProcessError | On any call |
[in] | exception | The occurred exception to process |
Definition at line 230 of file GenericSAXHandler.cpp.
References GenericSAXHandler::buildErrorMessage().
|
inherited |
returns the current file name
Definition at line 80 of file GenericSAXHandler.cpp.
References GenericSAXHandler::myFileName.
Referenced by NLHandler::addE1Detector(), NLHandler::addE2Detector(), NLHandler::addEdgeLaneMeanData(), NLHandler::addInstantE1Detector(), ShapeHandler::addPOI(), ShapeHandler::addPoly(), NLHandler::addRouteProbeDetector(), NLHandler::addVTypeProbeDetector(), NLHandler::beginE3Detector(), GenericSAXHandler::buildErrorMessage(), PCNetProjectionLoader::load(), NLHandler::myEndElement(), RODFDetectorHandler::myStartElement(), NIImporter_OpenDrive::myStartElement(), NIXMLConnectionsHandler::myStartElement(), NIXMLEdgesHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NLHandler::myStartElement(), GUISettingsHandler::myStartElement(), SUMORouteHandler::myStartElement(), DataHandler::parse(), GeneralHandler::parse(), XMLSubSys::runParser(), GenericSAXHandler::startElement(), and SUMORouteLoader::SUMORouteLoader().
|
static |
begins the reading of a traffic lights logic
Definition at line 945 of file NIImporter_SUMO.cpp.
References StringBijection< T >::get(), SUMOSAXAttributes::get(), Named::getID(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptOffsetReporting(), SUMO_ATTR_ID, SUMO_ATTR_OFFSET, SUMO_ATTR_PROGRAMID, SUMO_ATTR_TYPE, TL, SUMOXMLDefinitions::TrafficLightTypes, and WRITE_ERRORF.
Referenced by myStartElement().
|
static |
Parses network location description and registers it with GeoConveHelper::setLoaded.
Definition at line 1003 of file NIImporter_SUMO.cpp.
References SUMOSAXAttributes::get(), GeoConvHelper::resolveAbstractProjection(), GeoConvHelper::setLoaded(), SUMO_ATTR_CONV_BOUNDARY, SUMO_ATTR_NET_OFFSET, SUMO_ATTR_ORIG_BOUNDARY, and SUMO_ATTR_ORIG_PROJ.
Referenced by myStartElement(), NIXMLConnectionsHandler::myStartElement(), NIXMLEdgesHandler::myStartElement(), and NIXMLNodesHandler::myStartElement().
|
static |
Loads content of the optionally given SUMO file.
If the option "sumo-net-file" is set, the file stored therein is read and the network definition stored therein is stored within the given network builder.
If the option "sumo-net-file" is not set, this method simply returns.
The loading is done by parsing the network definition as an XML file using the SAXinterface and handling the incoming data via this class' methods.
[in,out] | oc | The options to use (option no-internal-links may be modified) |
[in] | nb | The network builder to fill |
Definition at line 56 of file NIImporter_SUMO.cpp.
References _loadNetwork().
Referenced by NILoader::load().
|
protectedvirtualinherited |
Callback method for characters to implement by derived classes.
Called by "endElement" (see there).
[in] | element | The opened element, given as a int |
[in] | chars | The complete embedded character string @exceptions ProcessError These method may throw a ProcessError if something fails |
Reimplemented in NIImporter_ITSUMO::Handler, and NIImporter_OpenDrive.
Definition at line 240 of file GenericSAXHandler.cpp.
Referenced by GenericSAXHandler::endElement().
|
protectedvirtual |
Called when a closing tag occurs.
[in] | element | ID of the currently opened element |
ProcessError | If something fails |
Reimplemented from GenericSAXHandler.
Definition at line 526 of file NIImporter_SUMO.cpp.
References Named::getID(), NBTrafficLightDefinition::getProgramID(), NIImporter_SUMO::EdgeAttrs::id, NBTrafficLightLogicCont::insert(), NIImporter_SUMO::EdgeAttrs::lanes, MAX2(), NIImporter_SUMO::LaneAttrs::maxSpeed, NIImporter_SUMO::EdgeAttrs::maxSpeed, myCurrentEdge, myCurrentJunction, myCurrentLane, myCurrentTL, myEdges, myLastParameterised, myTLLCont, NIImporter_SUMO::JunctionAttrs::node, SUMO_TAG_CONNECTION, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SUMO_TAG_TLLOGIC, TL, WRITE_ERROR, and WRITE_WARNINGF.
|
protectedvirtual |
Called on the opening of a tag;.
In dependence to the obtained type, an appropriate parsing method is called ("addEdge" if an edge encounters, f.e.).
[in] | element | ID of the currently opened element |
[in] | attrs | Attributes within the currently opened element |
ProcessError | If something fails |
Reimplemented from GenericSAXHandler.
Definition at line 424 of file NIImporter_SUMO.cpp.
References addConnection(), addEdge(), addJunction(), addLane(), addPhase(), addProhibition(), addRequest(), addRoundabout(), addStopOffsets(), SUMOSAXAttributes::get(), SUMOSAXAttributes::getOpt(), OptionsCont::getOptions(), SUMOSAXAttributes::getString(), SUMOSAXAttributes::hasAttribute(), initTrafficLightLogic(), loadLocation(), myAmLefthand, myChangeLefthand, myCheckLaneFoesAll, myCheckLaneFoesRoundabout, myCornerDetail, myCurrentLane, myCurrentTL, myDefaultSpreadType, myDiscardableParams, myGeomAvoidOverlap, myInternalJunctionsVehicleWidth, myJunctionsEndpointShape, myJunctionsHigherSpeed, myJunctionsMinimalShape, myLastParameterised, myLimitTurnSpeed, myLinkDetail, myLocation, myNetworkVersion, myRectLaneCut, NIXMLTypesHandler::myStartElement(), myTlsIgnoreInternalJunctionJam, myTypesHandler, myWalkingAreas, NIImporter_SUMO::LaneAttrs::oppositeID, SUMO_ATTR_AVOID_OVERLAP, SUMO_ATTR_CHECKLANEFOES_ALL, SUMO_ATTR_CHECKLANEFOES_ROUNDABOUT, SUMO_ATTR_CORNERDETAIL, SUMO_ATTR_HIGHER_SPEED, SUMO_ATTR_INTERNAL_JUNCTIONS_VEHICLE_WIDTH, SUMO_ATTR_JUNCTIONS_ENDPOINT_SHAPE, SUMO_ATTR_JUNCTIONS_MINIMAL_SHAPE, SUMO_ATTR_KEY, SUMO_ATTR_LANE, SUMO_ATTR_LEFTHAND, SUMO_ATTR_LIMIT_TURN_SPEED, SUMO_ATTR_LINKDETAIL, SUMO_ATTR_RECTANGULAR_LANE_CUT, SUMO_ATTR_SPREADTYPE, SUMO_ATTR_TLS_IGNORE_INTERNAL_JUNCTION_JAM, SUMO_ATTR_VALUE, SUMO_ATTR_VERSION, SUMO_ATTR_WALKINGAREAS, SUMO_TAG_CONNECTION, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SUMO_TAG_LOCATION, SUMO_TAG_NEIGH, SUMO_TAG_NET, SUMO_TAG_PARAM, SUMO_TAG_PHASE, SUMO_TAG_PROHIBITION, SUMO_TAG_REQUEST, SUMO_TAG_ROUNDABOUT, SUMO_TAG_STOPOFFSET, SUMO_TAG_TLLOGIC, and StringUtils::toVersion().
|
inlineinherited |
Definition at line 220 of file GenericSAXHandler.h.
References GenericSAXHandler::myCollectCharacterData.
Referenced by NIImporter_ITSUMO::loadNetwork(), NIImporter_OpenDrive::loadNetwork(), and NIImporter_OpenDrive::myCharacters().
|
private |
parses connection string of a prohibition (very old school)
[in] | attr | The connection attribute |
[out] | from | ID of the source edge |
[out] | to | ID of the destination edge |
[out] | ok | Whether parsing completed successfully |
Definition at line 1033 of file NIImporter_SUMO.cpp.
References myEdges, TL, and WRITE_ERRORF.
Referenced by addProhibition().
|
staticprivate |
read position from the given attributes, attribute errors to id
Definition at line 1024 of file NIImporter_SUMO.cpp.
References SUMOSAXAttributes::get(), SUMOSAXAttributes::getOpt(), SUMO_ATTR_X, SUMO_ATTR_Y, and SUMO_ATTR_Z.
Referenced by addJunction().
|
inherited |
Assigning a parent handler which is enabled when the specified tag is closed.
Definition at line 178 of file GenericSAXHandler.cpp.
References GenericSAXHandler::myParentHandler, GenericSAXHandler::myParentIndicator, and XMLSubSys::setHandler().
Referenced by NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildLaneSpeedTrigger(), and NLTriggerBuilder::parseAndBuildRerouter().
|
inlineinherited |
Definition at line 213 of file GenericSAXHandler.h.
References GenericSAXHandler::myNextSectionStart.
Referenced by SUMOSAXReader::parseSection().
|
inlineinherited |
Definition at line 209 of file GenericSAXHandler.h.
References GenericSAXHandler::mySectionEnded.
Referenced by SUMOSAXReader::parseSection().
|
inherited |
Sets the current file name.
[in] | name | The name of the currently processed file |
Definition at line 74 of file GenericSAXHandler.cpp.
References GenericSAXHandler::myFileName.
Referenced by _loadNetwork(), MSStateHandler::MSStateTimeHandler::getTime(), GUISettingsHandler::GUISettingsHandler(), NIImporter_OpenStreetMap::load(), NIImporter_Vissim::load(), PCNetProjectionLoader::load(), NITypeLoader::load(), loadNet(), ROLoader::loadNet(), NIImporter_ITSUMO::loadNetwork(), NIImporter_MATSim::loadNetwork(), NIImporter_OpenDrive::loadNetwork(), main(), and XMLSubSys::runParser().
|
inlineinherited |
Definition at line 202 of file GenericSAXHandler.h.
References GenericSAXHandler::mySection, GenericSAXHandler::mySectionEnded, GenericSAXHandler::mySectionOpen, and GenericSAXHandler::mySectionSeen.
Referenced by SUMOSAXReader::parseSection().
|
inherited |
The inherited method called when a new tag opens.
The method parses the supplied XMLCh*-qname using the internal name/enum-map to obtain the enum representation of the attribute name.
Then, "myStartElement" is called supplying the enumeration value, the string-representation of the name and the attributes.
recheck/describe encoding of the string-representation
do not generate and report the string-representation
Definition at line 99 of file GenericSAXHandler.cpp.
References GenericSAXHandler::convertTag(), FileHelpers::getConfigurationRelative(), GenericSAXHandler::getFileName(), SUMOSAXAttributesImpl_Xerces::getString(), FileHelpers::isAbsolute(), GenericSAXHandler::myCharactersVector, GenericSAXHandler::myExpectedRoot, GenericSAXHandler::myNextSectionStart, GenericSAXHandler::myPredefinedTags, GenericSAXHandler::myPredefinedTagsMML, GenericSAXHandler::myRootSeen, GenericSAXHandler::mySection, GenericSAXHandler::mySectionEnded, GenericSAXHandler::mySectionOpen, GenericSAXHandler::mySectionSeen, GenericSAXHandler::myStartElement(), XMLSubSys::runParser(), SUMO_ATTR_HREF, SUMO_TAG_INCLUDE, TL, StringUtils::transcode(), and WRITE_WARNINGF.
|
inherited |
Handler for XML-warnings.
The message is built using buildErrorMessage and reported to the warning-instance of the MsgHandler.
[in] | exception | The occurred exception to process |
Definition at line 218 of file GenericSAXHandler.cpp.
References GenericSAXHandler::buildErrorMessage(), and WRITE_WARNING.
|
private |
whether the loaded network was built for lefthand traffic
Definition at line 396 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and myStartElement().
|
private |
whether the written network should have a different "handedness" (LHT/RHT) than the loaded network
Definition at line 399 of file NIImporter_SUMO.h.
Referenced by addConnection(), addLane(), and myStartElement().
|
privateinherited |
A list of character strings obtained so far to build the complete characters string at the end.
Definition at line 324 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::characters(), GenericSAXHandler::endElement(), and GenericSAXHandler::startElement().
|
private |
whether foe-relationships where checked at lane-level
Definition at line 417 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and myStartElement().
|
private |
Definition at line 418 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and myStartElement().
|
privateinherited |
whether the reader should collect character data
Definition at line 339 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::characters(), and GenericSAXHandler::needsCharacterData().
|
private |
the level of corner detail in the loaded network
Definition at line 402 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and myStartElement().
|
private |
The currently parsed edge's definition (to add loaded lanes to)
Definition at line 366 of file NIImporter_SUMO.h.
Referenced by addEdge(), addLane(), addStopOffsets(), and myEndElement().
|
private |
The currently parsed junction definition to help in reconstructing crossings.
Definition at line 369 of file NIImporter_SUMO.h.
Referenced by addJunction(), addRequest(), and myEndElement().
|
private |
The currently parsed lanes's definition (to add the shape to)
Definition at line 372 of file NIImporter_SUMO.h.
Referenced by addLane(), addStopOffsets(), myEndElement(), and myStartElement().
|
private |
The currently parsed traffic light.
Definition at line 375 of file NIImporter_SUMO.h.
Referenced by myEndElement(), and myStartElement().
|
private |
default spreadType defined in the network
Definition at line 422 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), addEdge(), and myStartElement().
|
private |
list of parameter keys to discard
Definition at line 440 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and myStartElement().
|
private |
Loaded edge definitions.
Definition at line 348 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), addConnection(), myEndElement(), parseProhibitionConnection(), and ~NIImporter_SUMO().
|
privateinherited |
The root element to expect, empty string disables the check.
Definition at line 336 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::startElement().
|
privateinherited |
The name of the currently parsed file.
Definition at line 333 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::getFileName(), and GenericSAXHandler::setFileName().
|
private |
overlap option for loaded network
Definition at line 424 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and myStartElement().
|
private |
whether the loaded network contains internal lanes
Definition at line 393 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and addEdge().
|
private |
custom settings for internal junction computation
Definition at line 428 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and myStartElement().
|
private |
Definition at line 431 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and myStartElement().
|
private |
higherSpeed option for loaded network
Definition at line 426 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and myStartElement().
|
private |
custom settings for junction shape computation
Definition at line 430 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and myStartElement().
|
private |
element to receive parameters
Definition at line 387 of file NIImporter_SUMO.h.
Referenced by addConnection(), addEdge(), addJunction(), addLane(), myEndElement(), and myStartElement().
|
private |
whether turning speed was limited in the network
Definition at line 414 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and myStartElement().
|
private |
the level of geometry detail for internal lanes in the loaded network
Definition at line 405 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and myStartElement().
|
private |
The coordinate transformation which was used to build the loaded network.
Definition at line 378 of file NIImporter_SUMO.h.
Referenced by addConnection(), addEdge(), addJunction(), addLane(), myStartElement(), and ~NIImporter_SUMO().
|
private |
The network builder to fill.
Definition at line 354 of file NIImporter_SUMO.h.
Referenced by _loadNetwork().
|
private |
the loaded network version
Definition at line 390 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), addConnection(), and myStartElement().
|
privateinherited |
Definition at line 356 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::retrieveNextSectionStart(), GenericSAXHandler::startElement(), and GenericSAXHandler::~GenericSAXHandler().
|
private |
The node container to fill.
Definition at line 357 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and addJunction().
|
privateinherited |
The handler to give control back to.
Definition at line 327 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::callParentEnd(), GenericSAXHandler::endElement(), and GenericSAXHandler::registerParent().
|
privateinherited |
The tag indicating that control should be given back.
Definition at line 330 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::endElement(), and GenericSAXHandler::registerParent().
|
private |
The pedestrian crossings found in the network.
Definition at line 381 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), addConnection(), addEdge(), and addLane().
|
privateinherited |
Definition at line 306 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::GenericSAXHandler(), GenericSAXHandler::startElement(), and GenericSAXHandler::~GenericSAXHandler().
|
privateinherited |
the map from ids to their string representation
Definition at line 309 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::GenericSAXHandler(), and GenericSAXHandler::startElement().
|
private |
Loaded prohibitions.
Definition at line 351 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and addProhibition().
|
private |
list of node id with rail signals (no NBTrafficLightDefinition exists)
Definition at line 437 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and addJunction().
|
private |
whether all lanes of an edge should have the same stop line
Definition at line 408 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and myStartElement().
|
privateinherited |
whether the reader has already seen the root element
Definition at line 342 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::startElement().
|
private |
loaded roundabout edges
Definition at line 434 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and addRoundabout().
|
privateinherited |
The tag indicating the current section to parse.
Definition at line 345 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::endElement(), GenericSAXHandler::setSection(), and GenericSAXHandler::startElement().
|
privateinherited |
whether the reader has already seen the end of the section
Definition at line 351 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::sectionFinished(), GenericSAXHandler::setSection(), and GenericSAXHandler::startElement().
|
privateinherited |
whether an element of the current section is open
Definition at line 354 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::endElement(), GenericSAXHandler::setSection(), and GenericSAXHandler::startElement().
|
privateinherited |
whether the reader has already seen the begin of the section
Definition at line 348 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::setSection(), and GenericSAXHandler::startElement().
|
privateinherited |
Definition at line 320 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::convertTag(), and GenericSAXHandler::GenericSAXHandler().
|
private |
The node container to fill.
Definition at line 360 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and myEndElement().
|
private |
whether some right-of-way checks at traffic light junctions should be disabled
Definition at line 420 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and myStartElement().
|
private |
The handler for parsing edge types and restrictions.
Definition at line 363 of file NIImporter_SUMO.h.
Referenced by myStartElement().
|
private |
Map from walkingArea edge IDs to custom shapes.
Definition at line 384 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), addConnection(), and addLane().
|
private |
whether walkingareas must be built
Definition at line 411 of file NIImporter_SUMO.h.
Referenced by _loadNetwork(), and myStartElement().