Earth Observation Mission CFI Software DataHandling Software User Manual |
00001 //-------------------------------------------------------------- 00002 // CVS Info: $Id: TleFile.h,v 1.2 2009/04/13 14:06:24 expcfi Exp $ 00003 //-------------------------------------------------------------- 00004 00005 #ifndef _TLEFILE_H 00006 #define _TLEFILE_H 00007 00008 //-INCLUDE--------------------------------------------- 00009 #include "EEFile.h" 00010 #include "TleRec.h" 00011 00012 #include <string> 00013 #include <vector> 00014 00015 //-NAMESPACES------------------------------------------ 00016 using namespace std; 00017 00018 namespace EECFI 00019 { 00020 00024 class TleFile:public EEFile 00025 { 00026 public: 00027 00028 vector<TleRec> tleRec; 00029 00031 TleFile(); 00032 00034 TleFile(string fileNam); 00035 00037 ~TleFile(); 00038 00040 void read( string satellite ) throw (CfiError); 00041 00043 void write( string fileNam, 00044 vector<TleRec> &tleData) throw (CfiError); 00045 00046 protected: 00047 00048 private: 00049 00050 00051 };//class TleFile 00052 }//namespace EECFI 00053 00054 #endif