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: ZoneFile.h,v 1.11 2013-09-18 07:43:47 expcfi Exp $ 00007 //--------------------------------------------------------------- 00008 00009 #ifndef _ZONEFILE_H 00010 #define _ZONEFILE_H 00011 00012 //-INCLUDE--------------------------------------------- 00013 #include "EEFile.h" 00014 #include "ZoneRec.h" 00015 #include "CfiError.h" 00016 00017 #include <string> 00018 #include <vector> 00019 00020 //-NAMESPACES------------------------------------------ 00021 using namespace std; 00022 00023 namespace EECFI 00024 { 00025 00029 class ZoneFile:public EEFile 00030 { 00031 public: 00032 00033 vector<ZoneRec> zoneRec; 00034 00036 ZoneFile(); 00037 00039 ZoneFile(const string fileNam); 00040 00042 ~ZoneFile(); 00043 00045 void read() throw (CfiError); 00046 00048 void read( const string zoneIdentity ) throw (CfiError); 00049 00051 vector<string> readIds() throw (CfiError); 00052 00053 protected: 00054 00055 private: 00056 00057 00058 };//class ZoneFile 00059 }//namespace EECFI 00060 00061 #endif