Earth Observation Mission CFI Software DataHandling Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.20 00003 //-------------------------------------------------------- 00004 00007 00008 #ifndef _EEFILE_H 00009 #define _EEFILE_H 00010 00011 //-INCLUDE------------------------------------------------------ 00012 #include <CfiClass.h> 00013 #include <CfiError.h> 00014 #include <DataHandlingData.h> 00015 #include <FixedHeader.h> 00016 #include <string> 00017 //-NAMESPACES--------------------------------------------------- 00018 00019 namespace EECFI 00020 { 00024 class XD_DECL EEFile : public CfiClass 00025 { 00026 public: 00027 //Attributes 00028 long fileType; 00029 std::string fileName; 00030 FixedHeader* fixedHeader; 00031 00033 EEFile(); 00034 00036 EEFile(long fileType, const std::string& fileName); 00037 00039 virtual ~EEFile() NOEXCEPT{}; 00040 00042 bool validate(const std::string& logfile) const; 00043 00045 bool validate(const std::string& schema, 00046 const std::string& logfile) const; 00047 00049 void readHeader(); 00050 00052 void setEoffsVersion(long eoffs) const; // AN-638 00053 00054 protected: 00055 private: 00056 }; //EEFile 00057 } // namespace EECFI 00058 00059 #endif