Creates and returns a new ID
Procedure:
H5I_REGISTER(type, object)
Signature:
hid_t H5Iregister( H5I_type_t type, void *object )
Parameters:
H5I_type_t type | IN: The identifier of the type to which the new ID will belong |
void *object | IN: Pointer to memory for the library to store |
Description:
H5I_REGISTER allocates space for a new ID and returns an identifier for it.
The type
parameter is the identifier for the ID type to which this new ID will belong. This identifier must have been created by a call to H5I_REGISTER_TYPE.
The object
parameter is a pointer to the memory which the new ID will be a reference to. This pointer will be stored by the library and returned to you via a call to H5I_OBJECT_VERIFY.
Returns:
Returns the new ID on success, negative on failure.
Example:
--- Last Modified: April 25, 2019 | 12:26 PM