![]() |
SUMO - Simulation of Urban MObility
|
#include <NBPTStopCont.h>
Public Member Functions | |
std::map< std::string, NBPTStop * >::const_iterator | begin () const |
Returns the pointer to the begin of the stored pt stops. More... | |
std::map< std::string, NBPTStop * >::const_iterator | end () const |
Returns the pointer to the end of the stored pt stops. More... | |
bool | insert (NBPTStop *ptStop) |
Inserts a node into the map. More... | |
void | process (NBEdgeCont &cont) |
int | size () const |
Returns the number of pt stops stored in this container. More... | |
Private Types | |
typedef std::map< std::string, NBPTStop * > | PTStopsCont |
Definition of the map of names to pt stops. More... | |
Private Attributes | |
PTStopsCont | myPTStops |
The map of names to pt stops. More... | |
Definition at line 30 of file NBPTStopCont.h.
|
private |
Definition of the map of names to pt stops.
Definition at line 64 of file NBPTStopCont.h.
|
inline |
Returns the pointer to the begin of the stored pt stops.
Definition at line 48 of file NBPTStopCont.h.
References myPTStops.
Referenced by NBNetBuilder::moveToOrigin(), and NWWriter_XML::writePTStops().
|
inline |
Returns the pointer to the end of the stored pt stops.
Definition at line 56 of file NBPTStopCont.h.
References myPTStops, and process().
Referenced by NBNetBuilder::moveToOrigin(), and NWWriter_XML::writePTStops().
bool NBPTStopCont::insert | ( | NBPTStop * | ptStop | ) |
Inserts a node into the map.
[in] | stop | The pt stop to insert |
Definition at line 27 of file NBPTStopCont.cpp.
References NBPTStop::getID(), and myPTStops.
Referenced by NIImporter_OpenStreetMap::insertEdge().
void NBPTStopCont::process | ( | NBEdgeCont & | cont | ) |
Definition at line 36 of file NBPTStopCont.cpp.
References NBEdgeCont::getByID(), NBEdgeCont::getGeneratedFrom(), NBEdge::getLaneID(), NBEdge::getLaneShape(), NBEdge::getLength(), myPTStops, PositionVector::nearest_offset_to_point2D(), and WRITE_WARNING.
Referenced by NBNetBuilder::compute(), NBNetBuilder::computeSingleNode(), and end().
|
inline |
Returns the number of pt stops stored in this container.
Definition at line 41 of file NBPTStopCont.h.
References myPTStops.
|
private |