Earth Observation Mission CFI Software DataHandling Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.6 00003 //-------------------------------------------------------- 00004 00007 00008 #ifndef _EEFILE_H 00009 #define _EEFILE_H 00010 00011 //-INCLUDE------------------------------------------------------ 00012 #include "CfiClass.h" 00013 #include "CfiError.h" 00014 #include "FixedHeader.h" 00015 #include "DataHandlingData.h" 00016 00017 #include <string> 00018 //-NAMESPACES--------------------------------------------------- 00019 using namespace std; 00020 00021 namespace EECFI 00022 { 00026 class EEFile:public CfiClass 00027 { 00028 public: 00029 00030 //Attributes 00031 long fileType; 00032 string fileName; 00033 FixedHeader *fixedHeader; 00034 00036 EEFile(); 00037 00039 EEFile(long fileType, string fileName); 00040 00042 virtual ~EEFile(){}; 00043 00045 bool validate(const string logfile) const throw (CfiError); 00046 00048 bool validate(const string schema, 00049 const string logfile) const throw (CfiError); 00050 00052 void readHeader() throw (CfiError); 00053 00054 00055 protected: 00056 00057 00058 00059 private: 00060 00061 00062 00063 };//EEFile 00064 }//EECFI 00065 00066 #endif