BALL 1.5.0
Loading...
Searching...
No Matches
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
10#endif
11
12namespace BALL
13{
21 : public AtomContainer
22 {
23 public:
24
26
27
30
31
33 {
35 NUMBER_OF_PROPERTIES = AtomContainer::NUMBER_OF_PROPERTIES
36 };
37
39
42
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
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
101 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
122#endif
123} // namespace BALL
124
125#endif // BALL_KERNEL_FRAGMENT_H
#define BALL_CREATE_DEEP(name)
Definition create.h:26
virtual void dump(std::ostream &s=std::cout, Size depth=0) const
void persistentWrite(PersistenceManager &pm, const char *name=0) const
Fragment(const String &name)
Fragment(const Fragment &fragment, bool deep=true)
virtual ~Fragment()
void persistentRead(PersistenceManager &pm)
virtual bool isFragment() const
Definition fragment.h:101
#define BALL_EXPORT