or does not belong to the specified type.
H5Iobject_verify
fn
void * H5Iobject_verify(hid_t id, H5I_type_t type)Returns the object referenced by an identifier, verifying its type.
Retrieves and returns a pointer to the object associated with the identifier, after verifying that the identifier belongs to the specified type.
Parameters
id | The identifier to look up |
type | The expected type of the identifier |
Returns
A pointer to the object on success, or null if the ID is invalid