22 #ifndef NIXMLConnectionsHandler_h
23 #define NIXMLConnectionsHandler_h
123 int* fromLane,
int* toLane);
bool myHaveWarnedAboutDeprecatedLanes
Information whether we have a deprecated attribute.
bool parseLaneInfo(const SUMOSAXAttributes &attributes, NBEdge *fromEdge, NBEdge *toEdge, int *fromLane, int *toLane)
Parses information about lane-2-lane connection when it describes a lane-2-lane relationship.
Importer for edge connections stored in XML.
The representation of a single edge during network building.
bool validateLaneInfo(bool canLanesBeNegative, NBEdge *fromEdge, NBEdge *toEdge, int fromLane, int toLane)
Validates information about lane-2-lane connection. Returns true iff information represents a valid c...
void parseLaneBound(const SUMOSAXAttributes &attrs, NBEdge *from, NBEdge *to)
Parses a connection when it describes a lane-2-lane relationship.
SAX-handler base for SUMO-files.
bool parseLaneDefinition(const SUMOSAXAttributes &attributes, int *fromLane, int *toLane)
Parses information about lane-2-lane connection.
NBEdgeCont & myEdgeCont
The edge container to fill.
bool parseDeprecatedLaneDefinition(const SUMOSAXAttributes &attributes, NBEdge *fromEdge, NBEdge *toEdge, int *fromLane, int *toLane)
Parses information about lane-2-lane connection in deprecated format.
NBConnection parseConnection(const std::string &defRole, const std::string &def)
Returns the connection described by def.
Encapsulated SAX-Attributes.
NIXMLConnectionsHandler & operator=(const NIXMLConnectionsHandler &s)
invalidated assignment operator
void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
Storage for edges, including some functionality operating on multiple edges.
NIXMLConnectionsHandler(NBEdgeCont &ec)
Constructor.
MsgHandler *const myErrorMsgHandler
the handler for loading errors
~NIXMLConnectionsHandler()
Destructor.