33 #ifndef _HDF5CFDAPUtil_H 34 #define _HDF5CFDAPUtil_H 39 #include <TheBESKeys.h> 41 #include <D4Attributes.h> 43 const size_t NC_JAVA_STR_SIZE_LIMIT=32767;
49 static H5DataType get_mem_dtype(H5DataType,
size_t);
50 static string print_type(H5DataType h5type);
51 static string print_attr(H5DataType h5type,
int loc,
void *vals);
52 static void replace_double_quote(
string &str);
60 static string escattr(
string s);
63 static string octstring(
unsigned char val);
static D4AttributeType daptype_strrep_to_dap4_attrtype(std::string s)
static string escattr(string s)
This file includes several helper functions for translating HDF5 to CF-compliant.
static string octstring(unsigned char val)
Helper function for escattr.