Earth Observation Mission CFI Software DataHandling Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.10 00003 //-------------------------------------------------------- 00004 00005 //---------------------------------------------------------------- 00006 // CVS Info: $Id: OrbitFile.h,v 1.13 2014-02-20 20:02:23 cavm Exp $ 00007 //---------------------------------------------------------------- 00008 00009 #ifndef _ORBITFILE_H 00010 #define _ORBITFILE_H 00011 00012 //-INCLUDE--------------------------------------------- 00013 #include "EEFile.h" 00014 #include "OsvRec.h" 00015 #include "CfiError.h" 00016 00017 #include <string> 00018 #include <vector> 00019 00020 //-NAMESPACES------------------------------------------ 00021 using namespace std; 00022 00023 namespace EECFI 00024 { 00025 00029 class OrbitFile:public EEFile 00030 { 00031 public: 00032 00033 vector<OsvRec> osvRec; 00034 00036 OrbitFile(); 00037 00039 OrbitFile(const string fileNam); 00040 00042 ~OrbitFile(); 00043 00045 void read(const bool readFroFlag, 00046 const bool readingOsvFlag) throw (CfiError); 00047 00049 void read(const bool readFroFlag, 00050 const double startRange, 00051 const double stopRange, 00052 const bool readingOsvFlag) throw (CfiError); 00053 00055 void read(const bool readFroFlag, 00056 const long timeRef, 00057 const double startRange, 00058 const double stopRange, 00059 const bool readingOsvFlag) throw (CfiError); 00060 00062 void write( const string fileNam, 00063 FixedHeader &fixedHead, 00064 vector<OsvRec> &osvData) throw (CfiError); 00065 00073 void decimate( double decimationDeltaTime, 00074 OrbitFile &osvOut ) throw (CfiError); 00075 00077 long xsltAdd() throw (CfiError); /* AN-546 */ 00078 00079 00080 protected: 00081 00082 private: 00083 00084 00085 };//class OrbitFile 00086 }//namespace EECFI 00087 00088 #endif