13 #ifndef OPERATIONEVENT_H_HEADER_INCLUDED_C16E83FC 14 #define OPERATIONEVENT_H_HEADER_INCLUDED_C16E83FC 49 static int GetCurrGroupEventId();
60 static int GetCurrObjectEventId();
64 int GetGroupEventId();
68 int GetObjectEventId();
72 std::string GetDescription();
74 virtual void ReverseOperations();
75 virtual void ReverseAndExecute();
86 static void IncCurrObjectEventId();
97 static void IncCurrGroupEventId();
105 static int m_CurrObjectEventId;
107 static int m_CurrGroupEventId;
113 std::string m_Description;
146 std::string description =
"");
164 void ReverseOperations()
override;
167 void ReverseAndExecute()
override;
171 virtual bool IsValid();
174 void OnObjectDeleted();
193 unsigned long m_DeleteTag;
Base class of all Operation-classes.
DataCollection - Class to facilitate loading/accessing structured data.
abstract class, that can be used by Undo to undo an operation.
bool m_Reversed
true, if operation and undooperation have been swaped/changed
Represents an entry of the undo or redo stack.
superclass for all UndoModels
Represents a pair of operations: undo and the according redo.