00001 // RateConstant.h: interface for the RateConstant class. 00002 // 00004 00005 #if !defined(AFX_RATECONSTANT_H__17E9EE62_DB43_11D3_8099_00A0C9B3BB18__INCLUDED_) 00006 #define AFX_RATECONSTANT_H__17E9EE62_DB43_11D3_8099_00A0C9B3BB18__INCLUDED_ 00007 00008 #if _MSC_VER > 1000 00009 #pragma once 00010 #endif // _MSC_VER > 1000 00011 00012 #ifdef _WIN32 00013 #include <strstream> 00014 #endif 00015 00016 #include <string> 00017 #include <sstream> 00018 //#include <strstrea.h> 00019 00020 class RateConstant 00021 { 00022 public: 00023 std::string GetName() const; 00024 std::string GetTeXName() const; 00025 double GetValue() const; 00026 double GetInitialValue() const; 00027 double GetErrorInInitialValue() const; 00028 RateConstant(double initialValue,std::string name); 00029 RateConstant(double initialValue=0,double errorInInitialValue=1,std::string name=""); 00030 virtual ~RateConstant(); 00031 void SetRateConstant(double value); 00032 void Reset(); 00033 void SetErrorInInitialValue(double errorInInitialValue); 00034 void SetTeXName(); 00035 private: 00036 int rateConstantNumber; 00037 double value; 00038 double initialValue; 00039 double errorInInitialValue; 00040 std::string name; 00041 std::string m_sTeXName; 00042 }; 00043 00044 #endif // !defined(AFX_RATECONSTANT_H__17E9EE62_DB43_11D3_8099_00A0C9B3BB18__INCLUDED_)