iterateLinks
fn
hsize_t iterateLinks(hid_t groupId, bool delegate(LinkInfo) dg,
IndexType indexType = IndexType.NAME, IterOrder order = IterOrder.NATIVE)Iterates over links in a group.
The delegate is called for each link, receiving a LinkInfo struct. Return true from the delegate to continue iteration, false to stop early.
Parameters
groupId | Group identifier |
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 iterated over
Throws
HDF5Exception if iteration fails
Any exception thrown by the delegate