BALL 1.5.0
Loading...
Searching...
No Matches
solventDescriptor.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4// $Id: solventDescriptor.h,v 1.19 2005/12/23 17:02:00 amoll Exp $
5//
6
7#ifndef BALL_SOLVATION_SOLVENTDESCRIPTOR_H
8#define BALL_SOLVATION_SOLVENTDESCRIPTOR_H
9
10#ifndef BALL_COMMON_H
11# include <BALL/common.h>
12#endif
13
14#ifndef BALL_KERNEL_ATOM_H
15# include <BALL/KERNEL/atom.h>
16#endif
17
18namespace BALL
19{
24
55
56
63 {
64
65 public:
66
68
69
72
76
80
83 SolventDescriptor(const String& name, float number_density,
84 const std::vector<SolventAtomDescriptor>& atom_list);
85
89
91
94
97 const SolventDescriptor& operator = (const SolventDescriptor& descriptor);
98
101 void clear();
102
104
107
110 void setName(const String& name);
111
114 const String& getName() const;
115
118 void setNumberDensity(float number_density);
119
122 float getNumberDensity() const;
123
127 std::vector<SolventAtomDescriptor>& solvent_atoms);
128
132
136
140
145
150
152
155
158 bool isValid() const;
159
162 bool operator == (const SolventDescriptor& descriptor) const;
163
165
166 protected:
167
168 /*_ The name of this solvent
169 */
171
172 /*_ The number density of this solvent, i. e. [missing]
173 */
175
176 /*_ This vector contains all atom types occuring in this solute
177 */
179
180 /*_ The valid flag
181 */
182 bool valid_;
183
184 };
185
186
187}
188
189#endif // BALL_SOLVATION_SOLVENTDESCRIPTOR_H
#define BALL_EXPORT
@ UNKNOWN_TYPE
Definition atom.h:116
short Type
Definition atom.h:103
void setSolventAtomDescriptorList(const std::vector< SolventAtomDescriptor > &solvent_atoms)
const SolventAtomDescriptor & getAtomDescriptor(Position index) const
std::vector< SolventAtomDescriptor > solvent_atoms_
void setName(const String &name)
Size getNumberOfAtomTypes() const
const std::vector< SolventAtomDescriptor > & getSolventAtomDescriptorList() const
float getNumberDensity() const
const String & getName() const
void setNumberDensity(float number_density)
#define BALL_CREATE(name)
Definition create.h:62
BALL_SIZE_TYPE Size
BALL_SIZE_TYPE Position
STL namespace.