00001 // ForcingData.h: interface for the CForcingData class. 00002 // 00004 00005 #if !defined(AFX_FORCINGDATA_H__3FD28242_8564_4757_8702_9DB102619360__INCLUDED_) 00006 #define AFX_FORCINGDATA_H__3FD28242_8564_4757_8702_9DB102619360__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 "ForceVectorPoint.h" 00017 #include "ReactionNetwork.h" 00018 #include <string> 00019 #include <algorithm> 00020 #include <fstream> 00021 #include <sstream> 00022 //#include <strstrea.h> 00023 #include <assert.h> 00024 #include <stdexcept> 00025 00026 class CForcingData 00027 { 00028 public: 00029 CForcingData(); 00030 virtual ~CForcingData(); 00031 std::vector<CForceVectorPoint *> GetForcingVector() {return m_vpForcingVector;} 00032 void AttachNewForcingData(ReactionNetwork *reactionNetwork, std::string fileName); 00033 void SortForcingVector(); 00034 double GetNextForcingTime(double time); 00035 double GetLatestForcingTime(); 00036 private: 00037 std::vector<CForceVectorPoint *> m_vpForcingVector; 00038 }; 00039 00040 #endif // !defined(AFX_FORCINGDATA_H__3FD28242_8564_4757_8702_9DB102619360__INCLUDED_)