 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
19 #ifndef NIXMLNodesHandler_h
20 #define NIXMLNodesHandler_h
74 bool updateEdgeGeometries,
Importer for network nodes stored in XML.
An upper class for objects with additional parameters.
Storage for edges, including some functionality operating on multiple edges.
SAX-handler base for SUMO-files.
A container for traffic light definitions and built programs.
NBEdgeCont & myEdgeCont
The node container to add built nodes to.
Position myPosition
The position of the currently parsed node.
void deleteNode(const SUMOSAXAttributes &attrs)
void myEndElement(int element)
Called when a closing tag occurs.
static methods for processing the coordinates conversion for the current net
void addJoinExclusion(const SUMOSAXAttributes &attrs)
NIXMLNodesHandler & operator=(const NIXMLNodesHandler &s)
invalid assignment operator
Container for nodes during the netbuilding process.
NBTrafficLightLogicCont & myTLLogicCont
The traffic lights container to add built tls to.
Parameterised * myLastParameterised
last item the could receive parameters
~NIXMLNodesHandler()
Destructor.
std::string myID
The id of the currently parsed node.
void addNode(const SUMOSAXAttributes &attrs)
static void processTrafficLightDefinitions(const SUMOSAXAttributes &attrs, NBNode *currentNode, NBTrafficLightLogicCont &tlc)
Builds the defined traffic light or adds a node to it.
A point in 2D or 3D with translation and scaling methods.
A storage for options typed value containers)
void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
void addJoinCluster(const SUMOSAXAttributes &attrs)
NIXMLNodesHandler(NBNodeCont &nc, NBEdgeCont &ec, NBTrafficLightLogicCont &tlc, OptionsCont &options)
Constructor.
NBNodeCont & myNodeCont
The node container to add built nodes to.
Represents a single node (junction) during network building.
Encapsulated SAX-Attributes.
static NBNode * processNodeType(const SUMOSAXAttributes &attrs, NBNode *node, const std::string &nodeID, const Position &position, bool updateEdgeGeometries, NBNodeCont &nc, NBEdgeCont &ec, NBTrafficLightLogicCont &tlc)
parses node attributes (not related to positioning)
GeoConvHelper * myLocation
The coordinate transformation which was used compute the node coordinates.
OptionsCont & myOptions
A reference to the program's options.