XII Release 0.1.0
Loading...
Searching...
No Matches
xiiCommandTransaction Class Reference
Inheritance diagram for xiiCommandTransaction:
[legend]

Public Attributes

xiiString m_sDisplayString

Friends

class xiiCommandHistory

Additional Inherited Members

Public Types inherited from xiiCommand
enum class  CommandState { WasDone , WasUndone }
Public Member Functions inherited from xiiCommand
bool IsUndoable () const
bool HasChildActions () const
bool HasModifiedDocument () const
Public Member Functions inherited from xiiReflectedClass
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.
Static Public Member Functions inherited from xiiNoBase
static const xiiRTTI * GetStaticRTTI ()
Protected Member Functions inherited from xiiCommand
xiiStatus Do (bool bRedo)
xiiStatus Undo (bool bFireEvents)
void Cleanup (CommandState state)
xiiStatus AddSubCommand (xiiCommand &command)
xiiDocument * GetDocument ()
Protected Attributes inherited from xiiCommand
xiiString m_sDescription
bool m_bUndoable = true
bool m_bModifiedDocument = true
xiiHybridArray< xiiCommand *, 8 > m_ChildActions
xiiDocument * m_pDocument = nullptr

Member Function Documentation

◆ CleanupInternal()

void xiiCommandTransaction::CleanupInternal ( CommandState state)
overrideprivatevirtual

Implements xiiCommand.

◆ DoInternal()

xiiStatus xiiCommandTransaction::DoInternal ( bool bRedo)
overrideprivatevirtual

Implements xiiCommand.

◆ UndoInternal()

xiiStatus xiiCommandTransaction::UndoInternal ( bool bFireEvents)
overrideprivatevirtual

Implements xiiCommand.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Tools/Libs/ToolsFoundation/CommandHistory/CommandHistory.h
  • /home/runner/work/XII/XII/Source/Tools/Libs/ToolsFoundation/CommandHistory/Implementation/CommandHistory.cpp