00001 #pragma ident "$Id: OceanLoading.hpp 2741 2011-06-22 16:37:02Z nwu $"
00002
00009 #ifndef OCEANLOADING_HPP
00010 #define OCEANLOADING_HPP
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #include <string>
00037 #include "Triple.hpp"
00038 #include "Vector.hpp"
00039 #include "Matrix.hpp"
00040 #include "DayTime.hpp"
00041 #include "BLQDataReader.hpp"
00042 #include "icd_200_constants.hpp"
00043 #include "geometry.hpp"
00044
00045
00046 namespace gpstk
00047 {
00048
00051
00052
00080 class OceanLoading
00081 {
00082 public:
00083
00092 OceanLoading(string filename="oceanloading.blq")
00093 : blqData(filename), fileData(filename) {};
00094
00095
00109 Triple getOceanLoading( const string& name,
00110 const DayTime& t )
00111 throw(InvalidRequest);
00112
00113
00115 virtual string getFilename(void) const
00116 { return fileData; };
00117
00118
00123 virtual OceanLoading& setFilename(const string& name);
00124
00125
00127 virtual ~OceanLoading() {};
00128
00129
00130 private:
00131
00132
00134 BLQDataReader blqData;
00135
00136
00138 string fileData;
00139
00140
00149 virtual Vector<double> getArg(const DayTime& time);
00150
00151
00152 };
00153
00155
00156 }
00157 #endif // OCEANLOADING_HPP