BALL
1.4.79
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
VIEW
KERNEL
editOperation.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
5
#ifndef BALL_VIEW_KERNEL_EDITOPERATION_H
6
#define BALL_VIEW_KERNEL_EDITOPERATION_H
7
8
#ifndef BALL_DATATYPE_STRING_H
9
# include <
BALL/DATATYPE/string.h
>
10
#endif
11
12
namespace
BALL
13
{
14
class
Atom
;
15
class
Bond;
16
17
namespace
VIEW
18
{
22
class
BALL_VIEW_EXPORT
EditOperation
23
{
24
public
:
25
27
EditOperation
();
28
30
EditOperation
(
Atom
* atom,
Bond
* bond,
String
description=
"Added Object"
,
int
operation=0);
31
33
virtual
~
EditOperation
();
34
36
enum
OperationType
37
{
38
DEFAULT
,
39
ADDED__ATOM
,
40
ADDED__BOND
,
41
CHANGED__TYPE
42
// DELETED__ATOM
43
// DELETED__BOND
44
//CHANGED__SYSTEM
45
//MOVED__ATOM
46
};
47
48
int
operationType
;
49
Atom
*
atom
;
50
Bond
*
bond
;
51
String
description
;
52
};
53
}
54
}
55
56
#endif // BALL_VIEW_KERNEL_EDITOPERATION_H
BALL::VIEW::EditOperation::OperationType
OperationType
Definition:
editOperation.h:36
BALL::String
Definition:
string.h:61
BALL::VIEW::EditOperation::ADDED__BOND
Definition:
editOperation.h:40
BALL::VIEW::EditOperation::operationType
int operationType
Definition:
editOperation.h:48
string.h
BALL::VIEW::EditOperation
Definition:
editOperation.h:22
BALL::VIEW::EditOperation::atom
Atom * atom
Definition:
editOperation.h:49
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition:
COMMON/global.h:52
BALL::VIEW::EditOperation::description
String description
Definition:
editOperation.h:51
BALL::VIEW::EditOperation::DEFAULT
Definition:
editOperation.h:38
BALL::Bond
Definition:
bond.h:54
BALL::PDB::Atom
char Atom[5]
Definition:
PDBdefs.h:257
BALL::VIEW::EditOperation::ADDED__ATOM
Definition:
editOperation.h:39
BALL::Atom
Definition:
atom.h:87
BALL::VIEW::EditOperation::bond
Bond * bond
Definition:
editOperation.h:50
Generated by
1.8.7