Earth Observation Mission CFI Software DataHandling Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.10 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 using namespace std; 00022 00023 namespace EECFI 00024 { 00025 00029 class StationFile:public EEFile 00030 { 00031 public: 00032 00033 vector<StationRec> stationList; 00034 00036 StationFile(); 00037 00039 StationFile(const string fileNam); 00040 00042 ~StationFile(); 00043 00045 void read() throw (CfiError); 00046 00048 void read( const string stationIdentity ) throw (CfiError); 00049 00051 void readIds(vector<string> &stationIds) throw (CfiError); 00052 protected: 00053 00054 private: 00055 00056 00057 };//class StationFile 00058 }//namespace EECFI 00059 00060 #endif