iterateLinks

fnhsize_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

groupIdGroup identifier
dgDelegate to call for each link
indexTypeType of index to use (default: NAME)
orderIteration order (default: NATIVE)

Returns

The number of links iterated over

Throws

HDF5Exception if iteration fails

Any exception thrown by the delegate