diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1999-06-24 02:16:13 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1999-06-24 02:16:13 (GMT) |
commit | c4c6318e6ab92d8204226923e8e9302e2779aaf4 (patch) | |
tree | eb925287f4f0ac500619d9259ffbbe8fb9342acc /src/H5Dpublic.h | |
parent | ace37763c377153217564e4dd08c2fcc385e83c4 (diff) | |
download | hdf5-c4c6318e6ab92d8204226923e8e9302e2779aaf4.zip hdf5-c4c6318e6ab92d8204226923e8e9302e2779aaf4.tar.gz hdf5-c4c6318e6ab92d8204226923e8e9302e2779aaf4.tar.bz2 |
[svn-r1374] Added in code to support the H5Diterate function, which I've got to add tests
for now. Also, I revised some of the code for hyperslab I/O, which should
provide a modest speedup in situations with lots of hyperslabs.
Diffstat (limited to 'src/H5Dpublic.h')
-rw-r--r-- | src/H5Dpublic.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5Dpublic.h b/src/H5Dpublic.h index 74c6549..ba0205c 100644 --- a/src/H5Dpublic.h +++ b/src/H5Dpublic.h @@ -39,6 +39,10 @@ typedef enum H5D_transfer_t { } H5D_transfer_t; +/* Define the operator function pointer for H5Diterate() */ +typedef herr_t (*H5D_operator_t)(void *elem, hid_t type_id, hsize_t ndim, + hssize_t *point, void *operator_data); + #ifdef __cplusplus extern "C" { #endif @@ -56,6 +60,8 @@ __DLL__ herr_t H5Dread (hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, __DLL__ herr_t H5Dwrite (hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t plist_id, const void *buf); __DLL__ herr_t H5Dextend (hid_t dset_id, const hsize_t *size); +__DLL__ herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, + H5D_operator_t operator, void *operator_data); __DLL__ herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf); __DLL__ herr_t H5Ddebug(hid_t dset_id, unsigned int flags); |