visitLinks
fn
hsize_t visitLinks(hid_t groupId, bool delegate(LinkInfo) dg,
IndexType indexType = IndexType.NAME, IterOrder order = IterOrder.NATIVE)Recursively visits all links in a group and its subgroups.
The delegate is called for each link encountered during the recursive walk. Return true from the delegate to continue visitation, false to stop early.
Parameters
groupId | Group identifier to start visitation from |
dg | Delegate to call for each link |
indexType | Type of index to use (default: NAME) |
order | Iteration order (default: NATIVE) |
Returns
The number of links visited
Throws
HDF5Exception if visitation fails
Any exception thrown by the delegate