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: 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 00016 #include <string> 00017 #include <vector> 00018 00019 //-NAMESPACES------------------------------------------ 00020 using namespace std; 00021 00022 namespace EECFI 00023 { 00024 00028 class TleFile:public EEFile 00029 { 00030 public: 00031 00032 vector<TleRec> tleRec; 00033 00035 TleFile(); 00036 00038 TleFile(string fileNam); 00039 00041 ~TleFile(); 00042 00044 void read( string satellite ) throw (CfiError); 00045 00047 void write( string fileNam, 00048 vector<TleRec> &tleData) throw (CfiError); 00049 00050 protected: 00051 00052 private: 00053 00054 00055 };//class TleFile 00056 }//namespace EECFI 00057 00058 #endif