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
ssize_t H5Iget_name(hid_t id, char * name, size_t size) extern(C) @nogc nothrowGets the name of an objectherr_t H5Inmembers(H5I_type_t type, hsize_t * num_members) extern(C) @nogc nothrowGets number of identifiers of a typeherr_t H5Iclear_type(H5I_type_t type, hbool_t force) extern(C) @nogc nothrowClears identifiers of a typehid_t H5Iregister(H5I_type_t type, const void * object) extern(C) @nogc nothrowRegisters an object and returns a new identifier for it.void * H5Iobject_verify(hid_t id, H5I_type_t type) extern(C) @nogc nothrowReturns the object referenced by an identifier, verifying its type.void * H5Iremove_verify(hid_t id, H5I_type_t type) extern(C) @nogc nothrowRemoves 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) extern(C) @nogc nothrowAllocates a new identifier type.void * H5Isearch(H5I_type_t type, H5I_search_func_t func, void * key) extern(C) @nogc nothrowSearches through identifiers of a given type.int H5Iget_type_ref(H5I_type_t type) extern(C) @nogc nothrowGets the reference count for an identifier type.int H5Iinc_type_ref(H5I_type_t type) extern(C) @nogc nothrowIncrements the reference count for an identifier type.int H5Idec_type_ref(H5I_type_t type) extern(C) @nogc nothrowDecrements the reference count for an identifier type.herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void * op_data) extern(C) @nogc nothrowIterates 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) extern(C) @nogc nothrowRegisters a "future" object and returns a new identifier for it.