42 GNEChange(
Supermode::NETWORK, edgeType, forward, edgeType->isAttributeCarrierSelected()),
43 myEdgeType(edgeType) {
44 edgeType->incRef(
"GNEChange_EdgeType");
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 getID() const
get ID (all Attribute Carriers have one)
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)
delete edge type from container
GNEEdgeType * retrieveEdgeType(const std::string &id, bool hardFail=true) const
get edge type by id
void insertEdgeType(GNEEdgeType *edgeType)
insert edge type in container
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
GNECreateEdgeFrame * getCreateEdgeFrame() const
get frame for NETWORK_CREATEEDGE