bes
Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
h5apicompatible.h
1
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2
* Copyright by The HDF Group *
3
* All rights reserved. *
4
* *
5
* This file is part of hdf5_handler, an HDF5 file handler for the OPeNDAP *
6
* data server. *
7
* including terms governing use, modification, and redistribution, is *
8
* contained in the COPYING file, which can be found at the root of the *
9
* source code distribution tree. *
10
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
11
12
#ifndef H5APICOMPITABLE_H
13
#define H5APICOMPITABLE_H
14
15
16
#if ((H5_VERS_MAJOR == 1) && (H5_VERS_MINOR == 8))
17
18
#define H5RDEREFERENCE(obj_id,ref_type,ref) H5Rdereference(obj_id,ref_type,ref)
19
#define H5OGET_INFO_BY_IDX(loc_id, group_name, idx_type, order, n, oinfo, lapl_id) H5Oget_info_by_idx(loc_id, group_name, idx_type, order, n, oinfo, lapl_id)
20
#define H5OGET_INFO(loc_id, oinfo) H5Oget_info(loc_id,oinfo)
21
#define H5OVISIT(obj_id,idx_type,order,op,op_data) H5Ovisit(obj_id,idx_type,order,op,op_data)
22
23
#elif ((H5_VERS_MAJOR == 1) && (H5_VERS_MINOR == 10))
24
25
#if (defined H5_USE_18_API)
26
#define H5RDEREFERENCE(obj_id,ref_type,ref) H5Rdereference1(obj_id,ref_type,ref)
27
#define H5OGET_INFO(loc_id, oinfo) H5Oget_info1(loc_id,oinfo)
28
#define H5OGET_INFO_BY_IDX(loc_id, group_name, idx_type, order, n, oinfo, lapl_id) H5Oget_info_by_idx(loc_id, group_name, idx_type, order, n, oinfo, lapl_id)
29
#define H5OVISIT(obj_id,idx_type,order,op,op_data) H5Ovisit(obj_id,idx_type,order,op,op_data)
30
#else
31
#define H5RDEREFERENCE(obj_id,ref_type,ref) H5Rdereference2(obj_id,H5P_DEFAULT,ref_type,ref)
32
#define H5OGET_INFO(loc_id, oinfo) H5Oget_info2(loc_id,oinfo,H5O_INFO_BASIC|H5O_INFO_NUM_ATTRS)
33
#define H5OGET_INFO_BY_IDX(loc_id, group_name, idx_type, order, n, oinfo, lapl_id) H5Oget_info_by_idx2(loc_id, group_name, idx_type, order, n, oinfo, H5O_INFO_BASIC| H5O_INFO_NUM_ATTRS, lapl_id)
34
#define H5OVISIT(obj_id,idx_type,order,op,op_data) H5Ovisit2(obj_id,idx_type,order,op,op_data,H5O_INFO_BASIC)
35
#endif
36
37
#else
38
#define H5RDEREFERENCE(obj_id,ref_type,ref) H5Rdereference2(obj_id,H5P_DEFAULT,ref_type,ref)
39
#define H5OGET_INFO_BY_IDX(loc_id, group_name, idx_type, order, n, oinfo, lapl_id) H5Oget_info_by_idx3(loc_id, group_name, idx_type, order, n, oinfo, H5O_INFO_BASIC | H5O_INFO_NUM_ATTRS, lapl_id)
40
#define H5OGET_INFO(loc_id, oinfo) H5Oget_info3(loc_id,oinfo,H5O_INFO_BASIC|H5O_INFO_NUM_ATTRS)
41
#define H5OVISIT(obj_id,idx_type,order,op,op_data) H5Ovisit3(obj_id,idx_type,order,op,op_data,H5O_INFO_BASIC)
42
43
#endif
44
#endif
45
modules
hdf5_handler
h5apicompatible.h
Generated by
1.13.2