17 #ifndef OPERATIONEVENT_H_HEADER_INCLUDED_C16E83FC
18 #define OPERATIONEVENT_H_HEADER_INCLUDED_C16E83FC
53 static int GetCurrGroupEventId();
64 static int GetCurrObjectEventId();
68 int GetGroupEventId();
72 int GetObjectEventId();
76 std::string GetDescription();
78 virtual void ReverseOperations();
79 virtual void ReverseAndExecute();
90 static void IncCurrObjectEventId();
101 static void IncCurrGroupEventId();
109 static int m_CurrObjectEventId;
111 static int m_CurrGroupEventId;
117 std::string m_Description;
150 std::string description =
"");
168 virtual void ReverseOperations()
override;
171 virtual void ReverseAndExecute()
override;
175 virtual bool IsValid();
178 void OnObjectDeleted();
197 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.