47 if (
mySourceSink->getNet()->getViewNet()->getViewParent()->getGNEAppWindows()->isUndoRedoAllowed()) {
75 mySourceSink->getNet()->getSavingStatus()->requireSaveAdditionals();
97 mySourceSink->getNet()->getSavingStatus()->requireSaveAdditionals();
Supermode
@brie enum for supermodes
@ NETWORK
Network mode (Edges, junctions, etc..).
~GNEChange_TAZSourceSink()
Destructor.
std::string redoName() const
get Redo name
std::string undoName() const
get undo Name
GNEChange_TAZSourceSink(GNETAZSourceSink *sourceSink, bool forward)
Constructor for creating/deleting an sourceSink element.
GNETAZSourceSink * mySourceSink
full information regarding the sourceSink element that is to be created/deleted
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
GNEChange(Supermode supermode, bool forward, const bool selectedElement)
Constructor.
void addElementInParentsAndChildren(T *element)
add given element in parents and children
void removeElementFromParentsAndChildren(T *element)
remove given element from parents and children