36 GNEChange(TAZElement, forward, TAZElement->isAttributeCarrierSelected()),
37 myTAZElement(TAZElement) {
38 myTAZElement->incRef(
"GNEChange_TAZElement");
const std::string & getTagStr() const
get tag assigned to this object in string format
const GNETagProperties & getTagProperty() const
get Tag Property assigned to this object
void unselectAttributeCarrier(const bool changeFlag=true)
unselect attribute carrier using GUIGlobalSelection
GNENet * getNet() const
get pointer to net
void selectAttributeCarrier(const bool changeFlag=true)
select attribute carrier using GUIGlobalSelection
FXString redoName() const
get Redo name
GNETAZElement * myTAZElement
pointer to TAZElement
FXString undoName() const
return undoName
~GNEChange_TAZElement()
Destructor.
the function-object for an editing operation (abstract base)
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag
const bool mySelectedElement
flag for check if element is selected
void addElementInParentsAndChildren(T *element)
add given element into parents and children (only use in redo() function)
void removeElementFromParentsAndChildren(T *element)
remove given element from parents and children (only use in redo() function)
void restoreHierarchicalContainers()
restore container (only use in undo() function)
void deleteTAZElement(GNETAZElement *TAZElement)
delete TAZElement element of GNENet container
void insertTAZElement(GNETAZElement *TAZElement)
Insert a TAZElement element int GNENet container.
GNETAZElement * retrieveTAZElement(SumoXMLTag type, const std::string &id, bool hardFail=true) const
Returns the named TAZElement.
GNENetHelper::AttributeCarriers * getAttributeCarriers() const
retrieve all attribute carriers of Net
void decRef(const std::string &debugMsg="")
Decrease reference.
bool unreferenced()
check if object ins't referenced
An Element which don't belongs to GNENet but has influency in the simulation.
const std::string & getID() const
get ID
SumoXMLTag getTag() const
get Tag vinculated with this attribute Property