Earth Observation Mission CFI Software DataHandling Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.26 00003 //-------------------------------------------------------- 00004 00005 //--------------------------------------------------------------- 00006 // CVS Info: $Id: ZoneFile.h,v 1.12 2014-02-20 20:02:24 cavm Exp $ 00007 //--------------------------------------------------------------- 00008 00009 #ifndef ZONEFILE_H 00010 #define ZONEFILE_H 00011 00012 //-INCLUDE--------------------------------------------- 00013 #include <CfiError.h> 00014 #include <EEFile.h> 00015 #include <ZoneRec.h> 00016 #include <string> 00017 #include <vector> 00018 00019 //-NAMESPACES------------------------------------------ 00020 00021 namespace EECFI 00022 { 00026 class XD_DECL ZoneFile : public EEFile 00027 { 00028 public: 00029 std::vector<ZoneRec> zoneRec; 00030 00032 ZoneFile(); 00033 00035 explicit ZoneFile(const std::string& fileNam); 00036 00039 ZoneFile(const ZoneFile& other); 00040 00042 ~ZoneFile() NOEXCEPT; 00043 00046 ZoneFile& operator=(const ZoneFile& other); 00047 00049 void read(); 00050 00052 void read(const std::string& zoneIdentity); 00053 00055 std::vector<std::string> readIds() const; 00056 00057 }; //class ZoneFile 00058 } //namespace EECFI 00059 00060 #endif