| Earth Observation Mission CFI Software DataHandling Software User Manual |

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

# Z:/work/code/expcfidev/cplusplusWrapper/DataHandling/include/OrbitFile.h

    00001 //--------------------------------------------------------
    00002 // Earth Observation Mission CFI Software. Version 4.4
    00003 //--------------------------------------------------------
    00004
    00005 //----------------------------------------------------------------
    00006 // CVS Info: $Id: OrbitFile.h,v 1.10 2012/06/20 16:10:49 expcfi Exp $
    00007 //----------------------------------------------------------------
    00008
    00009 #ifndef _ORBITFILE_H
    00010 #define _ORBITFILE_H
    00011
    00012 //-INCLUDE---------------------------------------------
    00013 #include "EEFile.h"
    00014 #include "OsvRec.h"
    00015 #include "CfiError.h"
    00016
    00017 #include <string>
    00018 #include <vector>
    00019
    00020 //-NAMESPACES------------------------------------------
    00021 using namespace std;
    00022
    00023 namespace EECFI
    00024 {
    00025
    00029    class OrbitFile:public EEFile
    00030    {
    00031       public:
    00032
    00033          vector<OsvRec> osvRec;
    00034
    00036          OrbitFile();
    00037
    00039          OrbitFile(const string fileNam);
    00040
    00042          ~OrbitFile();
    00043
    00045          void read(const bool readFroFlag,
    00046                    const bool readingOsvFlag) throw (CfiError);
    00047
    00049          void read(const bool readFroFlag,
    00050                    const double startRange,
    00051                    const double stopRange,
    00052                    const bool readingOsvFlag) throw (CfiError);
    00053
    00055          void read(const bool readFroFlag,
    00056                    const long timeRef,
    00057                    const double startRange,
    00058                    const double stopRange,
    00059                    const bool readingOsvFlag) throw (CfiError);
    00060
    00062          void write( const string fileNam,
    00063                      FixedHeader &fixedHead,
    00064                      vector<OsvRec> &osvData) throw (CfiError);
    00065
    00073         void decimate( double decimationDeltaTime,
    00074                        OrbitFile &osvOut ) throw (CfiError);
    00075
    00076   protected:
    00077
    00078   private:
    00079
    00080
    00081   };//class OrbitFile
    00082 }//namespace EECFI
    00083
    00084 #endif