76 std::ostringstream oss;
77 for (std::list<AGPosition>::const_iterator it = trip.
getPassed()->begin(); it != trip.
getPassed()->end(); ++it) {
81 oss << it->getStreet().getID();
OutputDevice & writeAttr(const SumoXMLAttr attr, const T &val)
writes a named attribute
static const RGBColor BLUE
AGPosition getDep() const
const AGStreet & getStreet() const
Provides the street this AGPosition is located on.
OutputDevice & myTripOutput
SUMOReal getPosition() const
Provides the relative position of this AGPosition on the street.
const std::string & getID() const
Returns the id.
static const RGBColor GREEN
const std::list< AGPosition > * getPassed() const
const std::string & getVehicleName() const
AGPosition getArr() const
static const RGBColor RED
AGActivityTripWriter(OutputDevice &file)
void addTrip(const AGTrip &trip)
Static storage of an output device and its base (abstract) implementation.
bool closeTag()
Closes the most recently opened tag.
OutputDevice & openTag(const std::string &xmlElement)
Opens an XML tag.
void lf()
writes a line feed if applicable
const std::string & getType() const