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: 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 00042 AttFile(const AttFile& other); 00043 00045 ~AttFile() NOEXCEPT; 00046 00049 AttFile& operator=(const AttFile& other); 00050 00052 void read(); 00053 00062 void write(const FixedHeader& fixedHead, 00063 const std::vector<AttRec>& attRecords, 00064 const long srcRef, 00065 const long datTyp, 00066 const double maximumGap, 00067 const long satReference); 00068 00077 void write(const std::string& fileNam, 00078 const FixedHeader& fixedHead, 00079 const std::vector<AttRec>& attRecords, 00080 const long srcRef, 00081 const long datTyp, 00082 const double maximumGap, 00083 const long satReference); 00084 00092 void decimate(double decimationDeltaTime, 00093 AttFile& attOut) const; 00094 00096 long xsltAdd() const; /* AN-546 */ 00097 00098 protected: 00099 private: 00100 }; //class AttFile 00101 } //namespace EECFI 00102 00103 #endif