49 myRerouterIntervalParent(rerouterIntervalDialog->getEditedRerouterInterval()),
50 myClosedLane(rerouterIntervalDialog->getEditedRerouterInterval()->getRerouterParent()->getEdgeChilds().at(0)->getLanes().at(0)),
std::string getVehicleClassNames(SVCPermissions permissions, bool expand)
Returns the ids of the given classes, divided using a ' '.
OutputDevice & writeAttr(const SumoXMLAttr attr, const T &val)
writes a named attribute
SVCPermissions myDisallowedVehicles
codified disallowed vehicles
~GNEClosingLaneReroute()
destructor
Dialog for edit rerouter intervals.
lane of a reroute of type closing
int SVCPermissions
bitset where each bit declares whether a certain SVC may use this edge/lane
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
GNERerouterInterval * getRerouterIntervalParent() const
get rerouter interval parent
void p_add(GNEChange_Attribute *cmd)
special method, avoid empty changes, always execute
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
std::string getAttribute(SumoXMLAttr key) const
This functions has to be implemented in all GNEAttributeCarriers.
friend class GNEChange_Attribute
declare friend class
SVCPermissions myAllowedVehicles
codified allowed vehicles
GNERerouter * getRerouterParent() const
get rerouter parent
SVCPermissions parseVehicleClasses(const std::string &allowedS)
Parses the given definition of allowed vehicle classes into the given containers Deprecated classes g...
void writeClosingLaneReroute(OutputDevice &device) const
const std::string getID() const
function to support debugging
GNELane * myClosedLane
closed lane
bool isValid(SumoXMLAttr key, const std::string &value)
bool canParseVehicleClasses(const std::string &classes)
Checks whether the given string contains only known vehicle classes.
GNEViewNet * getViewNet() const
Returns a pointer to GNEViewNet in which additional element is located.
GNENet * getNet() const
get the net object
Static storage of an output device and its base (abstract) implementation.
GNERerouterInterval * myRerouterIntervalParent
reference to rerouter interval parent
bool closeTag()
Closes the most recently opened tag.
GNELane * retrieveLane(const std::string &id, bool failHard=true, bool checkVolatileChange=false)
get lane by id
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
GNEClosingLaneReroute(GNERerouterIntervalDialog *rerouterIntervalDialog)
constructor (Used in GNERerouterIntervalDialog)
OutputDevice & openTag(const std::string &xmlElement)
Opens an XML tag.
SumoXMLTag getTag() const
get XML Tag assigned to this object