visitLinks

fnhsize_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

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

Returns

The number of links visited

Throws

HDF5Exception if visitation fails

Any exception thrown by the delegate