|
BALL
1.4.79
|
#include <BALL/VIEW/KERNEL/editOperation.h>
Public Types | |
| enum | OperationType { DEFAULT, ADDED__ATOM, ADDED__BOND, CHANGED__TYPE } |
Public Member Functions | |
| EditOperation () | |
| Constructor. More... | |
| EditOperation (Atom *atom, Bond *bond, String description="Added Object", int operation=0) | |
| virtual | ~EditOperation () |
| Destructor. More... | |
Public Attributes | |
| int | operationType |
| Atom * | atom |
| Bond * | bond |
| String | description |
This class represents a single edit operation and stores its type and parameters. This can be used to implement undo functionality.
Definition at line 22 of file editOperation.h.
| Enumerator | |
|---|---|
| DEFAULT | |
| ADDED__ATOM | |
| ADDED__BOND | |
| CHANGED__TYPE | |
Definition at line 36 of file editOperation.h.
| BALL::VIEW::EditOperation::EditOperation | ( | ) |
Constructor.
| BALL::VIEW::EditOperation::EditOperation | ( | Atom * | atom, |
| Bond * | bond, | ||
| String | description = "Added Object", |
||
| int | operation = 0 |
||
| ) |
|
virtual |
Destructor.
| Atom* BALL::VIEW::EditOperation::atom |
Definition at line 49 of file editOperation.h.
| Bond* BALL::VIEW::EditOperation::bond |
Definition at line 50 of file editOperation.h.
| String BALL::VIEW::EditOperation::description |
Definition at line 51 of file editOperation.h.
| int BALL::VIEW::EditOperation::operationType |
Definition at line 48 of file editOperation.h.
1.8.7