Earth Observation Mission CFI Software DataHandling Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.18 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 "EEFile.h" 00014 #include "AttRec.h" 00015 00016 #include <string> 00017 #include <vector> 00018 00019 //-NAMESPACES------------------------------------------ 00020 00021 namespace EECFI 00022 { 00023 00027 class XD_DECL AttFile:public EEFile 00028 { 00029 public: 00030 00031 std::vector<AttRec> attRec; 00032 long sourceRef; 00033 long dataType; 00034 double maxGap; 00035 long satRef; 00036 00038 AttFile(); 00039 00041 explicit AttFile(const std::string &fileNam); 00042 00044 ~AttFile() NOEXCEPT; 00045 00047 void read() ; 00048 00057 void write( const FixedHeader &fixedHead, 00058 const std::vector<AttRec> &attRecords, 00059 const long srcRef, 00060 const long datTyp, 00061 const double maximumGap, 00062 const long satReference 00063 ) ; 00064 00073 void write( const std::string &fileNam, 00074 const FixedHeader &fixedHead, 00075 const std::vector<AttRec> &attRecords, 00076 const long srcRef, 00077 const long datTyp, 00078 const double maximumGap, 00079 const long satReference 00080 ) ; 00081 00089 void decimate( double decimationDeltaTime, 00090 AttFile &attOut ) const; 00091 00093 long xsltAdd() const; /* AN-546 */ 00094 00095 protected: 00096 00097 private: 00098 00099 00100 };//class AttFile 00101 }//namespace EECFI 00102 00103 #endif