 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
34 : myParser(nullptr), myMoreAvailable(true), myHandler(handler) {
SUMOTime getFirstDepart() const
returns the first departure time that was ever read
SUMORouteHandler * myHandler
the used Handler
SUMOSAXReader * myParser
the used SAXReader
~SUMORouteLoader()
destructor
bool myMoreAvailable
flag with information whether more vehicles should be available
SUMOTime loadUntil(SUMOTime time)
loads vehicles until a vehicle is read that starts after the specified time
bool parseFirst(std::string systemID)
const std::string & getFileName() const
returns the current file name
bool moreAvailable() const
returns the information whether new data is available
Parser for routes during their loading.
SUMORouteLoader(SUMORouteHandler *handler)
constructor
static SUMOSAXReader * getSAXReader(SUMOSAXHandler &handler)
Builds a reader and assigns the handler to it.
SUMOTime getFirstDepart() const
returns the first departure time that was ever read
SUMOTime getLastDepart() const
Returns the last loaded depart time.