bes  Updated for version 3.20.6
HDF5CFUtil Struct Reference
Collaboration diagram for HDF5CFUtil:
Collaboration graph

Static Public Member Functions

static bool cf_dap2_support_numeric_type (H5DataType dtype)
 
static bool cf_strict_support_type (H5DataType dtype)
 
static void close_fileid (hid_t, bool)
 
static void dtoa (double, char *, int)
 
static void gen_unique_name (std::string &str, std::set< std::string > &namelist, int &clash_index)
 
static std::string get_double_str (double x, int total_digit, int after_point)
 
static std::string get_int_str (int x)
 
static size_t H5_numeric_atomic_type_size (H5DataType h5type)
 
static H5DataType H5type_to_H5DAPtype (hid_t h5_type_id)
 Map HDF5 Datatype to the intermediate H5DAPtype for the future use. More...
 
static int int_to_str (int, char str[], int)
 
static std::string obtain_cache_fname (const std::string &fprefix, const std::string &fname, const std::string &vname)
 
static std::string obtain_string_after_lastslash (const std::string s)
 
static std::string obtain_string_before_lastslash (const std::string &s)
 
static void parser_gpm_l3_gridheader (const std::vector< char > &value, int &latsize, int &lonsize, float &lat_start, float &lon_start, float &lat_res, float &lon_res, bool check_reg_orig)
 
static ssize_t read_buffer_from_file (int fd, void *buf, size_t)
 Getting a subset of a variable. More...
 
static std::string remove_substrings (std::string str, const std::string &s)
 
static void rev_str (char *str, int len)
 
static void Split (const char *s, int len, char sep, std::vector< std::string > &names)
 
static void Split (const char *sz, char sep, std::vector< std::string > &names)
 Assume sz is Null terminated string. More...
 
static void Split_helper (std::vector< std::string > &tokens, const std::string &text, const char sep)
 
static std::string trim_string (hid_t dtypeid, const std::string s, int num_sect, size_t section_size, std::vector< size_t > &sect_newsize)
 
static bool use_data_mem_cache (H5DataType h5type, CVType cvtype, const std::string &varpath)
 

Detailed Description

Definition at line 86 of file HDF5CFUtil.h.

Member Function Documentation

◆ H5type_to_H5DAPtype()

H5DataType HDF5CFUtil::H5type_to_H5DAPtype ( hid_t  h5_type_id)
static

Map HDF5 Datatype to the intermediate H5DAPtype for the future use.

Definition at line 54 of file HDF5CFUtil.cc.

◆ read_buffer_from_file()

ssize_t HDF5CFUtil::read_buffer_from_file ( int  fd,
void *  buf,
size_t  total_read 
)
static

Getting a subset of a variable.

Definition at line 1181 of file HDF5CFUtil.cc.

◆ Split() [1/2]

void HDF5CFUtil::Split ( const char *  s,
int  len,
char  sep,
std::vector< std::string > &  names 
)
static

From a string separated by a separator to a list of string, for example, split "ab,c" to {"ab","c"}

Definition at line 329 of file HDF5CFUtil.cc.

◆ Split() [2/2]

void HDF5CFUtil::Split ( const char *  sz,
char  sep,
std::vector< std::string > &  names 
)
static

Assume sz is Null terminated string.

Definition at line 345 of file HDF5CFUtil.cc.

◆ trim_string()

string HDF5CFUtil::trim_string ( hid_t  dtypeid,
const std::string  s,
int  num_sect,
size_t  section_size,
std::vector< size_t > &  sect_newsize 
)
static

Trim the string with many NULL terms or garbage characters to simply a string with a NULL terminator. This method will not handle the NULL PAD case.

Definition at line 223 of file HDF5CFUtil.cc.


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