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

    00001 //--------------------------------------------------------
    00002 // Earth Observation Mission CFI Software. Version 4.4
    00003 //--------------------------------------------------------
    00004
    00005 //--------------------------------------------------------------
    00006 // CVS Info: $Id: AttFile.h,v 1.13 2012/06/20 16:10:44 expcfi Exp $
    00007 //--------------------------------------------------------------
    00008
    00009 #ifndef _ATTFILE_H
    00010 #define _ATTFILE_H
    00011
    00012 //-INCLUDE---------------------------------------------
    00013 #include "EEFile.h"
    00014 #include "AttRec.h"
    00015
    00016 #include <string>
    00017 #include <vector>
    00018
    00019 //-NAMESPACES------------------------------------------
    00020 using namespace std;
    00021
    00022 namespace EECFI
    00023 {
    00024
    00028    class AttFile:public EEFile
    00029    {
    00030       public:
    00031
    00032          vector<AttRec> attRec;
    00033          long sourceRef;
    00034          long dataType;
    00035          double maxGap;
    00036          long satRef;
    00037
    00039          AttFile();
    00040
    00042          AttFile(const string fileNam);
    00043
    00045          ~AttFile();
    00046
    00048          void read() throw (CfiError);
    00049
    00058          void write( FixedHeader    &fixedHead,
    00059                      vector<AttRec> &attRecords,
    00060                      const long srcRef,
    00061                      const long datTyp,
    00062                      const double maximumGap,
    00063                      const long satReference
    00064                    ) throw (CfiError);
    00065
    00074          void write( string fileNam,
    00075                      FixedHeader    &fixedHead,
    00076                      vector<AttRec> &attRecords,
    00077                      const long srcRef,
    00078                      const long datTyp,
    00079                      const double maximumGap,
    00080                      const long satReference
    00081                    ) throw (CfiError);
    00082
    00090          void decimate( double decimationDeltaTime,
    00091                         AttFile &attOut ) throw (CfiError);
    00092
    00093       protected:
    00094
    00095       private:
    00096
    00097
    00098   };//class AttFile
    00099 }//namespace EECFI
    00100
    00101 #endif