![]() |
Earth Observation Mission CFI Software DataHandling Software User Manual |
![]() |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.22 00003 //-------------------------------------------------------- 00004 00005 //-------------------------------------------------------------- 00006 // CVS Info: $Id: OsfFile.h,v 1.11 2014-02-20 20:02:23 cavm Exp $ 00007 //-------------------------------------------------------------- 00008 00009 #ifndef _OSFFILE_H 00010 #define _OSFFILE_H 00011 00012 //-INCLUDE--------------------------------------------- 00013 #include <EEFile.h> 00014 #include <OsfRec.h> 00015 #include <string> 00016 #include <vector> 00017 00018 //-NAMESPACES------------------------------------------ 00019 00020 namespace EECFI 00021 { 00025 class XD_DECL OsfFile : public EEFile 00026 { 00027 public: 00028 std::vector<OsfRec> osfRec; 00029 00031 OsfFile(); 00032 00034 explicit OsfFile(const std::string& fileNam); 00035 00037 ~OsfFile() NOEXCEPT; 00038 00040 void read(); 00041 00043 void write(const std::string& fileNam, 00044 const FixedHeader& fixedHead, 00045 const std::vector<OsfRec>& osfData); 00046 00048 void write(const FixedHeader& fixedHead, 00049 const std::vector<OsfRec>& osfData); 00050 00052 long xsltAdd() const; /* AN-546 */ 00053 00054 protected: 00055 private: 00056 }; //class OsfFile 00057 } //namespace EECFI 00058 00059 #endif