Please, help us to better serve our user community by answering the following short survey: https://www.hdfgroup.org/website-survey/
HDF5 2.0.0.2ad0391
API Reference
Loading...
Searching...
No Matches
HDF5 Library Java H5Callbacks

Detailed Description

Functions

int callback (long loc_id, String name, H5A_info_t info, H5A_iterate_t op_data)
 
int callback (long dataset_id, long[] cur_dims, H5D_append_t op_data)
 
int callback (byte[] elem, long elem_type, int ndim, long[] point, H5D_iterate_t op_data)
 
int callback (int nidx, H5E_error2_t info, H5E_walk_t op_data)
 
int callback (long loc_id, String name, H5L_info_t info, H5L_iterate_opdata_t op_data)
 
int callback (long loc_id, String name, H5O_info_t info, H5O_iterate_opdata_t op_data)
 
int callback (long prop_id, H5P_cls_close_func_t close_data)
 
int callback (long new_prop_id, long old_prop_id, H5P_cls_copy_func_t copy_data)
 
int callback (long prop_id, H5P_cls_create_func_t create_data)
 
int callback (long plist, String name, H5P_iterate_t op_data)
 
int callback (String name, long size, byte[] value)
 
int callback (byte[] value1, byte[] value2, long size)
 
int callback (String name, long size, byte[] value)
 
int callback (String name, long size, byte[] value)
 
int callback (long prop_id, String name, long size, byte[] value)
 
int callback (long prop_id, String name, long size, byte[] value)
 
int callback (long prop_id, String name, long size, byte[] value)
 

Function Documentation

◆ callback() [1/17]

int callback ( byte[]  elem,
long  elem_type,
int  ndim,
long[]  point,
H5D_iterate_t  op_data 
)

application callback for each dataset element

Parameters
elemthe pointer to the element in memory containing the current point
elem_typethe datatype ID for the elements stored in elem
ndimthe number of dimensions for POINT array
pointthe array containing the location of the element within the original dataspace
op_datathe 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.

◆ callback() [2/17]

int callback ( byte[]  value1,
byte[]  value2,
long  size 
)

application callback for each property list

Parameters
value1the value of the first property being compared
value2the value of the second property being compared
sizethe size of the property value
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.

◆ callback() [3/17]

int callback ( int  nidx,
H5E_error2_t  info,
H5E_walk_t  op_data 
)

application callback for each error stack element

Parameters
nidxthe index of the current error stack element
infothe error stack "info" struct
op_datathe operator data passed in to H5Ewalk
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.

◆ callback() [4/17]

int callback ( long  dataset_id,
long[]  cur_dims,
H5D_append_t  op_data 
)

application callback for each dataset access property list

Parameters
dataset_idthe ID for the dataset being iterated over
cur_dimsthe dimension sizes for determining boundary
op_datathe operator data passed in to H5Pset/get_append_flush
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.

◆ callback() [5/17]

int callback ( long  loc_id,
String  name,
H5A_info_t  info,
H5A_iterate_t  op_data 
)

application callback for each attribute

Parameters
loc_idthe ID for the group or dataset being iterated over
namethe name of the current attribute about the object
infothe attribute's "info" struct
op_datathe operator data passed in to H5Aiterate
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.

◆ callback() [6/17]

int callback ( long  loc_id,
String  name,
H5L_info_t  info,
H5L_iterate_opdata_t  op_data 
)

application callback for each group

Parameters
loc_idthe ID for the group being iterated over
namethe name of the current link
infothe link's "info" struct
op_datathe operator data passed in to H5Literate
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.

◆ callback() [7/17]

int callback ( long  loc_id,
String  name,
H5O_info_t  info,
H5O_iterate_opdata_t  op_data 
)

application callback for each group

Parameters
loc_idthe ID for the group or dataset being iterated over
namethe name of the current object
infothe object's "info" struct
op_datathe operator data passed in to H5Oiterate
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.

◆ callback() [8/17]

int callback ( long  new_prop_id,
long  old_prop_id,
H5P_cls_copy_func_t  copy_data 
)

application callback for each property list

Parameters
new_prop_idthe ID for the property list copy
old_prop_idthe ID for the property list class being copied
copy_datathe function to call when each property list in this class is copied
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.

◆ callback() [9/17]

int callback ( long  plist,
String  name,
H5P_iterate_t  op_data 
)

application callback for each property list

Parameters
plistthe ID for the property list being iterated over
namethe name of the current property list
op_datathe operator data passed in to H5Piterate
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.

◆ callback() [10/17]

int callback ( long  prop_id,
H5P_cls_close_func_t  close_data 
)

application callback for each property list

Parameters
prop_idthe ID for the property list class being iterated over
close_datathe function to call when a property list is closed
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.

◆ callback() [11/17]

int callback ( long  prop_id,
H5P_cls_create_func_t  create_data 
)

application callback for each property list

Parameters
prop_idthe ID for the property list class being iterated over
create_datathe function to call when each property list in this class is created
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.

◆ callback() [12/17]

int callback ( long  prop_id,
String  name,
long  size,
byte[]  value 
)

application callback for each property list

Parameters
prop_idthe ID of the property list the property is deleted from
namethe name of the property being deleted
sizethe size of the property value
valuethe value of the property being deleted
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.

◆ callback() [13/17]

int callback ( long  prop_id,
String  name,
long  size,
byte[]  value 
)

application callback for each property list

Parameters
prop_idthe ID for the property list being queried
namethe name of the property being queried
sizethe size of the property value
valuethe value being retrieved for the property
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.

◆ callback() [14/17]

int callback ( long  prop_id,
String  name,
long  size,
byte[]  value 
)

application callback for each property list

Parameters
prop_idthe ID for the property list being modified
namethe name of the property being modified
sizethe size of the property value
valuethe value being set for the property
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.

◆ callback() [15/17]

int callback ( String  name,
long  size,
byte[]  value 
)

application callback for each property list

Parameters
namethe name of the property being closed
sizethe size of the property value
valuethe value of the property being closed
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.

◆ callback() [16/17]

int callback ( String  name,
long  size,
byte[]  value 
)

application callback for each property list

Parameters
namethe name of the property being copied
sizethe size of the property value
valuethe value of the property being copied
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.

◆ callback() [17/17]

int callback ( String  name,
long  size,
byte[]  value 
)

application callback for each property list

Parameters
namethe name of the property list being created
sizethe size of the property value
valuethe initial value for the property being created
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.