Earth Observation Mission CFI Software DataHandling Software User Manual |
00001 //-------------------------------------------------------- 00002 // Earth Observation Mission CFI Software. Version 4.26 00003 //-------------------------------------------------------- 00004 00005 //-------------------------------------------------------------- 00006 // CVS Info: $Id: SdfFile.h,v 1.14 2014-02-20 20:02:23 cavm Exp $ 00007 //-------------------------------------------------------------- 00008 00009 #ifndef SDFFILE_H 00010 #define SDFFILE_H 00011 00012 //-INCLUDE--------------------------------------------- 00013 #include <EEFile.h> 00014 #include <SdfRec.h> 00015 #include <string> 00016 #include <vector> 00017 00018 //-NAMESPACES------------------------------------------ 00019 00020 namespace EECFI 00021 { 00025 class XD_DECL SdfFile : public EEFile 00026 { 00027 friend class Swath; 00028 friend class SwathId; 00029 00030 public: 00031 std::vector<SdfRec> sdfRec; 00032 00034 SdfFile(); 00035 00037 explicit SdfFile(const std::string& fileNam); 00038 00041 SdfFile(const SdfFile& other); 00042 00044 ~SdfFile() NOEXCEPT; 00045 00048 SdfFile& operator=(const SdfFile& other); 00049 00051 void read(); 00052 00053 private: 00055 explicit SdfFile(const void* sdf_file); 00056 00058 void* getInternalData() const; 00059 00060 }; //class SdfFile 00061 } //namespace EECFI 00062 00063 #endif