![]() |
Earth Explorer Mission CFI Software DataHandling Software User Manual |
![]() |
00001 //-------------------------------------------------------------- 00002 // CVS Info: $Id: AttFile.h,v 1.7 2009/04/13 14:06:18 expcfi Exp $ 00003 //-------------------------------------------------------------- 00004 00005 #ifndef _ATTFILE_H 00006 #define _ATTFILE_H 00007 00008 //-INCLUDE--------------------------------------------- 00009 #include "EEFile.h" 00010 #include "AttRec.h" 00011 00012 #include <string> 00013 #include <vector> 00014 00015 //-NAMESPACES------------------------------------------ 00016 using namespace std; 00017 00018 namespace EECFI 00019 { 00020 00024 class AttFile:public EEFile 00025 { 00026 public: 00027 00028 vector<AttRec> attRec; 00029 long sourceRef; 00030 long dataType; 00031 double maxGap; 00032 long satRef; 00033 00035 AttFile(); 00036 00038 AttFile(const string fileNam); 00039 00041 ~AttFile(); 00042 00044 void read() throw (CfiError); 00045 00047 void write( FixedHeader &fixedHead, 00048 vector<AttRec> &attRecords, 00049 const long srcRef, 00050 const long datTyp, 00051 const double maximumGap, 00052 const long satReference 00053 ) throw (CfiError); 00054 00056 void write( string fileNam, 00057 FixedHeader &fixedHead, 00058 vector<AttRec> &attRecords, 00059 const long srcRef, 00060 const long datTyp, 00061 const double maximumGap, 00062 const long satReference 00063 ) throw (CfiError); 00064 00065 protected: 00066 00067 private: 00068 00069 00070 };//class AttFile 00071 }//namespace EECFI 00072 00073 #endif