The Gnome Chemistry Utils  0.14.0
Public Member Functions | List of all members
gcp::DeleteOperation Class Reference

#include <gcp/operation.h>

Inheritance diagram for gcp::DeleteOperation:
gcp::Operation

Public Member Functions

 DeleteOperation (gcp::Document *pDoc, unsigned long ID)
void Undo ()
void Redo ()
- Public Member Functions inherited from gcp::Operation
 Operation (Document *pDoc, unsigned long ID)
virtual void AddObject (gcu::Object *pObject, unsigned type=0)
virtual void AddNode (xmlNodePtr node, unsigned type=0)

Additional Inherited Members

- Protected Member Functions inherited from gcp::Operation
void Add (unsigned type=0)
void Delete (unsigned type=0)
- Protected Attributes inherited from gcp::Operation
xmlNodePtr * m_Nodes

Detailed Description

Operation class representing objects deletions.

Definition at line 182 of file operation.h.

Constructor & Destructor Documentation

gcp::DeleteOperation::DeleteOperation ( gcp::Document pDoc,
unsigned long  ID 
)
Parameters
pDoca document.
IDa unique operation ID for the document and the session.

Creates a new DeleteOperation. Operations should always created by calls to Document::GetNewOperation().

Member Function Documentation

void gcp::DeleteOperation::Redo ( )
virtual

Redo the deletions represented by this operation.

Implements gcp::Operation.

void gcp::DeleteOperation::Undo ( )
virtual

Undo the deletions represented by this operation.

Implements gcp::Operation.


The documentation for this class was generated from the following file: