Class SBCUndoCommandGroup#
ClassList > SBCUndoCommandGroup
#include <SBCUndoCommandGroup.hpp>
Inherits the following classes: SBCUndoCommand
Public Functions#
| Type | Name |
|---|---|
| SB_DECLARE_DATA (SBCUndoCommandGroup) |
|
| virtual std::string | getName () override const |
| virtual bool | isCommand () override const |
| virtual bool | isCommandGroup () override const |
| virtual void | print (unsigned int offset=0) override const |
Public Functions inherited from SBCUndoCommand#
See SBCUndoCommand
| 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 inherited from SBCUndoCommand#
See SBCUndoCommand
| Type | Name |
|---|---|
| SBCUndoCommandData * | dataPointer |
Protected Functions#
| Type | Name |
|---|---|
| SBCUndoCommandGroup (const std::string & n) |
|
| virtual void | addChild (SBCUndoCommand * undoCommand) override |
| virtual unsigned int | getNumberOfCommands () override const |
| virtual void | redo () override |
| virtual void | undo () override |
| virtual | ~SBCUndoCommandGroup () |
Protected Functions inherited from SBCUndoCommand#
See SBCUndoCommand
| 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 describes a group of undo commands
Short name: SBUndoCommandGroup
Public Functions Documentation#
function SB_DECLARE_DATA#
function getName#
Implements SBCUndoCommand::getName
function isCommand#
Implements SBCUndoCommand::isCommand
function isCommandGroup#
Implements SBCUndoCommand::isCommandGroup
function print#
Implements SBCUndoCommand::print
Protected Functions Documentation#
function SBCUndoCommandGroup#
function addChild#
Implements SBCUndoCommand::addChild
function getNumberOfCommands#
Implements SBCUndoCommand::getNumberOfCommands
function redo#
Implements SBCUndoCommand::redo
function undo#
Implements SBCUndoCommand::undo