Earth Observation Mission CFI Software DataHandling Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.18 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 00020 namespace EECFI 00021 { 00025 class XD_DECL EEFile:public CfiClass 00026 { 00027 public: 00028 00029 //Attributes 00030 long fileType; 00031 std::string fileName; 00032 FixedHeader *fixedHeader; 00033 00035 EEFile(); 00036 00038 EEFile(long fileType, const std::string &fileName); 00039 00041 virtual ~EEFile() NOEXCEPT {}; 00042 00044 bool validate(const std::string &logfile) const ; 00045 00047 bool validate(const std::string &schema, 00048 const std::string &logfile) const ; 00049 00051 void readHeader() ; 00052 00054 void setEoffsVersion(long eoffs) const ; // AN-638 00055 00056 00057 protected: 00058 00059 00060 00061 private: 00062 00063 00064 00065 };//EEFile 00066 }//EECFI 00067 00068 #endif