![]() |
SUMO - Simulation of Urban MObility
|
A ride is part of a trip, e.g., go from here to here by car or bus. More...
#include <ROPerson.h>
Public Member Functions | |
const ROEdge * | getDestination () const |
const ROEdge * | getOrigin () const |
Ride (const ROEdge *const _from, const ROEdge *const _to, const std::string &_lines, const std::string &_destStop="") | |
void | saveAsXML (OutputDevice &os) const |
Private Member Functions | |
Ride & | operator= (const Ride &src) |
Invalidated assignment operator. More... | |
Private Attributes | |
const std::string | destStop |
const ROEdge *const | from |
const std::string | lines |
const ROEdge *const | to |
A ride is part of a trip, e.g., go from here to here by car or bus.
Definition at line 154 of file ROPerson.h.
|
inline |
Definition at line 156 of file ROPerson.h.
|
inlinevirtual |
Implements ROPerson::TripItem.
Definition at line 163 of file ROPerson.h.
References ROPerson::PlanItem::saveAsXML().
|
inlinevirtual |
Implements ROPerson::TripItem.
Definition at line 160 of file ROPerson.h.
|
virtual |
Implements ROPerson::TripItem.
Definition at line 121 of file ROPerson.cpp.
References OutputDevice::closeTag(), OutputDevice::openTag(), SUMO_ATTR_BUS_STOP, SUMO_ATTR_FROM, SUMO_ATTR_LINES, SUMO_ATTR_TO, SUMO_TAG_RIDE, and OutputDevice::writeAttr().
|
private |
Definition at line 172 of file ROPerson.h.
|
private |
Definition at line 169 of file ROPerson.h.
|
private |
Definition at line 171 of file ROPerson.h.
|
private |
Definition at line 170 of file ROPerson.h.