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
KERNEL
fragment.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
5
#ifndef BALL_KERNEL_FRAGMENT_H
6
#define BALL_KERNEL_FRAGMENT_H
7
8
#ifndef BALL_KERNEL_ATOMCONTAINER_H
9
# include <
BALL/KERNEL/atomContainer.h
>
10
#endif
11
12
namespace
BALL
13
{
20
class
BALL_EXPORT
Fragment
21
:
public
AtomContainer
22
{
23
public
:
24
25
BALL_CREATE_DEEP
(
Fragment
)
26
27
30
32
enum
Property
33
{
35
NUMBER_OF_PROPERTIES =
AtomContainer::NUMBER_OF_PROPERTIES
36
};
37
39
42
45
Fragment
();
46
49
Fragment
(
const
Fragment
& fragment,
bool
deep =
true
);
50
53
Fragment
(
const
String
& name);
54
57
virtual
~
Fragment
();
58
60
63
67
void
persistentWrite(
PersistenceManager
& pm,
const
char
* name = 0)
const
;
68
72
void
persistentRead(
PersistenceManager
& pm);
73
75
78
83
Fragment
& operator = (
const
Fragment
& fragment);
84
86
91
bool
operator == (
const
Fragment
& fragment)
const
;
92
96
bool
operator != (
const
Fragment
& fragment)
const
;
97
100
virtual
bool
isFragment()
const
{
return
true
; }
103
107
114
virtual
void
dump(std::ostream& s = std::cout,
Size
depth = 0)
const
;
115
117
};
118
119
// required for visual studio
120
#ifdef BALL_COMPILER_MSVC
121
template
class
BALL_EXPORT
UnaryProcessor<Fragment>;
122
#endif
123
}
// namespace BALL
124
125
#endif // BALL_KERNEL_FRAGMENT_H
BALL::String
Definition:
string.h:61
BALL::AtomContainer
Definition:
atomContainer.h:29
BALL::AtomContainer::Property
Property
The number of predefined properties for AtomContainer.
Definition:
atomContainer.h:42
atomContainer.h
BALL_CREATE_DEEP
#define BALL_CREATE_DEEP(name)
Definition:
create.h:26
BALL::AtomContainer::NUMBER_OF_PROPERTIES
Definition:
atomContainer.h:45
BALL::Size
BALL_SIZE_TYPE Size
Definition:
COMMON/global.h:116
BALL::PersistenceManager
Definition:
persistenceManager.h:72
BALL::Fragment
Definition:
fragment.h:20
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
Generated by
1.8.6