| 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/DorisFile.h

    00001 //--------------------------------------------------------
    00002 // Earth Observation Mission CFI Software. Version 4.4
    00003 //--------------------------------------------------------
    00004
    00005 //----------------------------------------------------------------
    00006 // CVS Info: $Id: DorisFile.h,v 1.11 2012/06/20 16:10:47 expcfi 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 DorisFile:public EEFile
    00031    {
    00032       public:
    00033
    00034          // Atributes
    00035          DorisHeader *header;
    00036          vector<OsvRec> osvRec;
    00037          vector<OsvRec> osvRecJ2;
    00038          double leapTime;
    00039          int    leapSign;
    00040          long   absOrbit;
    00041          long   relOrbit;
    00042
    00044          DorisFile(string fileNam);
    00045
    00047          DorisFile(string fileNam,
    00048                    DorisHeader &fhr,
    00049                    vector<OsvRec> &osvRecEF,
    00050                    vector<OsvRec> &osvRecJ,
    00051                    double leapTim,
    00052                    int leapSig,
    00053                    long absOrbi,
    00054                    long relOrbi );
    00055
    00057          ~DorisFile();
    00058
    00060          void read(const bool interpolFlag) throw (CfiError);
    00061
    00063          void read(const bool   interpolFlag,
    00064                    const double time0,
    00065                    const double time1) throw (CfiError);
    00066
    00068          void readHeader() throw (CfiError);
    00069
    00071          void write( string fileNam ) throw (CfiError);
    00072
    00074          void write( string fileNam,
    00075                      DorisHeader &fhr,
    00076                      vector<OsvRec> &osvRecEF,
    00077                      vector<OsvRec> &osvRecJ,
    00078                      double leapTim,
    00079                      int leapSig,
    00080                      long absOrbi,
    00081                      long relOrbi ) throw (CfiError);
    00082
    00083       protected:
    00084
    00085       private:
    00086
    00087   };//class DorisFile
    00088 }//namespace EECFI
    00089
    00090 #endif