ESyS-Particle  4.0.1
InteractionParam.h
1 
2 // //
3 // Copyright (c) 2003-2011 by The University of Queensland //
4 // Earth Systems Science Computational Centre (ESSCC) //
5 // http://www.uq.edu.au/esscc //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.opensource.org/licenses/osl-3.0.php //
10 // //
12 
13 #ifndef __INTERACTIONPARAM_H
14 #define __INTERACTIONPARAM_H
15 
16 // -- STL includes --
17 #include <string>
18 #include <map>
19 
20 using std::string;
21 using std::map;
22 
31 class AIParam
32 {
33 private:
34  string m_name;
35  map<string,double> m_data;
36 
37 public:
38  AIParam(const string&);
39  virtual ~AIParam()=0;
40 
41  string getName()const{return m_name;};
42  double getParamByName(const string&);
43  void addParameter(const string&,double);
44 };
45 
46 #endif //__INTERACTIONPARAM_H