Show / Hide Table of Contents

    Delegate H5D.operator_t

    Delegate for H5Diterate() callback See https://www.hdfgroup.org/HDF5/doc/RM/RM_H5D.html#Dataset-Iterate

    Namespace: HDF.PInvoke
    Assembly: HDF.PInvoke.dll
    Syntax
    public delegate System.Int32 operator_t(IntPtr elem, System.Int64 type_id, uint ndim, System.UInt64[] point, IntPtr op_data);
    Parameters
    Type Name Description
    IntPtr elem

    Pointer to the memory buffer containing the current data element

    System.Int64 type_id

    Datatype identifier for the elements stored in elem

    System.UInt32 ndim

    Number of dimensions for the point array

    System.UInt64[] point

    Array containing the location of the element within the original dataspace

    IntPtr op_data

    Pointer to any user-defined data associated with the operation

    Returns
    Type Description
    System.Int32

    Zero causes the iterator to continue, returning zero when all data elements have been processed. A positive value causes the iterator to immediately return that positive value, indicating short-circuit success. A negative value causes the iterator to immediately return that value, indicating failure.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX