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: StationFile.h,v 1.12 2014-02-20 20:02:24 cavm Exp $ 00007 //------------------------------------------------------------------ 00008 00009 #ifndef STATIONFILE_H 00010 #define STATIONFILE_H 00011 00012 //-INCLUDE--------------------------------------------- 00013 #include <CfiError.h> 00014 #include <EEFile.h> 00015 #include <StationRec.h> 00016 #include <string> 00017 #include <vector> 00018 00019 //-NAMESPACES------------------------------------------ 00020 00021 namespace EECFI 00022 { 00026 class XD_DECL StationFile : public EEFile 00027 { 00028 public: 00029 std::vector<StationRec> stationList; 00030 00032 StationFile(); 00033 00035 explicit StationFile(const std::string& fileNam); 00036 00039 StationFile(const StationFile& other); 00040 00042 ~StationFile() NOEXCEPT; 00043 00046 StationFile& operator=(const StationFile& other); 00047 00049 void read(); 00050 00052 void read(const std::string& stationIdentity); 00053 00055 void readIds(std::vector<std::string>& stationIds); 00056 00057 }; //class StationFile 00058 } //namespace EECFI 00059 00060 #endif