Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

RmAddNodeUndoOp Class Reference

Add node undo. More...

#include <RmUndo.h>

Inheritance diagram for RmAddNodeUndoOp:

RmUndoOp List of all members.

Public Member Functions

 RmAddNodeUndoOp (RmNode *pNode, RmNode *pNextSibling=NULL)
 Constructor.

 RmAddNodeUndoOp (RmNode *pNode, const RM_TCHAR *strOpName, RmNode *pNextSibling=NULL)
 Constructor.

virtual ~RmAddNodeUndoOp ()
 Destructor.


Protected Member Functions

virtual void Undo ()
 Undo execution.

virtual void Redo ()
 Redo execution.


Detailed Description

Add node undo.

Derived from RmUndoOp. Undo operation of adding node.


Constructor & Destructor Documentation

RmAddNodeUndoOp::RmAddNodeUndoOp RmNode pNode,
RmNode pNextSibling = NULL
 

Constructor.

Constructor

Parameters:
pNode Node that is getting added.
pNextSibling Node's next sbling ( maybe NULL, if pNode is the last node in its parent's child node list.)

RmAddNodeUndoOp::RmAddNodeUndoOp RmNode pNode,
const RM_TCHAR *  strOpName,
RmNode pNextSibling = NULL
 

Constructor.

Constructor

Parameters:
pNode Node that is getting added.
strOpName Operation name
pNextSibling Node's next sbling ( maybe NULL, if pNode is the last node in its parent's child node list.)

virtual RmAddNodeUndoOp::~RmAddNodeUndoOp  )  [virtual]
 

Destructor.

Destructor


Member Function Documentation

virtual void RmAddNodeUndoOp::Redo  )  [protected, virtual]
 

Redo execution.

Called to redo a node addition

Returns:
None

Reimplemented from RmUndoOp.

virtual void RmAddNodeUndoOp::Undo  )  [protected, virtual]
 

Undo execution.

Called to undo a node addition

Returns:
None

Reimplemented from RmUndoOp.


The documentation for this class was generated from the following file:
Generated on Fri Feb 25 16:08:53 2005 for RenderMonkey SDK by doxygen 1.3.6