![]() |
Earth Observation Mission CFI Software DataHandling Software User Manual |
![]() |
00001 //--------------------------------------------------------------- 00002 // CVS Info: $Id: StarFile.h,v 1.4 2009/04/13 14:06:22 expcfi Exp $ 00003 //--------------------------------------------------------------- 00004 00005 #ifndef _STARFILE_H 00006 #define _STARFILE_H 00007 00008 //-INCLUDE--------------------------------------------- 00009 #include "EEFile.h" 00010 #include "StarRec.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 StarFile:public EEFile 00026 { 00027 public: 00028 00029 vector<StarRec> starRec; 00030 00032 StarFile(); 00033 00035 StarFile(const string fileNam); 00036 00038 ~StarFile(); 00039 00041 void read() throw (CfiError); 00042 00044 void read( const string zoneIdentity ) throw (CfiError); 00045 00047 vector<string> readIds() throw (CfiError); 00048 00049 protected: 00050 00051 private: 00052 00053 00054 };//class StarFile 00055 }//namespace EECFI 00056 00057 #endif