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