17 #ifndef GNEChange_Attribute_h 18 #define GNEChange_Attribute_h 59 const std::string& value,
60 bool customOrigValue =
false,
61 const std::string& origValue =
"");
71 const std::string& value,
72 bool customOrigValue =
false,
73 const std::string& origValue =
"");
83 const std::string& value,
84 bool customOrigValue =
false,
85 const std::string& origValue =
"");
the function-object for an editing operation (abstract base)
SumoXMLAttr myKey
The attribute name.
GNEChange_Attribute(GNENetElement *netElement, const SumoXMLAttr key, const std::string &value, bool customOrigValue=false, const std::string &origValue="")
Constructor for NetElements.
GNENet * myNet
pointer to Net (used to simplify code)
A NBNetBuilder extended by visualisation and editing capabilities.
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
GNEAdditional * myAdditional
used if AC is an additional element
GNENetElement * myNetElement
used if AC is an net element
An Element which don't belongs to GNENet but has influency in the simulation.
FXString redoName() const
get Redo name
GNEAttributeCarrier * myAC
the net to which all operations shall be applied
GNEShape * myShape
used if AC is a shape element
std::string myOrigValue
the original value