Loading...
Searching...
No Matches
SBCUndoCommand Class Reference

This class is the base class of all commands that can undergo undo and redo operations.

Debugging

virtual void print (unsigned int offset=0) const
 
 SB_DECLARE_DATA (SBCUndoCommand)
 

Undo / Redo

SBCUndoCommandData * dataPointer
 
virtual void redo ()
 
virtual void undo ()
 
 SBCUndoCommand ()
 
 SBCUndoCommand (SBCUndoCommandData *dataPointer)
 

Constructors and destructors

virtual ~SBCUndoCommand ()
 

Topology

SBCUndoCommandgetParent () const
 
virtual void addChild (SBCUndoCommand *undoCommand)
 
virtual unsigned int getNumberOfCommands () const
 

Identity

bool isDone ()
 
virtual std::string getName () const
 
virtual bool isCommand () const
 
virtual bool isCommandGroup () const