BALL  1.4.79
fresnoTypes.h
Go to the documentation of this file.
1 /* fresnoTypes.h
2 *
3 * Copyright (C) 2011 Marcel Schumann
4 *
5 * This program free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or (at
8 * your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, see <http://www.gnu.org/licenses/>.
17 */
18 
19 // ----------------------------------------------------
20 // $Maintainer: Marcel Schumann $
21 // $Authors: Slick-development Team, Marcel Schumann $
22 // ----------------------------------------------------
23 
24 #ifndef BALL_SCORING_COMPONENTS_FRESNOTYPES_H
25 #define BALL_SCORING_COMPONENTS_FRESNOTYPES_H
26 
28 #include <BALL/KERNEL/system.h>
29 
30 
31 namespace BALL
32 {
34  {
35  public:
39  {
43 
46  ASSIGNMENT__FRESNO
47  };
48 
52  {
56 
66 
75 
84 
95 
99 
117 
120  METAL
121  };
122 
123  FresnoTypes(AtomContainer* system);
124  virtual ~FresnoTypes() {}
125 
126  virtual bool setup();
127 
128  const HashMap<const Atom*, Size>* getTypeMap() const;
129 
130  private:
131  AtomContainer* container_;
132 
133  //_ The hash map containing the mapping of atom pointers to atom types
134  HashMap<const Atom*, Size> type_map_;
135  };
136 }
137 
138 
139 #endif // BALL_SCORING_COMPONENTS_FRESNOTYPES_H
virtual ~FresnoTypes()
Definition: fresnoTypes.h:124
-*- Mode: C++; tab-width: 2; -*-
Definition: constants.h:12
HashMap class based on the STL map (containing serveral convenience functions)
Definition: hashMap.h:73
#define BALL_EXPORT
Definition: COMMON/global.h:50