43 edge->incRef(
"GNEChange_Edge");
Supermode
@brie enum for supermodes
@ NETWORK
Network mode (Edges, junctions, etc..)
bool isUndoRedoAllowed() const
const std::string getID() const
get ID (all Attribute Carriers have one)
void selectAttributeCarrier()
select attribute carrier using GUIGlobalSelection
void unselectAttributeCarrier()
unselect attribute carrier using GUIGlobalSelection
GNENet * getNet() const
get pointer to net
std::string redoName() const
get Redo name
GNEEdge * myEdge
full information regarding the edge that is to be created/deleted
~GNEChange_Edge()
Destructor.
std::string undoName() const
get undo Name
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 in parents and children
void removeElementFromParentsAndChildren(T *element)
remove given element from parents and children
A road/street connecting two junctions (netedit-version)
void deleteSingleEdge(GNEEdge *edge)
delete edge from container
void insertEdge(GNEEdge *edge)
void requireSaveNetwork()
inform that network has to be saved
GNENetHelper::SavingStatus * getSavingStatus() const
get saving status
GNENetHelper::AttributeCarriers * getAttributeCarriers() const
get all attribute carriers used in this net
GNEViewNet * getViewNet() const
get view net
void decRef(const std::string &debugMsg="")
Decrease reference.
bool unreferenced()
check if object ins't referenced
GNEViewParent * getViewParent() const
get the net object
GNEApplicationWindow * getGNEAppWindows() const
get GNE Application Windows