⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 msg_data.~h

📁 HRIT读取,用于在LINUX下显示高束数据图像
💻 ~H
字号:
//-----------------------------------------------------------------------------////  File        : MSG_data.h//  Description : MSG HRIT-LRIT format interface//  Project     : Meteosatlib//  Author      : Graziano Giuliani//  References  : MSG/SPE/057 LRIT-HRIT Mission Specific Implementation,//                V. 4.1 9 Mar 2001////  This program is free software; you can redistribute it and/or modify//  it under the terms of the GNU General Public License as published by//  the Free Software Foundation; either version 2 of the License, or//  (at your option) any later version.////  This program is distributed in the hope that it will be useful,//  but WITHOUT ANY WARRANTY; without even the implied warranty of//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the//  GNU General Public License for more details.////  You should have received a copy of the GNU General Public License//  along with this program; if not, write to the Free Software//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA////-----------------------------------------------------------------------------#ifndef __MSG_DATA_H__#define __MSG_DATA_H__#include <fstream>#include <iostream>#include <string>#include <hrit/MSG_hrit_specdoc.h>#include <hrit/MSG_machine.h>#include <hrit/MSG_filetype.h>#include <hrit/MSG_header.h>#include <hrit/MSG_data_image.h>#include <hrit/MSG_data_key.h>#include <hrit/MSG_data_gts.h>#include <hrit/MSG_data_text.h>#include <hrit/MSG_data_SatelliteStatus.h>#include <hrit/MSG_data_ImageAcquisition.h>#include <hrit/MSG_data_CelestialEvents.h>#include <hrit/MSG_data_ImageDescription.h>#include <hrit/MSG_data_RadiometricProc.h>#include <hrit/MSG_data_GeometricProc.h>#include <hrit/MSG_data_ImageProdStats.h>#include <hrit/MSG_data_NavigExtrResult.h>#include <hrit/MSG_data_RadiometricQuality.h>#include <hrit/MSG_data_GeometricQuality.h>#include <hrit/MSG_data_TimelinComple.h>#include <hrit/MSG_data_IMPFConfiguration.h>#include <hrit/MSG_data_SGS_header.h>class MSG_data_level_15_header {  public:    MSG_data_SatelliteStatus sat_status;    MSG_data_ImageAcquisition image_acquisition;    MSG_data_CelestialEvents celestial_events;    MSG_data_ImageDescription image_description;    MSG_data_RadiometricProc radiometric_proc;    MSG_data_GeometricProc geometric_proc;    MSG_data_IMPFConfiguration IMPF_config;    friend std::ostream& operator<< ( std::ostream& os,                                      MSG_data_level_15_header &h );};class MSG_data_level_15_trailer {  public:    MSG_data_ImageProdStats product_stats;    MSG_data_NavigExtrResult navig_result;    MSG_data_RadiometricQuality radiometric_qlty;    MSG_data_GeometricQuality geometric_qlty;    MSG_data_TimelinComple timelin_comple;    friend std::ostream& operator<< ( std::ostream& os,                                      MSG_data_level_15_trailer &t );};class MSG_data {  public:    MSG_data( );    MSG_data( std::ifstream &in, MSG_header &header);    ~MSG_data( );    MSG_data_key *key_message;    MSG_data_gts *gts_message;    MSG_data_text *text_message;    MSG_data_level_15_header *prologue;    MSG_data_level_15_trailer *epilogue;    MSG_data_SGS_header *sdsprologue;    MSG_data_image *image;    void read_from( std::ifstream &in, MSG_header &header );    // Overloaded << operator    friend std::ostream& operator<< ( std::ostream& os, MSG_data &h );  private:    t_enum_MSG_filetype typecode;};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -