msg_data_format.~cpp

来自「HRIT读取,用于在LINUX下显示高束数据图像」· ~CPP 代码 · 共 51 行

~CPP
51
字号
//-----------------------------------------------------------------------------////  File        : MSG_data_format.cpp//  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////-----------------------------------------------------------------------------#include <hrit/MSG_data_format.h>std::string MSG_data_format(t_enum_MSG_data_format data_field_format){  std::string format;  switch (data_field_format)  {    case MSG_NO_FORMAT:      format = "MSG unformatted data field";      break;    case MSG_JPEG_FORMAT:      format = "MSG JPEG formatted data field";      break;    case MSG_T4_FORMAT:      format = "MSG T.4 coded data field";      break;    case MSG_WAVELET_FORMAT:      format = "MSG Wavelet coded data field";      break;    default:      format = "MSG undefined format for data field";      break;  }  return format;}

⌨️ 快捷键说明

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