Earth Explorer Mission CFI Software DataHandling Software User Manual |
00001 //---------------------------------------------------------------- 00002 // CVS Info: $Id: OrbitFile.h,v 1.5 2009/04/13 14:06:20 expcfi Exp $ 00003 //---------------------------------------------------------------- 00004 00005 #ifndef _ORBITFILE_H 00006 #define _ORBITFILE_H 00007 00008 //-INCLUDE--------------------------------------------- 00009 #include "EEFile.h" 00010 #include "OsvRec.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 OrbitFile:public EEFile 00026 { 00027 public: 00028 00029 vector<OsvRec> osvRec; 00030 00032 OrbitFile(); 00033 00035 OrbitFile(const string fileNam); 00036 00038 ~OrbitFile(); 00039 00041 void read(const bool readFroFlag, 00042 const bool readingOsvFlag) throw (CfiError); 00043 00045 void read(const bool readFroFlag, 00046 const double startRange, 00047 const double stopRange, 00048 const bool readingOsvFlag) throw (CfiError); 00049 00051 void read(const bool readFroFlag, 00052 const long timeRef, 00053 const double startRange, 00054 const double stopRange, 00055 const bool readingOsvFlag) throw (CfiError); 00056 00058 void write( const string fileNam, 00059 FixedHeader &fixedHead, 00060 vector<OsvRec> &osvData) throw (CfiError); 00061 00062 00063 protected: 00064 00065 private: 00066 00067 00068 };//class OrbitFile 00069 }//namespace EECFI 00070 00071 #endif