ESyS-Particle  4.0.1
InteractionParam.h
00001 
00002 //                                                         //
00003 // Copyright (c) 2003-2011 by The University of Queensland //
00004 // Earth Systems Science Computational Centre (ESSCC)      //
00005 // http://www.uq.edu.au/esscc                              //
00006 //                                                         //
00007 // Primary Business: Brisbane, Queensland, Australia       //
00008 // Licensed under the Open Software License version 3.0    //
00009 // http://www.opensource.org/licenses/osl-3.0.php          //
00010 //                                                         //
00012 
00013 #ifndef __INTERACTIONPARAM_H
00014 #define __INTERACTIONPARAM_H
00015 
00016 // -- STL includes --
00017 #include <string>
00018 #include <map>
00019 
00020 using std::string;
00021 using std::map;
00022 
00031 class AIParam
00032 {
00033 private:
00034   string m_name;
00035   map<string,double> m_data;
00036 
00037 public:
00038   AIParam(const string&);
00039   virtual ~AIParam()=0;
00040 
00041   string getName()const{return m_name;};
00042   double getParamByName(const string&);
00043   void addParameter(const string&,double);
00044 };
00045 
00046 #endif //__INTERACTIONPARAM_H