22 #ifndef MSStateHandler_h 23 #define MSStateHandler_h void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
Parser and output filter for routes and vehicles state saving and loading.
Structure representing possible vehicle parameter.
std::pair< int, int > myEdgeAndLane
SAX-handler base for SUMO-files.
SUMOVTypeParameter * myCurrentVType
The currently parsed vehicle type.
MSStateHandler(const std::string &file, const SUMOTime offset)
standard constructor
Encapsulated SAX-Attributes.
MSStateHandler & operator=(const MSStateHandler &s)
Invalidated assignment operator.
virtual ~MSStateHandler()
standard destructor
A single mesoscopic segment (cell)
void myEndElement(int element)
Called when a closing tag occurs.
static void saveState(const std::string &file, SUMOTime step)
Saves the current state.