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