Interface for a command.
More...
#include <Command.h>
|
enum class | CommandState { WasDone
, WasUndone
} |
|
|
bool | IsUndoable () const |
|
bool | HasChildActions () const |
|
bool | HasModifiedDocument () const |
|
virtual const xiiRTTI * | GetDynamicRTTI () const |
|
bool | IsInstanceOf (const xiiRTTI *pType) const |
| Returns whether the type of this instance is of the given type or derived from it.
|
|
template<typename T> |
XII_ALWAYS_INLINE bool | IsInstanceOf () const |
| Returns whether the type of this instance is of the given type or derived from it.
|
|
|
class | xiiCommandHistory |
|
class | xiiCommandTransaction |
|
|
static const xiiRTTI * | GetStaticRTTI () |
|
Interface for a command.
Commands are the only objects that have non-const access to any data structures (contexts, documents etc.). Thus, any modification must go through a command and the xiiCommandHistory is the only class capable of executing commands.
The documentation for this class was generated from the following files:
- /home/runner/work/XII/XII/Source/Tools/Libs/ToolsFoundation/Command/Command.h
- /home/runner/work/XII/XII/Source/Tools/Libs/ToolsFoundation/Command/Implementation/Command.cpp