 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
38 myShape->incRef(
"GNEChange_Shape");
void addElementInParentsAndChildren(T *element)
add given element into parents and children (only use in redo() function)
void deleteShape(GNEShape *shape)
delete shape element of GNENet container
bool unreferenced()
check if object ins't referenced
GNEShape * retrieveShape(SumoXMLTag, const std::string &id, bool hardFail=true) const
Returns the named shape.
void removeElementFromParentsAndChildren(T *element)
remove given element from parents and children (only use in redo() function)
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
GNENetHelper::AttributeCarriers * getAttributeCarriers() const
get all attribute carriers used in this net
std::string redoName() const
get Redo name
std::string undoName() const
return undoName
~GNEChange_Shape()
Destructor.
Supermode
@brie enum for supermodes
const std::string & getID() const
get ID (all shapes have one)
void decRef(const std::string &debugMsg="")
Decrease reference.
void restoreHierarchicalContainers()
restore container (only use in undo() function)
void selectAttributeCarrier(const bool changeFlag=true)
select attribute carrier using GUIGlobalSelection
GNENet * getNet() const
get pointer to net
void insertShape(GNEShape *shape)
Insert a shape element int GNENet container.
const std::string & getTagStr() const
get tag assigned to this object in string format
GNEShape * myShape
pointer to shape
the function-object for an editing operation (abstract base)
void unselectAttributeCarrier(const bool changeFlag=true)
unselect attribute carrier using GUIGlobalSelection