H5L.iterate_by_name
: [status, idx_out, opdata_out] = H5L.iterateiterate_by_name (group_id, name, idx_type, order, idx_in, fcn, opdata_in, lapl_id)
Iterates over links in a named group, with user callback routine, according to the order within an index.
Parameters:
| group_id | Group identifier | |
| name | Group name | |
| idx_type | Index type. One of {"H5_INDEX_NAME" | "H5_INDEX_CRT_ORDER"} | |
| order | Iteration order. One of {"H5_ITER_INC" | "H5_ITER_DEC" | "H5_ITER_NATIVE"} | |
| idx_in | Iteration index to allow continuing a previous iteration | |
| fcn | Callback function | |
| opdata_in | Callback data | |
| lapl_id | Link access property list identifier. |
Return values:
| status | Negative value if the iteration were interrupted | |
| idx_out | Final iteration index | |
| opdata_out | Returned callback data |
Description:
The user callback function signature must be:
|
It receives and identifier for the currently visited object loc_id,
its name name and the data opdata_in as returned by the
previous iteration.
The function can return a negative status to instruct
H5L.iterate to stop iterations. Gathered data are returned in
opdata_out.
See original function at https://support.hdfgroup.org/documentation/hdf5/latest/group___t_r_a_v.html.
See also: H5L.iterate_by_name