 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
68 std::ostringstream oss;
69 for (std::list<AGPosition>::const_iterator it = trip.
getPassed()->begin(); it != trip.
getPassed()->end(); ++it) {
73 oss << it->getStreet().getID();
Static storage of an output device and its base (abstract) implementation.
AGPosition getArr() const
AGActivityTripWriter(OutputDevice &file)
const std::string & getType() const
@ SUMO_ATTR_COLOR
A color information.
@ SUMO_TAG_VTYPE
description of a vehicle type
double getPosition() const
Provides the relative position of this AGPosition on the street.
bool closeTag(const std::string &comment="")
Closes the most recently opened tag and optionally adds a comment.
const std::list< AGPosition > * getPassed() const
OutputDevice & writeAttr(const SumoXMLAttr attr, const T &val)
writes a named attribute
static const RGBColor BLUE
std::string time2string(SUMOTime t)
static const RGBColor RED
named colors
void addTrip(const AGTrip &trip)
AGPosition getDep() const
OutputDevice & myTripOutput
OutputDevice & openTag(const std::string &xmlElement)
Opens an XML tag.
void lf()
writes a line feed if applicable
const AGStreet & getStreet() const
Provides the street this AGPosition is located on.
static const RGBColor GREEN
const std::string & getVehicleName() const
const std::string & getID() const
Returns the id.
@ SUMO_TAG_TRIP
a single trip definition (used by router)