|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
Data structure and retrieval processing header for the default option. More...
#include <H5Gpublic.h>#include <H5Fpublic.h>#include <H5Ipublic.h>#include <H5Tpublic.h>#include <H5Spublic.h>#include <H5Apublic.h>#include <H5public.h>#include <DDS.h>

Go to the source code of this file.
Macros | |
| #define | MAX_ERROR_MESSAGE 512 |
| Maximum size of error message buffer. More... | |
Functions | |
| bool | depth_first (hid_t, char *, DDS &, const char *) |
| will fill DDS table. More... | |
| void | read_objects (DDS &dds, const string &varname, const string &filename) |
| fills in information of a dataset (name, data type, data space) into one DDS table. More... | |
Data structure and retrieval processing header for the default option.
This file is part of h5_dap_handler, A C++ implementation of the DAP handler for HDF5 data.
It defines functions that describe and retrieve group/dataset from HDF5 files.
Definition in file h5dds.h.
| #define MAX_ERROR_MESSAGE 512 |
| bool depth_first | ( | hid_t | pid, |
| char * | gname, | ||
| DDS & | dds, | ||
| const char * | fname | ||
| ) |
will fill DDS table.
This function will walk through hdf5 gname group using the depth-first approach to obtain data information (data type and data pattern) of all hdf5 datasets and then put them into ithe dds table.
| pid | group id |
| gname | group name (the absolute path from the root group) |
| dds | reference of DDS object |
| fname | the HDF5 file name |
Definition at line 84 of file h5dds.cc.
References depth_first(), DODS_NAMELEN, get_dataset(), get_hardlink(), NULL, and read_objects().
Referenced by depth_first().

| void read_objects | ( | DDS & | dds_table, |
| const string & | varname, | ||
| const string & | filename | ||
| ) |
fills in information of a dataset (name, data type, data space) into one DDS table.
| dds_table | Destination for the HDF5 objects. |
| varname | Absolute name of an HDF5 dataset. |
| filename | The HDF5 file name that maps to the DDS dataset name. |
| error | a string of error message to the dods interface. |
Definition at line 746 of file h5dds.cc.
References read_objects_base_type(), read_objects_structure(), and DS::type.
Referenced by depth_first().
