36 GNEChange(shape, forward, shape->isAttributeCarrierSelected()),
38 myShape->incRef(
"GNEChange_Shape");
SumoXMLTag
Numbers representing SUMO-XML - element names.
@ SUMO_TAG_POI
begin/end of the description of a Point of interest
@ SUMO_TAG_POILANE
begin/end of the description of a Point of interest over Lane (used by Netedit)
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
~GNEChange_Shape()
Destructor.
FXString undoName() const
return undoName
FXString redoName() const
get Redo name
GNEShape * myShape
pointer to shape
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 deleteShape(GNEShape *shape)
delete shape element of GNENet container
void insertShape(GNEShape *shape)
Insert a shape element int GNENet container.
GNENetHelper::AttributeCarriers * getAttributeCarriers() const
retrieve all attribute carriers of Net
GNEShape * retrieveShape(SumoXMLTag type, const std::string &id, bool hardFail=true) const
Returns the named shape.
void decRef(const std::string &debugMsg="")
Decrease reference.
bool unreferenced()
check if object ins't referenced
const std::string & getID() const
get ID (all shapes have one)
SumoXMLTag getTag() const
get Tag vinculated with this attribute Property