42 GNEChange(edgeType, forward, edgeType->isAttributeCarrierSelected()),
43 myEdgeType(edgeType) {
44 edgeType->incRef(
"GNEChange_EdgeType");
111 return "Undo create edgeType";
113 return "Undo delete edgeType";
121 return "Redo create laneType";
123 return "Redo delete laneType";
@ SUMO_TAG_NET
root element of a network file
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
const std::string & getTagStr() const
get tag assigned to this object in string format
GNENet * getNet() const
get pointer to net
FXString undoName() const
return undoName
GNEEdgeType * myEdgeType
full information regarding the edgeType that is to be created/deleted
FXString redoName() const
get Redo name
~GNEChange_EdgeType()
Destructor.
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
void refreshEdgeTypeSelector()
refresh edge type selector
EdgeTypeSelector * getEdgeTypeSelector() const
getcustom edge selector
void deleteEdgeType(GNEEdgeType *edgeType)
deletes edgeType
void insertEdgeType(GNEEdgeType *edgeType)
inserts a single edgeType into the net and into the underlying netbuild-container
bool edgeTypeExist(const GNEEdgeType *edgeType) const
void requireSaveNet(bool value)
inform that net has to be saved
GNENetHelper::AttributeCarriers * getAttributeCarriers() const
retrieve all attribute carriers of Net
GNEViewNet * getViewNet() const
get view net
const std::string & getID() const
get ID
void decRef(const std::string &debugMsg="")
Decrease reference.
bool unreferenced()
check if object ins't referenced
GNEViewParent * getViewParent() const
get the net object
GNECreateEdgeFrame * getCreateEdgeFrame() const
get frame for NETWORK_CREATEEDGE