![]() |
Earth Observation Mission CFI Software DataHandling Software User Manual |
![]() |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.2 00003 //-------------------------------------------------------- 00004 00005 //-------------------------------------------------------------- 00006 // CVS Info: $Id: AttFile.h,v 1.8 2009/06/23 06:11:19 expcfi 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 00051 void write( FixedHeader &fixedHead, 00052 vector<AttRec> &attRecords, 00053 const long srcRef, 00054 const long datTyp, 00055 const double maximumGap, 00056 const long satReference 00057 ) throw (CfiError); 00058 00060 void write( string fileNam, 00061 FixedHeader &fixedHead, 00062 vector<AttRec> &attRecords, 00063 const long srcRef, 00064 const long datTyp, 00065 const double maximumGap, 00066 const long satReference 00067 ) throw (CfiError); 00068 00069 protected: 00070 00071 private: 00072 00073 00074 };//class AttFile 00075 }//namespace EECFI 00076 00077 #endif