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: OsfFile.h,v 1.11 2014-02-20 20:02:23 cavm Exp $ 00007 //-------------------------------------------------------------- 00008 00009 #ifndef OSFFILE_H 00010 #define OSFFILE_H 00011 00012 //-INCLUDE--------------------------------------------- 00013 #include <EEFile.h> 00014 #include <OsfRec.h> 00015 #include <string> 00016 #include <vector> 00017 00018 //-NAMESPACES------------------------------------------ 00019 00020 namespace EECFI 00021 { 00025 class XD_DECL OsfFile : public EEFile 00026 { 00027 public: 00028 std::vector<OsfRec> osfRec; 00029 00031 OsfFile(); 00032 00034 explicit OsfFile(const std::string& fileNam); 00035 00038 OsfFile(const OsfFile& other); 00039 00041 ~OsfFile() NOEXCEPT; 00042 00045 OsfFile& operator=(const OsfFile& other); 00046 00048 void read(); 00049 00051 void write(const std::string& fileNam, 00052 const FixedHeader& fixedHead, 00053 const std::vector<OsfRec>& osfData); 00054 00056 void write(const FixedHeader& fixedHead, 00057 const std::vector<OsfRec>& osfData); 00058 00060 long xsltAdd() const; /* AN-546 */ 00061 00062 }; //class OsfFile 00063 } //namespace EECFI 00064 00065 #endif