 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
40 myOriginalAttributes(originalAttributes),
41 myNewAttributes(newAttributes) {
42 myAC->incRef(
"GNEChange_EnableAttribute " + myAC->getTagProperty().getTagStr());
104 return (
"Undo change " +
myAC->
getTagStr() +
" attribute").c_str();
110 return (
"Redo change " +
myAC->
getTagStr() +
" attribute").c_str();
bool unreferenced()
check if object ins't referenced
const std::string getID() const
function to support debugging
bool isAdditional() const
return true if tag correspond to an additional
begin/end of the description of a polygon
const std::string & getTagStr() const
get Tag vinculated with this attribute Property in String Format (used to avoid multiple calls to toS...
FXString redoName() const
get Redo name
void requiereSaveNet(bool value)
inform that net has to be saved
A NBNetBuilder extended by visualisation and editing capabilities.
bool isNetElement() const
return true if tag correspond to a netElement
begin/end of the description of a Point of interest
bool isShape() const
return true if tag correspond to a shape
FXString undoName() const
return undoName
const int myOriginalAttributes
original attributes
SumoXMLTag getTag() const
get Tag vinculated with this attribute Property
virtual void setEnabledAttribute(const int enabledAttributes)=0
method for enabling the attribute and nothing else (used in GNEChange_EnableAttribute)
const TagProperties & getTagProperty() const
get Tag Property assigned to this object
void requiereSaveAdditionals(bool value)
inform that additionals has to be saved
begin/end of the description of a Point of interest over Lane (used by Netedit)
bool isDemandElement() const
return true if tag correspond to a demand element
void requiereSaveDemandElements(bool value)
inform that demand elements has to be saved
~GNEChange_EnableAttribute()
Destructor.
the function-object for an editing operation (abstract base)
GNENet * myNet
the net to which operations shall be applied or which shall be informed about gui updates (we are not...
void decRef(const std::string &debugMsg="")
Decrease reference.
GNEAttributeCarrier * myAC
the net to which all operations shall be applied
const int myNewAttributes
original attributes
virtual bool removePolygon(const std::string &id, bool useLock=true)
Removes a polygon from the container.
virtual bool removePOI(const std::string &id)
Removes a PoI from the container.
const std::string & getTagStr() const
get tag assigned to this object in string format
the function-object for an editing operation (abstract base)