The Gnome Chemistry Utils 0.13.3
|
#include <gcp/operation.h>
Public Member Functions | |
DeleteOperation (gcp::Document *pDoc, unsigned long ID) | |
void | Undo () |
void | Redo () |
Operation class representing objects deletions.
Definition at line 182 of file operation.h.
gcp::DeleteOperation::DeleteOperation | ( | gcp::Document * | pDoc, |
unsigned long | ID | ||
) |
pDoc | a document. |
ID | a unique operation ID for the document and the session. |
Creates a new DeleteOperation. Operations should always created by calls to Document::GetNewOperation().
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.