Earth Observation Mission CFI Software DataHandling Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.6 00003 //-------------------------------------------------------- 00004 00005 //-------------------------------------------------------------- 00006 // CVS Info: $Id: OsfFile.h,v 1.10 2013-09-18 07:43:46 expcfi 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 using namespace std; 00021 00022 namespace EECFI 00023 { 00024 00028 class OsfFile:public EEFile 00029 { 00030 public: 00031 00032 vector<OsfRec> osfRec; 00033 00035 OsfFile(); 00036 00038 OsfFile(const string fileNam); 00039 00041 ~OsfFile(); 00042 00044 void read() throw (CfiError); 00045 00047 void write( const string fileNam, 00048 FixedHeader &fixedHead, 00049 vector<OsfRec> &osfData) throw (CfiError); 00050 00052 void write( FixedHeader &fixedHead, 00053 vector<OsfRec> &osfData) throw (CfiError); 00054 00055 00056 protected: 00057 00058 private: 00059 00060 00061 };//class OsfFile 00062 }//namespace EECFI 00063 00064 #endif