42 GNEChange(
Supermode::NETWORK, 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";
Supermode
@brie enum for supermodes
@ 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
GNEEdgeType * myEdgeType
full information regarding the edgeType that is to be created/deleted
std::string undoName() const
return undoName
~GNEChange_EdgeType()
Destructor.
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
void refreshEdgeTypeSelector()
refresh edge type selector
EdgeTypeSelector * getEdgeTypeSelector() const
get edgeType 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
get all attribute carriers used in this 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