Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_Action Class Reference

Base class for performing a sequence of operations in CPLAT, such as Undo / Redo.

Inheritance diagram for CP_Action:

CP_UndoAction List of all members.

Public Member Functions

Constructor / Destructor
 CP_Action ()
 Constructor.
virtual ~CP_Action ()
 Destructor.
Perform
virtual bool DoRedo ()

Constructor & Destructor Documentation

CPLAT_Begin_Namespace_CPLAT CP_Action::CP_Action  ) 
 

Constructor.

Exceptions:
none 

CP_Action::~CP_Action  )  [virtual]
 

Destructor.

Exceptions:
none 


Member Function Documentation

virtual bool CP_Action::DoRedo  )  [virtual]
 

Performs the action. Subclasses need to override.

Exceptions:
none 
Returns:
bool Result of the action. The default just returns false.

Reimplemented in CP_UndoAction.


The documentation for this class was generated from the following files:
Generated on Sat Sep 17 20:01:19 2005 for CPLAT by  doxygen 1.4.0