Interface H5D_iterate_cb

  • All Superinterfaces:
    Callbacks

    public interface H5D_iterate_cb
    extends Callbacks
    Information class for link callback for H5Diterate.
    • Method Detail

      • callback

        int callback​(byte[] elem,
                     long elem_type,
                     int ndim,
                     long[] point,
                     H5D_iterate_t op_data)
        Parameters:
        elem - the pointer to the element in memory containing the current point
        elem_type - the datatype ID for the elements stored in elem
        ndim - the number of dimensions for POINT array
        point - the array containing the location of the element within the original dataspace
        op_data - the operator data passed in to H5Diterate
        Returns:
        operation status A. Zero causes the iterator to continue, returning zero when all attributes have been processed. B. Positive causes the iterator to immediately return that positive value, indicating short-circuit success. The iterator can be restarted at the next attribute. C. Negative causes the iterator to immediately return that value, indicating failure. The iterator can be restarted at the next attribute.