Earth Observation Mission CFI Software DataHandling Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.10 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 using namespace std; 00021 00022 namespace EECFI 00023 { 00024 00028 class AttFile:public EEFile 00029 { 00030 public: 00031 00032 vector<AttRec> attRec; 00033 long sourceRef; 00034 long dataType; 00035 double maxGap; 00036 long satRef; 00037 00039 AttFile(); 00040 00042 AttFile(const string fileNam); 00043 00045 ~AttFile(); 00046 00048 void read() throw (CfiError); 00049 00058 void write( FixedHeader &fixedHead, 00059 vector<AttRec> &attRecords, 00060 const long srcRef, 00061 const long datTyp, 00062 const double maximumGap, 00063 const long satReference 00064 ) throw (CfiError); 00065 00074 void write( string fileNam, 00075 FixedHeader &fixedHead, 00076 vector<AttRec> &attRecords, 00077 const long srcRef, 00078 const long datTyp, 00079 const double maximumGap, 00080 const long satReference 00081 ) throw (CfiError); 00082 00090 void decimate( double decimationDeltaTime, 00091 AttFile &attOut ) throw (CfiError); 00092 00094 long xsltAdd() throw (CfiError); /* AN-546 */ 00095 00096 protected: 00097 00098 private: 00099 00100 00101 };//class AttFile 00102 }//namespace EECFI 00103 00104 #endif