Class SBCUndoCommand#
#include <SBCUndoCommand.hpp>
Inherited by the following classes: SBCUndoCommandGroup
Public Functions#
Type | Name |
---|---|
SB_DECLARE_DATA (SBCUndoCommand) |
|
virtual std::string | getName () const |
SBCUndoCommand * | getParent () const |
virtual bool | isCommand () const |
virtual bool | isCommandGroup () const |
bool | isDone () |
virtual void | print (unsigned int offset=0) const |
virtual | ~SBCUndoCommand () |
Protected Attributes#
Type | Name |
---|---|
SBCUndoCommandData * | dataPointer |
Protected Functions#
Type | Name |
---|---|
SBCUndoCommand () |
|
SBCUndoCommand (SBCUndoCommandData * dataPointer) |
|
virtual void | addChild (SBCUndoCommand * undoCommand) |
virtual unsigned int | getNumberOfCommands () const |
virtual void | redo () |
virtual void | undo () |
Detailed Description#
This class is the base class of all commands that can undergo undo and redo operations.
Short name: SBUndoCommand