![]() |
Earth Observation Mission CFI Software DataHandling Software User Manual |
![]() |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.22 00003 //-------------------------------------------------------- 00004 00005 //-------------------------------------------------------------- 00006 // CVS Info: $Id: AttFile.h,v 1.18 2014-02-20 20:02:22 cavm Exp $ 00007 //-------------------------------------------------------------- 00008 00009 #ifndef _ATTFILE_H 00010 #define _ATTFILE_H 00011 00012 //-INCLUDE--------------------------------------------- 00013 #include <AttRec.h> 00014 #include <EEFile.h> 00015 #include <string> 00016 #include <vector> 00017 00018 //-NAMESPACES------------------------------------------ 00019 00020 namespace EECFI 00021 { 00025 class XD_DECL AttFile : public EEFile 00026 { 00027 public: 00028 std::vector<AttRec> attRec; 00029 long sourceRef; 00030 long dataType; 00031 double maxGap; 00032 long satRef; 00033 00035 AttFile(); 00036 00038 explicit AttFile(const std::string& fileNam); 00039 00041 ~AttFile() NOEXCEPT; 00042 00044 void read(); 00045 00054 void write(const FixedHeader& fixedHead, 00055 const std::vector<AttRec>& attRecords, 00056 const long srcRef, 00057 const long datTyp, 00058 const double maximumGap, 00059 const long satReference); 00060 00069 void write(const std::string& fileNam, 00070 const FixedHeader& fixedHead, 00071 const std::vector<AttRec>& attRecords, 00072 const long srcRef, 00073 const long datTyp, 00074 const double maximumGap, 00075 const long satReference); 00076 00084 void decimate(double decimationDeltaTime, 00085 AttFile& attOut) const; 00086 00088 long xsltAdd() const; /* AN-546 */ 00089 00090 protected: 00091 private: 00092 }; //class AttFile 00093 } //namespace EECFI 00094 00095 #endif