57 myEdge->getNet()->getSavingStatus()->requireSaveNetwork();
71 myEdge->getNet()->getSavingStatus()->requireSaveNetwork();
90 return (
TL(
"Redo create connection '") +
93 return (
TL(
"Redo delete connection '") +
Supermode
@brie enum for supermodes
@ NETWORK
Network mode (Edges, junctions, etc..).
@ SUMO_TAG_CONNECTION
connectioon between two lanes
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
GNEChange_Connection(GNEEdge *edge, NBEdge::Connection nbCon, bool selected, bool forward)
Constructor for creating/deleting a connection.
std::string undoName() const
return undoName
~GNEChange_Connection()
Destructor.
NBEdge::Connection myNBEdgeConnection
the data which must be copied because the original reference does not persist
std::string redoName() const
get Redo 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
GNEChange(Supermode supermode, bool forward, const bool selectedElement)
Constructor.
The representation of a single edge during network building.