visitObjects
fn
hsize_t visitObjects(hid_t locId, bool delegate(ObjectInfo) dg,
IndexType indexType = IndexType.NAME, IterOrder order = IterOrder.NATIVE)Recursively visits all objects in a file or group.
The delegate is called for each object encountered during the recursive walk. Return true from the delegate to continue visitation, false to stop early.
Parameters
locId | Location identifier (file or group) to start visitation from |
dg | Delegate to call for each object |
indexType | Type of index to use (default: NAME) |
order | Iteration order (default: NATIVE) |
Returns
The number of objects visited
Throws
HDF5Exception if visitation fails
Any exception thrown by the delegate