Earth Observation Mission CFI Software DataHandling Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.18 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 "EEFile.h" 00014 #include "StationRec.h" 00015 #include "CfiError.h" 00016 00017 #include <string> 00018 #include <vector> 00019 00020 //-NAMESPACES------------------------------------------ 00021 00022 namespace EECFI 00023 { 00024 00028 class XD_DECL StationFile:public EEFile 00029 { 00030 public: 00031 00032 std::vector<StationRec> stationList; 00033 00035 StationFile(); 00036 00038 explicit StationFile(const std::string &fileNam); 00039 00041 ~StationFile() NOEXCEPT; 00042 00044 void read() ; 00045 00047 void read( const std::string &stationIdentity ) ; 00048 00050 void readIds(std::vector<std::string> &stationIds) ; 00051 protected: 00052 00053 private: 00054 00055 00056 };//class StationFile 00057 }//namespace EECFI 00058 00059 #endif