36 #ifdef CHECK_MEMORY_LEAKS
38 #endif // CHECK_MEMORY_LEAKS
45 : myParser(0), myMoreAvailable(true), myHandler(handler) {
bool myMoreAvailable
information whether more vehicles should be available
~SUMORouteLoader()
destructor
SUMOTime getFirstDepart() const
returns the first departure time that was ever read
const std::string & getFileName() const
returns the current file name
SUMOTime loadUntil(SUMOTime time)
bool moreAvailable() const
returns the information whether new data is available
static SUMOSAXReader * getSAXReader(SUMOSAXHandler &handler)
Builds a reader and assigns the handler to it.
SUMORouteHandler * myHandler
the used Handler
SUMOTime getFirstDepart() const
returns the first departure time that was ever read
Parser for routes during their loading.
bool parseFirst(std::string systemID)
SUMOSAXReader * myParser
the used SAXReader
SUMOTime getLastDepart() const
Returns the last loaded depart time.
SUMORouteLoader(SUMORouteHandler *handler)
constructor