42 myDataSet->incRef(
"GNEChange_DataSet");
Supermode
@brie enum for supermodes
@ DATA
Data mode (edgeData, LaneData etc..)
bool isUndoRedoAllowed() const
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
std::string redoName() const
get Redo name
~GNEChange_DataSet()
Destructor.
std::string undoName() const
return undoName
GNEDataSet * myDataSet
full information regarding the data set 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
void deleteDataSet(GNEDataSet *dataSet)
delete data set of container
void insertDataSet(GNEDataSet *dataSet)
Insert a data set in container.
GNEDataSet * retrieveDataSet(const std::string &id, bool hardFail=true) const
Returns the named data set.
void requireSaveDataElements()
inform that data elements 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
GNEApplicationWindow * getGNEAppWindows() const
get GNE Application Windows