H5Iiterate

fnherr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void * op_data)

Iterates over all identifiers of a given type.

Calls the specified callback function for each identifier of the given type. Iteration continues until the callback returns a non-zero value or all identifiers have been visited.

Parameters

typeThe identifier type to iterate over
opCallback function to invoke for each identifier
op_dataUser data to pass to the callback function

Returns

The last value returned by the callback on success (which may be

H5_ITER_STOP), or negative on failure.