Earth Observation Mission CFI Software DataHandling Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.26 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 00039 OrbitFile(const OrbitFile& other); 00040 00042 ~OrbitFile() NOEXCEPT; 00043 00046 OrbitFile& operator=(const OrbitFile& other); 00047 00049 void read(const bool readFroFlag, 00050 const bool readingOsvFlag); 00051 00053 void read(const bool readFroFlag, 00054 const double startRange, 00055 const double stopRange, 00056 const bool readingOsvFlag); 00057 00059 void read(const bool readFroFlag, 00060 const long timeRef, 00061 const double startRange, 00062 const double stopRange, 00063 const bool readingOsvFlag); 00064 00066 void write(const std::string& fileNam, 00067 const FixedHeader& fixedHead, 00068 const std::vector<OsvRec>& osvData); 00069 00077 void decimate(double decimationDeltaTime, 00078 OrbitFile& osvOut); 00079 00081 long xsltAdd(); /* AN-546 */ 00082 00083 }; //class OrbitFile 00084 } //namespace EECFI 00085 00086 #endif