|
bool | breadth_first (const hid_t file_id, hid_t pid, const char *gname, D4Group *par_grp, const char *fname, bool use_dimscale, vector< link_info_t > &hdf5_hls) |
|
string | get_hardlink_dmr (hid_t h5obj_id, const string &oname) |
|
void | get_softlink (D4Group *par_grp, hid_t h5obj_id, const string &oname, int index, size_t val_size) |
|
void | map_h5_attrs_to_dap4 (hid_t oid, D4Group *d4g, BaseType *d4b, Structure *d4s, int flag) |
| A function that map HDF5 attributes to DAP4.
|
|
void | map_h5_dset_hardlink_to_d4 (hid_t h5_dsetid, const string &full_path, BaseType *d4b, Structure *d4s, int flag) |
|
void | read_objects (D4Group *d4_grp, const string &varname, const string &filename, const hid_t dset_id) |
|
void | read_objects_base_type (D4Group *d4_grp, const string &varname, const string &filename, hid_t dset_id) |
|
void | read_objects_structure (D4Group *d4_grp, const string &varname, const string &filename, hid_t dset_id) |
|
DMR(Data Metadata Response) request processing source.
This file is part of h5_dap_handler, a C++ implementation of the DAP handler for HDF5 data.
This file contains functions which use depth-first and breadth-first search to walk through an HDF5 file and build the in-memory DMR. The depth-first is for the case when HDF5 dimension scales are not used. The breadth-first is for the case when HDF5 dimension scales are used to generate an HDF5 file that follows the netCDF-4 data model. Using breadth-first ensures the
Definition in file h5dmr.cc.
bool breadth_first |
( |
const hid_t |
file_id, |
|
|
hid_t |
pid, |
|
|
const char * |
gname, |
|
|
D4Group * |
par_grp, |
|
|
const char * |
fname, |
|
|
bool |
use_dimscale, |
|
|
vector< link_info_t > & |
hdf5_hls |
|
) |
| |
bool breadth_first(const hid_t file_id,hid_t pid, const char gname, DMR & dmr, D4Group par_grp, const char *fname,bool use_dimscale, vector <link_info_t> & hdf5_hls)
- Parameters
-
file_id | file_id(this is necessary for searching the hardlinks of a dataset) |
pid | group id |
gname | group name (the absolute path from the root group) |
dmr | reference of DMR object |
fname | the HDF5 file name |
use_dimscale | whether dimension scales are used. |
hdf5_hls | the vector to save all the hardlink info. |
- Returns
- 0, if failed.
-
1, if succeeded.
- See also
- depth_first(hid_t pid, char *gname, DMR & dmr, const char *fname) in h5dds.cc
To keep track of soft links.
Definition at line 321 of file h5dmr.cc.