![]() |
Earth Observation Mission CFI Software DataHandling Software User Manual |
![]() |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.22 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 EEFile(const EEFile& srcFile); 00040 00042 virtual ~EEFile() NOEXCEPT; 00043 00045 bool validate(const std::string& logfile) const; 00046 00048 bool validate(const std::string& schema, 00049 const std::string& logfile) const; 00050 00052 void readHeader(); 00053 00055 void setEoffsVersion(long eoffs) const; // AN-638 00056 00057 protected: 00058 private: 00059 }; //EEFile 00060 } // namespace EECFI 00061 00062 #endif