Earth Observation Mission CFI Software DataHandling Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.18 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 00016 #include <string> 00017 #include <vector> 00018 00019 //-NAMESPACES------------------------------------------ 00020 00021 namespace EECFI 00022 { 00023 00027 class XD_DECL OsfFile:public EEFile 00028 { 00029 public: 00030 00031 std::vector<OsfRec> osfRec; 00032 00034 OsfFile(); 00035 00037 explicit OsfFile(const std::string &fileNam); 00038 00040 ~OsfFile() NOEXCEPT; 00041 00043 void read() ; 00044 00046 void write( const std::string &fileNam, 00047 const FixedHeader &fixedHead, 00048 const std::vector<OsfRec> &osfData) ; 00049 00051 void write( const FixedHeader &fixedHead, 00052 const std::vector<OsfRec> &osfData) ; 00053 00055 long xsltAdd() const; /* AN-546 */ 00056 00057 protected: 00058 00059 private: 00060 00061 00062 };//class OsfFile 00063 }//namespace EECFI 00064 00065 #endif