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

    00001 //--------------------------------------------------------
    00002 // Earth Observation Mission CFI Software. Version 4.4
    00003 //--------------------------------------------------------
    00004
    00005 //--------------------------------------------------------------
    00006 // CVS Info: $Id: StfFile.h,v 1.11 2012/06/20 16:10:56 expcfi Exp $
    00007 //--------------------------------------------------------------
    00008
    00009 #ifndef _STFFILE_H
    00010 #define _STFFILE_H
    00011
    00012 //-INCLUDE---------------------------------------------
    00013 #include "EEFile.h"
    00014 #include "StfRec.h"
    00015
    00016 #include <string>
    00017 #include <vector>
    00018
    00019 //-NAMESPACES------------------------------------------
    00020 using namespace std;
    00021
    00022 namespace EECFI
    00023 {
    00024
    00028    class StfFile:public EEFile
    00029    {
    00030      friend class Swath;
    00031      public:
    00032
    00033        vector<StfRec> stfRec;
    00034        StfVhr *vhr;
    00035
    00037        StfFile();
    00038
    00040        StfFile(const string fileNam);
    00041
    00043        StfFile(const StfFile &stfFile);
    00044
    00046        ~StfFile();
    00047
    00049        void read() throw (CfiError);
    00050
    00052        void readVhr() throw (CfiError);
    00053
    00055        void write( string         fileName,
    00056                    FixedHeader    &fixedHead,
    00057                    StfVhr         &stfVhr,
    00058                    vector<StfRec> &stfData) throw (CfiError);
    00059
    00061        void write( FixedHeader    &fixedHead,
    00062                    StfVhr         &stfVhr,
    00063                    vector<StfRec> &stfData) throw (CfiError);
    00064
    00066        void operator=( const StfFile &stfFile );
    00067
    00068      protected:
    00069
    00070      private:
    00072        StfFile( void *stf_file ) throw (CfiError);
    00073
    00075        void* getInternalData() throw (CfiError);
    00076
    00078        void eraseStf();
    00079
    00080   };//class StfFile
    00081 }//namespace EECFI
    00082
    00083 #endif