33 : myParser(nullptr), myMoreAvailable(true), myHandler(handler) {
const std::string & getFileName() const
returns the current file name
Parser for routes during their loading.
SUMOTime getLastDepart() const
Returns the last loaded depart time.
SUMOTime getFirstDepart() const
returns the first departure time that was ever read
~SUMORouteLoader()
destructor
SUMORouteHandler * myHandler
the used Handler
bool myMoreAvailable
flag with information whether more vehicles should be available
bool moreAvailable() const
returns the information whether new data is available
SUMOTime loadUntil(SUMOTime time)
loads vehicles until a vehicle is read that starts after the specified time
SUMOSAXReader * myParser
the used SAXReader
SUMORouteLoader(SUMORouteHandler *handler)
constructor
SUMOTime getFirstDepart() const
returns the first departure time that was ever read
bool parseFirst(std::string systemID)
Start parsing the given file using parseFirst of myXMLReader.
bool parseNext()
Continue a progressive parse started by parseFirst.
static SUMOSAXReader * getSAXReader(SUMOSAXHandler &handler, const bool isNet=false, const bool isRoute=false)
Builds a reader and assigns the handler to it.