22 #ifndef RONetHandler_h
23 #define RONetHandler_h
202 typedef std::map<std::string, std::pair<std::string, std::string> >
JunctionGraph;
std::string myCurrentName
The name of the edge/node that is currently processed.
ROAbstractEdgeBuilder & myEdgeBuilder
The object used to build of edges of the desired type.
void parseDistrict(const SUMOSAXAttributes &attrs)
void parseJunction(const SUMOSAXAttributes &attrs)
Parses a junction's position.
virtual void parseLane(const SUMOSAXAttributes &attrs)
Parses and builds a lane.
SAX-handler base for SUMO-files.
Interface for building instances of router-edges.
JunctionGraph myJunctionGraph
virtual void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
RONetHandler(RONet &net, ROAbstractEdgeBuilder &eb)
Constructor.
Encapsulated SAX-Attributes.
void parseBusStop(const SUMOSAXAttributes &attrs)
virtual ~RONetHandler()
Destructor.
A basic edge for routing applications.
The router's network representation.
RONetHandler & operator=(const RONetHandler &src)
Invalidated assignment operator.
A storage for options typed value containers)
The handler that parses a SUMO-network for its usage in a router.
RONet & myNet
The net to store the information into.
void parseConnection(const SUMOSAXAttributes &attrs)
virtual void myEndElement(int element)
Called when a closing tag occurs.
std::map< std::string, std::pair< std::string, std::string > > JunctionGraph
temporary data for building the junction graph after network parsing is finished
bool myProcess
An indicator whether the next edge shall be read (internal edges are not read by now) ...
ROEdge * myCurrentEdge
The currently built edge.
void parseDistrictEdge(const SUMOSAXAttributes &attrs, bool isSource)
void parseEdge(const SUMOSAXAttributes &attrs)
Parses and builds an edge.
void parseContainerStop(const SUMOSAXAttributes &attrs)