BALL 1.5.0
defaultProcessors.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4
5#ifndef BALL_STRUCTURE_DEFAULTPROCESSORS_H
6#define BALL_STRUCTURE_DEFAULTPROCESSORS_H
7
8#ifndef BALL_COMMON_H
9# include <BALL/common.h>
10#endif
11
12#ifndef BALL_KERNEL_atom_H
13# include <BALL/KERNEL/atom.h>
14#endif
15
16#ifndef BALL_MATHS_VECTOR3_H
17# include <BALL/MATHS/vector3.h>
18#endif
19
20#ifndef BALL_CONCEPT_PROCESSOR_H
22#endif
23
24#ifndef BALL_DATATYPE_STRINGHASHMAP_H
26#endif
27
28namespace BALL
29{
34 : public UnaryProcessor<Atom>
35 {
36 public:
37
40 };
41
42
47 : public UnaryProcessor<Atom>
48 {
49 public:
50
53 };
54
55
63 : public UnaryProcessor<Atom>
64 {
65 public:
66
69
73 AssignRadiusProcessor(const String& filename);
74
80 virtual bool start();
81
85 virtual bool finish();
86
103
107 void setFilename(const String& filename);
108
112
116
122
123
124 protected:
125
130
135 };
136
137
145 : public AssignRadiusProcessor
146 {
147 public:
148
151
156
162 virtual bool start();
163
168 virtual Processor::Result operator () (Atom& atom);
169
173
174
175 protected:
176
178 };
179
180
181} // namespace BALL
182
183#endif // BALL_STRUCTURE_DEFAULTPROCESSORS_H
Definition: constants.h:13
virtual Processor::Result operator()(Atom &atom)
Sets the charge to zero.
virtual Processor::Result operator()(Atom &atom)
Sets the radius to zero..
void setFilename(const String &filename)
AssignRadiusProcessor()
Default constructor.
StringHashMap< float > table_
virtual Processor::Result operator()(Atom &atom)
AssignRadiusProcessor(const String &filename)
AssignChargeProcessor()
Default constructor.
AssignChargeProcessor(const String &filename)
#define BALL_EXPORT
Definition: COMMON/global.h:50