H5Iclear_type
(
H5I_type_t type
,
hbool_t force
)
H5Iclear_type
deletes all IDs of the type identified by the argument type.
The type’s free function is first called on all of these IDs to free their memory, then they are removed from the type.
If the force
flag is set to false, only those
IDs whose reference counts are equal to 1 will be deleted,
and all other IDs will be entirely unchanged.
If the force
flag is true,
all IDs of this type will be deleted.
H5I_type_t type |
IN: Identifier of ID type which is to be cleared of IDs |
hbool_t force |
IN: Whether or not to force deletion of all IDs |