OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
HDF5CFUtil Struct Reference

#include <HDF5CFUtil.h>

Collaboration diagram for HDF5CFUtil:
Collaboration graph

Static Public Member Functions

static bool cf_strict_support_type (H5DataType dtype)
 
static void close_fileid (hid_t, bool)
 
static void gen_unique_name (std::string &str, std::set< std::string > &namelist, int &clash_index)
 
static H5DataType H5type_to_H5DAPtype (hid_t h5_type_id)
 Map HDF5 Datatype to the intermediate H5DAPtype for the future use. More...
 
static std::string obtain_string_after_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 void Split (const char *s, int len, char sep, std::vector< std::string > &names)
 From a string separated by a separator to a list of string, for example, split "ab,c" to {"ab","c"}. More...
 
static void Split (const char *sz, char sep, std::vector< std::string > &names)
 Assume sz is Null terminated string. More...
 
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)
 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. More...
 

Detailed Description

Definition at line 61 of file HDF5CFUtil.h.

Member Function Documentation

void HDF5CFUtil::close_fileid ( hid_t  file_id,
bool  pass_fileid 
)
static
H5DataType HDF5CFUtil::H5type_to_H5DAPtype ( hid_t  h5_type_id)
static
void HDF5CFUtil::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

Definition at line 233 of file HDF5CFUtil.cc.

References NULL, and Split().

Here is the call graph for this function:

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 212 of file HDF5CFUtil.cc.

Referenced by HDF5CF::GMFile::Add_Dim_Name_GPM(), and parser_gpm_l3_gridheader().

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

Assume sz is Null terminated string.

Definition at line 228 of file HDF5CFUtil.cc.

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 125 of file HDF5CFUtil.cc.

Referenced by HDF5CF::File::Retrieve_H5_Attr_Value().


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