20 #ifndef GNEChange_Attribute_h 21 #define GNEChange_Attribute_h 61 const std::string& value,
62 bool customOrigValue =
false,
63 const std::string& origValue =
"");
the function-object for an editing operation (abstract base)
GNEChange_Attribute(GNEAttributeCarrier *ac, const SumoXMLAttr key, const std::string &value, bool customOrigValue=false, const std::string &origValue="")
Constructor.
SumoXMLAttr myKey
The attribute name.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
the function-object for an editing operation (abstract base)
bool trueChange()
wether original and new value differ
std::string myNewValue
the original value
~GNEChange_Attribute()
Destructor.
FXString undoName() const
return undoName
FXString redoName() const
get Redo name
GNEAttributeCarrier * myAC
the net to which all operations shall be applied
std::string myOrigValue
the original value