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