ddn.lib.hdf5.h5i
HDF5 Identifier Binding
This module provides D bindings for HDF5 identifier operations (H5I API).
License
Types 6
Identifier type
Callback function type for freeing objects when an ID type is cleared.
This function is called when clearing an ID type (via H5Iclear_type or H5Idestroy_type) to free the associated objects.
Parameters
obj | Pointer to the object to be freed |
request | Pointer to a request pointer (for async operations, can be null) |
Returns
Callback function type for searching through IDs.
This function is called for each ID when searching through an ID type.
Parameters
obj | Pointer to the object associated with the ID |
id | The identifier being examined |
key | User-supplied key for comparison |
Returns
zero to continue searching, negative on error.
Callback function type for iterating over IDs.
This function is called for each ID when iterating through an ID type using H5Iiterate().
Parameters
id | The identifier being visited |
udata | User-supplied data pointer |
Returns
or negative value on error.
Callback function type for realizing a future object.
This callback is invoked when a "future" object needs to be converted to an actual object. Used with H5Iregister_future().
Parameters
future_object | Pointer to the future object to realize |
actual_object_id | Pointer to receive the actual object's identifier |
Returns
Callback function type for discarding a future object.
This callback is invoked when a "future" object is being discarded without being realized. Used with H5Iregister_future().
Parameters
future_object | Pointer to the future object to discard |
Returns
Functions 21
hid_t H5Iregister(H5I_type_t type, const void * object)Registers an object and returns a new identifier for it.void * H5Iobject_verify(hid_t id, H5I_type_t type)Returns the object referenced by an identifier, verifying its type.void * H5Iremove_verify(hid_t id, H5I_type_t type)Removes an identifier from its type and returns the associated object.H5I_type_t H5Iregister_type(size_t hash_size, uint reserved, H5I_free_t free_func)Allocates a new identifier type.void * H5Isearch(H5I_type_t type, H5I_search_func_t func, void * key)Searches through identifiers of a given type.herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void * op_data)Iterates over all identifiers of a given type.hid_t H5Iregister_future(H5I_type_t type, const void * object,
H5I_future_realize_func_t realize_cb, H5I_future_discard_func_t discard_cb)Registers a "future" object and returns a new identifier for it.