28 : myName(std::move(name)), myPTLineId(-1), myRef(name) {
91 myRef = std::move(ref);
97 route += (
" " + it->getID());
OutputDevice & writeAttr(const SumoXMLAttr attr, const T &val)
writes a named attribute
std::vector< long long int > * getWaysNodes(std::string wayId)
std::vector< std::string > myWays
std::vector< NBPTStop * > myPTStops
void addPTStop(NBPTStop *pStop)
void setMyNumOfStops(unsigned long numStops)
The representation of a single pt stop.
begin/end of the description of a route
unsigned long myNumOfStops
void addWayNode(long long int way, long long int node)
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
void setRef(std::string basic_string)
const std::vector< std::string > & getMyWays() const
NBPTLine(std::string name)
std::vector< NBEdge * > myRoute
std::map< std::string, std::vector< long long int > > myWaysNodes
Static storage of an output device and its base (abstract) implementation.
bool closeTag()
Closes the most recently opened tag.
std::vector< NBPTStop * > getStops()
void write(OutputDevice &device)
void setId(long long int id)
void addEdgeVector(std::vector< NBEdge * >::iterator fr, std::vector< NBEdge * >::iterator to)
OutputDevice & openTag(const std::string &xmlElement)
Opens an XML tag.