![]() |
Earth Explorer Mission CFI Software DataHandling Software User Manual |
![]() |
00001 //------------------------------------------------------------------ 00002 // CVS Info: $Id: StationFile.h,v 1.5 2009/04/13 14:06:23 expcfi Exp $ 00003 //------------------------------------------------------------------ 00004 00005 #ifndef _STATIONFILE_H 00006 #define _STATIONFILE_H 00007 00008 //-INCLUDE--------------------------------------------- 00009 #include "EEFile.h" 00010 #include "StationRec.h" 00011 #include "CfiError.h" 00012 00013 #include <string> 00014 #include <vector> 00015 00016 //-NAMESPACES------------------------------------------ 00017 using namespace std; 00018 00019 namespace EECFI 00020 { 00021 00025 class StationFile:public EEFile 00026 { 00027 public: 00028 00029 vector<StationRec> stationList; 00030 00032 StationFile(); 00033 00035 StationFile(const string fileNam); 00036 00038 ~StationFile(); 00039 00041 void read() throw (CfiError); 00042 00044 void read( const string stationIdentity ) throw (CfiError); 00045 00047 void readIds(vector<string> &stationIds) throw (CfiError); 00048 protected: 00049 00050 private: 00051 00052 00053 };//class StationFile 00054 }//namespace EECFI 00055 00056 #endif