16 __label__ fail_attr, fail_aspace, fail_fapl, fail_file;
17 hid_t fapl, file, aspace, attr;
20 ret_val = EXIT_FAILURE;
23#if H5_VERSION_GE(1, 10, 0)
25#elif H5_VERSION_GE(1, 8, 0)
28#error Only HDF5 1.8.x and later supported.
30 ret_val = EXIT_FAILURE;
34 ret_val = EXIT_FAILURE;
39 ret_val = EXIT_FAILURE;
43 ret_val = EXIT_FAILURE;
@ H5F_LIBVER_V18
Definition H5Fpublic.h:187
#define H5F_LIBVER_LATEST
Definition H5Fpublic.h:194
#define H5F_ACC_TRUNC
Definition H5Fpublic.h:50
int64_t hid_t
Definition H5Ipublic.h:60
#define H5P_FILE_ACCESS
Definition H5Ppublic.h:64
#define H5P_DEFAULT
Definition H5Ppublic.h:228
uint64_t hsize_t
Definition H5public.h:297
herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
Controls the range of library release versions used when creating objects in a file.
#define H5Acreate
Definition H5version.h:692
herr_t H5Aclose(hid_t attr_id)
Closes the specified attribute.
herr_t H5Fclose(hid_t file_id)
Terminates access to an HDF5 file.
hid_t H5Fcreate(const char *filename, unsigned flags, hid_t fcpl_id, hid_t fapl_id)
Creates an HDF5 file.
herr_t H5Sclose(hid_t space_id)
Releases and terminates access to a dataspace.
hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
Creates a new simple dataspace and opens it for access.
#define H5T_IEEE_F32LE
Definition H5Tpublic.h:271
herr_t H5Pclose(hid_t plist_id)
Terminates access to a property list.
hid_t H5Pcreate(hid_t cls_id)
Creates a new property list as an instance of a property list class.