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