![]() |
Earth Observation Mission CFI Software DataHandling Software User Manual |
![]() |
00001 00002 00003 00004 #ifndef _EEFILE_H 00005 #define _EEFILE_H 00006 00007 //-INCLUDE------------------------------------------------------ 00008 #include "CfiClass.h" 00009 #include "CfiError.h" 00010 #include "FixedHeader.h" 00011 00012 #include <string> 00013 //-NAMESPACES--------------------------------------------------- 00014 using namespace std; 00015 00016 namespace EECFI 00017 { 00021 class EEFile:public CfiClass 00022 { 00023 public: 00024 00025 //Attributes 00026 long fileType; 00027 string fileName; 00028 FixedHeader *fixedHeader; 00029 00031 EEFile(); 00032 00034 EEFile(long fileType, string fileName); 00035 00037 virtual ~EEFile(){}; 00038 00040 bool validate(const string logfile) const throw (CfiError); 00041 00043 bool validate(const string schema, 00044 const string logfile) const throw (CfiError); 00045 00047 void readHeader() throw (CfiError); 00048 00049 protected: 00050 00051 00052 00053 private: 00054 00055 00056 00057 };//EEFile 00058 }//EECFI 00059 00060 #endif