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

    00001 //--------------------------------------------------------
    00002 // Earth Observation Mission CFI Software. Version 4.11
    00003 //--------------------------------------------------------
    00004
    00005 //--------------------------------------------------------------
    00006 // CVS Info: $Id: StfFile.h,v 1.15 2014-02-20 20:02:24 cavm 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 XD_DECL StfFile:public EEFile
    00029    {
    00030      friend class Swath;
    00031      friend class SwathId;
    00032
    00033      public:
    00034
    00035        vector<StfRec> stfRec;
    00036        StfVhr *vhr;
    00037
    00039        StfFile();
    00040
    00042        StfFile(const string fileNam);
    00043
    00045        StfFile(const StfFile &stfFile);
    00046
    00048        ~StfFile();
    00049
    00051        void read() throw (CfiError);
    00052
    00054        void readVhr() throw (CfiError);
    00055
    00057        void write( string         fileName,
    00058                    FixedHeader    &fixedHead,
    00059                    StfVhr         &stfVhr,
    00060                    vector<StfRec> &stfData) throw (CfiError);
    00061
    00063        void write( FixedHeader    &fixedHead,
    00064                    StfVhr         &stfVhr,
    00065                    vector<StfRec> &stfData) throw (CfiError);
    00066
    00068        void operator=( const StfFile &stfFile );
    00069
    00070      protected:
    00071
    00072      private:
    00074        StfFile( void *stf_file ) throw (CfiError);
    00075
    00077        void* getInternalData() throw (CfiError);
    00078
    00080        void eraseStf();
    00081
    00082   };//class StfFile
    00083 }//namespace EECFI
    00084
    00085 #endif