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: TleFile.h,v 1.8 2014-02-20 20:02:24 cavm Exp $ 00007 //-------------------------------------------------------------- 00008 00009 #ifndef TLEFILE_H 00010 #define TLEFILE_H 00011 00012 //-INCLUDE--------------------------------------------- 00013 #include <EEFile.h> 00014 #include <TleRec.h> 00015 #include <string> 00016 #include <vector> 00017 00018 //-NAMESPACES------------------------------------------ 00019 00020 namespace EECFI 00021 { 00025 class XD_DECL TleFile : public EEFile 00026 { 00027 public: 00028 std::vector<TleRec> tleRec; 00029 00031 TleFile(); 00032 00034 explicit TleFile(const std::string& fileNam); 00035 00038 TleFile(const TleFile& other); 00039 00041 ~TleFile() NOEXCEPT; 00042 00045 TleFile& operator=(const TleFile& other); 00046 00048 void read(const std::string& satellite); 00049 00051 void write(const std::string& fileNam, 00052 const std::vector<TleRec>& tleData); 00053 00054 }; //class TleFile 00055 } //namespace EECFI 00056 00057 #endif