ODMatrix & myMatrix
The matrix to fill.
const int VEHPARS_TO_TAZ_SET
ROMARouteHandler(ODMatrix &matrix)
standard constructor
std::string vtypeid
The vehicle's type id.
static SUMOVehicleParameter * parseVehicleAttributes(const SUMOSAXAttributes &attrs, const bool hardFail, const bool optionalID=false, const bool skipDepart=false, const bool isPerson=false)
Parses a vehicle's attributes.
int parametersSet
Information for the router which parameter were set, TraCI may modify this (whe changing color) ...
virtual ~ROMARouteHandler()
standard destructor
SAX-handler base for SUMO-files.
virtual bool hasAttribute(int id) const =0
Returns the information whether the named (by its enum-value) attribute is within the current list...
#define WRITE_WARNING(msg)
static OptionsCont & getOptions()
Retrieves the options.
std::string toTaz
The vehicle's destination zone (district)
virtual std::string getString(int id) const =0
Returns the string-value of the named (by its enum-value) attribute.
void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
std::vector< std::string > myTazParamKeys
The keys for reading taz.
Encapsulated SAX-Attributes.
parameter associated to a certain key
An O/D (origin/destination) matrix.
bool add(double vehicleNumber, SUMOTime begin, SUMOTime end, const std::string &origin, const std::string &destination, const std::string &vehicleType, const bool originIsEdge=false, const bool destinationIsEdge=false)
Builds a single cell from the given values, verifying them.
std::vector< std::string > getStringVector(const std::string &name) const
Returns the list of string-vector-value of the named option (only for Option_String) ...
std::string fromTaz
The vehicle's origin zone (district)
void myEndElement(int element)
Callback method for a closing tag to implement by derived classes.
const int VEHPARS_FROM_TAZ_SET
bool wasSet(int what) const
Returns whether the given parameter was set.
SUMOVehicleParameter * myVehicleParameter
The current vehicle parameters.
a single trip definition (used by router)
std::string id
The vehicle's id.