![]() |
SUMO - Simulation of Urban MObility
|
#include <NBPTLineCont.h>

Public Member Functions | |
| std::vector< NBPTLine * >::const_iterator | begin () const |
| Returns the pointer to the begin of the stored pt lines. More... | |
| std::vector< NBPTLine * >::const_iterator | end () const |
| Returns the pointer to the end of the stored pt lines. More... | |
| void | insert (NBPTLine *pLine) |
| insert new line More... | |
| NBPTLineCont () | |
| constructor More... | |
| void | process (NBEdgeCont &cont) |
| ~NBPTLineCont () | |
| destructor More... | |
Private Types | |
| typedef std::vector< NBPTLine * > | PTLinesCont |
| Definition of the map of names to pt lines. More... | |
Private Member Functions | |
| void | constructRoute (NBPTLine *myPTLine, NBEdgeCont &cont) |
| void | reviseStops (NBPTLine *myPTLine, NBEdgeCont &cont) |
Private Attributes | |
| long long int | myIdCnt |
| PTLinesCont | myPTLines |
| The map of names to pt lines. More... | |
Static Private Attributes | |
| static const int | BWD |
| static const int | FWD |
Definition at line 29 of file NBPTLineCont.h.
|
private |
Definition of the map of names to pt lines.
Definition at line 62 of file NBPTLineCont.h.
| NBPTLineCont::NBPTLineCont | ( | ) |
constructor
Definition at line 39 of file NBPTLineCont.cpp.
| NBPTLineCont::~NBPTLineCont | ( | ) |
|
inline |
Returns the pointer to the begin of the stored pt lines.
Definition at line 44 of file NBPTLineCont.h.
References myPTLines.
Referenced by NWWriter_XML::writePTLines().
|
private |
Definition at line 173 of file NBPTLineCont.cpp.
References NBPTLine::addEdgeVector(), NBPTStop::getEdgeId(), NBPTLine::getMyWays(), NBPTLine::getName(), NBPTLine::getStops(), and NBEdgeCont::retrieve().
Referenced by process().
|
inline |
Returns the pointer to the end of the stored pt lines.
Definition at line 51 of file NBPTLineCont.h.
References myPTLines, and process().
Referenced by NWWriter_XML::writePTLines().
| void NBPTLineCont::insert | ( | NBPTLine * | pLine | ) |
insert new line
Definition at line 52 of file NBPTLineCont.cpp.
References myIdCnt, myPTLines, and NBPTLine::setId().
Referenced by NIImporter_OpenStreetMap::RelationHandler::myEndElement().
| void NBPTLineCont::process | ( | NBEdgeCont & | cont | ) |
Definition at line 56 of file NBPTLineCont.cpp.
References constructRoute(), myPTLines, and reviseStops().
Referenced by NBNetBuilder::compute(), and end().
|
private |
Definition at line 69 of file NBPTLineCont.cpp.
References BWD, NBPTStopCont::findLaneAndComputeBusStopExtend(), FWD, NBEdgeCont::getByID(), Named::getID(), NBPTLine::getMyWays(), NBPTLine::getName(), NBPTStopCont::getReverseEdge(), NBPTLine::getStops(), NBPTLine::getWaysNodes(), and WRITE_WARNING.
Referenced by process().
|
staticprivate |
Definition at line 59 of file NBPTLineCont.h.
Referenced by reviseStops().
|
staticprivate |
Definition at line 58 of file NBPTLineCont.h.
Referenced by reviseStops().
|
private |
Definition at line 67 of file NBPTLineCont.h.
Referenced by insert().
|
private |
The map of names to pt lines.
Definition at line 65 of file NBPTLineCont.h.
Referenced by begin(), end(), insert(), process(), and ~NBPTLineCont().