22 #ifndef RORouteHandler_h
23 #define RORouteHandler_h
68 const bool emptyDestinationsAllowed,
69 const bool ignoreErrors);
123 void closeRoute(
const bool mayBeDisconnected =
false);
144 void parseEdges(
const std::string& desc, std::vector<const ROEdge*>& into,
145 const std::string& rid);
RORouteDef * myCurrentAlternatives
The currently parsed route alternatives.
const bool myEmptyDestinationsAllowed
Information whether the "to" attribute is mandatory.
void closeVehicleTypeDistribution()
SUMOReal myCurrentCosts
The currently parsed route costs.
std::vector< const ROEdge * > myActiveRoute
The current route.
void closePerson()
Ends the processing of a person.
void openRouteDistribution(const SUMOSAXAttributes &attrs)
virtual void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
MsgHandler *const myErrorOutput
Depending on the "ignore-errors" option different outputs are used.
virtual void myEndElement(int element)
Called when a closing tag occurs.
void openVehicleTypeDistribution(const SUMOSAXAttributes &attrs)
void closeVehicle()
Ends the processing of a vehicle.
RandomDistributor< SUMOVTypeParameter * > * myCurrentVTypeDistribution
The currently parsed distribution of vehicle types (probability->vehicle type)
RORouteHandler(RONet &net, const std::string &file, const bool tryRepair, const bool emptyDestinationsAllowed, const bool ignoreErrors)
standard constructor
RONet & myNet
The current route.
Encapsulated SAX-Attributes.
void addStop(const SUMOSAXAttributes &attrs)
Processing of a stop.
RORouteHandler & operator=(const RORouteHandler &s)
Invalidated assignment operator.
A basic edge for routing applications.
void parseEdges(const std::string &desc, std::vector< const ROEdge * > &into, const std::string &rid)
Parse edges from strings.
Parser for routes during their loading.
The router's network representation.
void openRoute(const SUMOSAXAttributes &attrs)
void parseFromTo(std::string element, const SUMOSAXAttributes &attrs)
Called for parsing from and to and the corresponding taz attributes.
const bool myTryRepair
Information whether routes shall be repaired.
Parser and container for routes during their loading.
Base class for a vehicle's route definition.
void closeRoute(const bool mayBeDisconnected=false)
OutputDevice_String * myActivePlan
The plan of the current person.
virtual ~RORouteHandler()
standard destructor
void closeFlow()
Ends the processing of a flow.
A complete router's route.
An output device that encapsulates an ofstream.
void closeRouteDistribution()
std::string myCurrentVTypeDistributionID
The id of the currently parsed vehicle type distribution.