SBCUndoCommand Class Reference

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

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
 

Debugging

virtual void print (unsigned int offset=0) const
 

Undo / Redo

virtual void redo ()
 
virtual void undo ()
 

Command attributes

SBCUndoCommandparent
 The parent of the undo command.