![]() |
Earth Observation Mission CFI Software DataHandling Software User Manual |
![]() |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.21 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 <CfiError.h> 00014 #include <EEFile.h> 00015 #include <OsvRec.h> 00016 #include <string> 00017 #include <vector> 00018 00019 //-NAMESPACES------------------------------------------ 00020 00021 namespace EECFI 00022 { 00026 class XD_DECL OrbitFile : public EEFile 00027 { 00028 public: 00029 std::vector<OsvRec> osvRec; 00030 00032 OrbitFile(); 00033 00035 explicit OrbitFile(const std::string& fileNam); 00036 00038 ~OrbitFile() NOEXCEPT; 00039 00041 void read(const bool readFroFlag, 00042 const bool readingOsvFlag); 00043 00045 void read(const bool readFroFlag, 00046 const double startRange, 00047 const double stopRange, 00048 const bool readingOsvFlag); 00049 00051 void read(const bool readFroFlag, 00052 const long timeRef, 00053 const double startRange, 00054 const double stopRange, 00055 const bool readingOsvFlag); 00056 00058 void write(const std::string& fileNam, 00059 const FixedHeader& fixedHead, 00060 const std::vector<OsvRec>& osvData); 00061 00069 void decimate(double decimationDeltaTime, 00070 OrbitFile& osvOut); 00071 00073 long xsltAdd(); /* AN-546 */ 00074 00075 protected: 00076 private: 00077 }; //class OrbitFile 00078 } //namespace EECFI 00079 00080 #endif