48 myRerouterIntervalParent(rerouterIntervalDialog->getEditedRerouterInterval()),
49 myClosedEdge(rerouterIntervalDialog->getEditedRerouterInterval()->getRerouterParent()->getEdgeChilds().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
GNEEdge * retrieveEdge(const std::string &id, bool failHard=true)
get edge by id
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
SVCPermissions myAllowedVehicles
codified allowed vehicles
SVCPermissions myDisallowedVehicles
codified disallowed vehicles
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
GNERerouterInterval * myRerouterIntervalParent
reference to rerouter interval parent
GNEClosingReroute(GNERerouterIntervalDialog *rerouterIntervalDialog)
constructor (Used in GNERerouterIntervalDialog)
bool isValid(SumoXMLAttr key, const std::string &value)
void writeClosingReroute(OutputDevice &device) const
write ClosingReroute
void p_add(GNEChange_Attribute *cmd)
special method, avoid empty changes, always execute
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
~GNEClosingReroute()
destructor
friend class GNEChange_Attribute
declare friend class
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...
std::string getAttribute(SumoXMLAttr key) const
This functions has to be implemented in all GNEAttributeCarriers.
const std::string getID() const
function to support debugging
GNEEdge * myClosedEdge
closed edge
bool canParseVehicleClasses(const std::string &classes)
Checks whether the given string contains only known vehicle classes.
A road/street connecting two junctions (netedit-version)
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
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.
bool closeTag()
Closes the most recently opened tag.
OutputDevice & openTag(const std::string &xmlElement)
Opens an XML tag.
GNERerouterInterval * getRerouterIntervalParent() const
get rerouter interval parent
SumoXMLTag getTag() const
get XML Tag assigned to this object