bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
HDF5CFDAPUtil Class Reference
Collaboration diagram for HDF5CFDAPUtil:
Collaboration graph

Static Public Member Functions

static D4AttributeType daptype_strrep_to_dap4_attrtype (const 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.
 
static string print_attr (H5DataType h5type, unsigned int loc, void *vals)
 
static string print_type (H5DataType h5type)
 
static D4AttributeType print_type_dap4 (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 ( const 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 387 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 60 of file h5cfdaputil.cc.

◆ get_mem_dtype()

H5DataType HDF5CFDAPUtil::get_mem_dtype ( H5DataType dtype,
size_t mem_dtype_size )
static

Definition at line 231 of file h5cfdaputil.cc.

◆ octstring()

string HDF5CFDAPUtil::octstring ( unsigned char val)
static

Helper function for escattr.

Definition at line 95 of file h5cfdaputil.cc.

◆ print_attr()

string HDF5CFDAPUtil::print_attr ( H5DataType h5type,
unsigned int loc,
void * vals )
static

Definition at line 239 of file h5cfdaputil.cc.

◆ print_type()

string HDF5CFDAPUtil::print_type ( H5DataType h5type)
static

Definition at line 121 of file h5cfdaputil.cc.

◆ print_type_dap4()

D4AttributeType HDF5CFDAPUtil::print_type_dap4 ( H5DataType h5type)
static

Definition at line 181 of file h5cfdaputil.cc.

◆ replace_double_quote()

void HDF5CFDAPUtil::replace_double_quote ( string & str)
static

Definition at line 105 of file h5cfdaputil.cc.


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