| Earth Observation Mission CFI Software DataHandling Software User Manual |

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

- File List

# C:/Jenkins/workspace/CPP_create_documentation/slaves/windows8/lib_src/DataHandling/include/DorisFile.h

    00001 //--------------------------------------------------------
    00002 // Earth Observation Mission CFI Software. Version 4.11
    00003 //--------------------------------------------------------
    00004
    00005 //----------------------------------------------------------------
    00006 // CVS Info: $Id: DorisFile.h,v 1.15 2014-02-20 20:02:23 cavm Exp $
    00007 //----------------------------------------------------------------
    00008
    00009 #ifndef _DORISFILE_H
    00010 #define _DORISFILE_H
    00011
    00012 //-INCLUDE---------------------------------------------
    00013 #include "EEFile.h"
    00014 #include "OsvRec.h"
    00015 #include "CfiError.h"
    00016 #include "DataHandlingData.h"
    00017
    00018 #include <string>
    00019 #include <vector>
    00020
    00021 //-NAMESPACES------------------------------------------
    00022 using namespace std;
    00023
    00024 namespace EECFI
    00025 {
    00026
    00030    class XD_DECL DorisFile:public EEFile
    00031    {
    00032       public:
    00033
    00034          // Atributes
    00035          long        fileType;
    00036          DorisHeader *header;
    00037          vector<OsvRec> osvRec;
    00038          vector<OsvRec> osvRecJ2;
    00039          double leapTime;
    00040          int    leapSign;
    00041          long   absOrbit;
    00042          long   relOrbit;
    00043
    00045          DorisFile(string fileNam);
    00046
    00048          DorisFile(string fileNam,
    00049                    DorisHeader &fhr,
    00050                    vector<OsvRec> &osvRecEF,
    00051                    vector<OsvRec> &osvRecJ,
    00052                    double leapTim,
    00053                    int leapSig,
    00054                    long absOrbi,
    00055                    long relOrbi );
    00056
    00058          ~DorisFile();
    00059
    00061          void read(const bool interpolFlag) throw (CfiError);
    00062
    00064          void read(const bool   interpolFlag,
    00065                    const double time0,
    00066                    const double time1) throw (CfiError);
    00067
    00069          void readHeader() throw (CfiError);
    00070
    00072          void write( string fileNam ) throw (CfiError);
    00073
    00075          void write( string fileNam,
    00076                      DorisHeader &fhr,
    00077                      vector<OsvRec> &osvRecEF,
    00078                      vector<OsvRec> &osvRecJ,
    00079                      double leapTim,
    00080                      int leapSig,
    00081                      long absOrbi,
    00082                      long relOrbi ) throw (CfiError);
    00083
    00084       protected:
    00085
    00086       private:
    00087
    00088   };//class DorisFile
    00089 }//namespace EECFI
    00090
    00091 #endif