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 |
---|---|---|
Int |
elem | Pointer to the memory buffer containing the current data element |
System. |
type_id | Datatype identifier for the elements stored
in |
System. |
ndim | Number of dimensions for the
|
System. |
point | Array containing the location of the element within the original dataspace |
Int |
op_data | Pointer to any user-defined data associated with the operation |
Returns
Type | Description |
---|---|
System. |
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. |