bes  Updated for version 3.20.6
HDF5CFDAPUtil Class Reference
Collaboration diagram for HDF5CFDAPUtil:
Collaboration graph

Static Public Member Functions

static D4AttributeType daptype_strrep_to_dap4_attrtype (std::string s)
 
static string escattr (string s)
 
static H5DataType get_mem_dtype (H5DataType, size_t)
 
static string octstring (unsigned char val)
 Helper function for escattr. More...
 
static string print_attr (H5DataType h5type, int loc, void *vals)
 
static string print_type (H5DataType h5type)
 
static void replace_double_quote (string &str)
 

Detailed Description

Definition at line 46 of file h5cfdaputil.h.

Member Function Documentation

◆ daptype_strrep_to_dap4_attrtype()

D4AttributeType HDF5CFDAPUtil::daptype_strrep_to_dap4_attrtype ( std::string  s)
static

Helper function to obtain the DAP4 attribute type. We deliberately duplicates the same function for the default option to separate the handling of CF .

Definition at line 303 of file h5cfdaputil.cc.

◆ escattr()

string HDF5CFDAPUtil::escattr ( string  s)
static

A customized escaping function to escape special characters following OPeNDAP's escattr function that can be found at escaping.cc and escaping.h. i Note: the customized version will not treat
(new line),\t(tab),\r(Carriage return) as special characters since NASA HDF files use this characters to make the attribute easy to read. Escaping these characters in the attributes will use \012 etc to replace
etc. in these attributes and make attributes hard to read.

Definition at line 43 of file h5cfdaputil.cc.

◆ octstring()

string HDF5CFDAPUtil::octstring ( unsigned char  val)
static

Helper function for escattr.

Definition at line 76 of file h5cfdaputil.cc.


The documentation for this class was generated from the following files: