bes
Updated for version 3.20.6
|
Go to the source code of this file.
Functions | |
bool | check_dimscale (hid_t fid) |
bool | check_h5str (hid_t) |
void | close_fileid (hid_t fid) |
D4AttributeType | daptype_strrep_to_dap4_attrtype (std::string s) |
hid_t | get_attr_info (hid_t dset, int index, bool, DSattr_t *attr_inst, bool *) |
libdap::BaseType * | Get_bt (const std::string &vname, const std::string &var_path, const std::string &dataset, hid_t datatype, bool is_dap4) |
string | get_dap_type (hid_t type, bool) |
void | get_dataset (hid_t pid, const std::string &dname, DS_t *dt_inst_ptr, bool has_dimscale) |
hid_t | get_fileid (const char *filename) |
libdap::Structure * | Get_structure (const std::string &varname, const std::string &var_path, const std::string &dataset, hid_t datatype, bool is_dap4) |
void | obtain_dimnames (hid_t dset, int, DS_t *dt_inst_ptr) |
std::string | print_attr (hid_t type, int loc, void *sm_buf) |
void | write_vlen_str_attrs (hid_t attr_id, hid_t ty_id, DSattr_t *, libdap::D4Attribute *d4_attr, libdap::AttrTable *d2_attr, bool is_dap4) |
Helper functions to generate DDS/DAS/DODS for the default option.
Definition in file h5get.h.
bool check_h5str | ( | hid_t | h5type | ) |
void close_fileid | ( | hid_t | fid | ) |
hid_t get_attr_info | ( | hid_t | dset, |
int | index, | ||
bool | is_dap4, | ||
DSattr_t * | attr_inst_ptr, | ||
bool * | ignore_attr_ptr | ||
) |
will get attribute information.
This function will get attribute information: datatype, dataspace(dimension sizes) and number of dimensions and put it into a data struct.
[in] | dset | dataset id |
[in] | index | index of attribute |
[in] | is_dap4 | is this for DAP4 |
[out] | attr_inst_ptr | an attribute instance pointer |
[out] | ignoreptr | a flag to record whether it can be ignored. |
InternalError |
string get_dap_type | ( | hid_t | type, |
bool | is_dap4 | ||
) |
returns the string representation of HDF5 type.
This function will get the text representation(string) of the corresponding DODS datatype. DODS-HDF5 subclass method will use this function. Return type is different for DAP2 and DAP4.
type | datatype id |
is_dap4 | is this for DAP4(for the calls from DMR-related routines) |
hid_t get_fileid | ( | const char * | filename | ) |
void obtain_dimnames | ( | hid_t | dset, |
int | ndims, | ||
DS_t * | dt_inst_ptr | ||
) |
std::string print_attr | ( | hid_t | type, |
int | loc, | ||
void * | sm_buf | ||
) |
will get the printed representation of an attribute.
type | HDF5 data type id |
loc | the number of array number |
sm_buf | pointer to an attribute |
Due to the priority of the handler work, this function will not be
re-written in this re-engineering process. KY 2011-Nov. 14th