Web Analytics Made Easy - Statcounter
Skip to content

Class SBCUndoCommandGroup#

ClassList > SBCUndoCommandGroup

More...

  • #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#

SBCUndoCommandGroup::SB_DECLARE_DATA (
    SBCUndoCommandGroup
) 

function getName#

virtual std::string SBCUndoCommandGroup::getName () override const

Implements SBCUndoCommand::getName


function isCommand#

virtual bool SBCUndoCommandGroup::isCommand () override const

Implements SBCUndoCommand::isCommand


function isCommandGroup#

virtual bool SBCUndoCommandGroup::isCommandGroup () override const

Implements SBCUndoCommand::isCommandGroup


function print#

virtual void SBCUndoCommandGroup::print (
    unsigned int offset=0
) override const

Implements SBCUndoCommand::print


Protected Functions Documentation#

function SBCUndoCommandGroup#

SBCUndoCommandGroup::SBCUndoCommandGroup (
    const std::string & n
) 

function addChild#

virtual void SBCUndoCommandGroup::addChild (
    SBCUndoCommand * undoCommand
) override

Implements SBCUndoCommand::addChild


function getNumberOfCommands#

virtual unsigned int SBCUndoCommandGroup::getNumberOfCommands () override const

Implements SBCUndoCommand::getNumberOfCommands


function redo#

virtual void SBCUndoCommandGroup::redo () override

Implements SBCUndoCommand::redo


function undo#

virtual void SBCUndoCommandGroup::undo () override

Implements SBCUndoCommand::undo


function ~SBCUndoCommandGroup#

virtual SBCUndoCommandGroup::~SBCUndoCommandGroup ()