H5Aiterate_by_name

fnherr_t H5Aiterate_by_name(hid_t loc_id, const char * obj_name, int idx_type, int order, hsize_t * idx, H5A_operator2_t op, void * op_data, hid_t lapl_id)

Iterates over attributes attached to an object specified by name.

Parameters

loc_idLocation identifier
obj_nameName of the object
idx_typeIndex type (H5_INDEX)
orderIteration order (H5_ITER_ORDER)
idxStarting position; updated to position where iteration stopped
opCallback function to invoke for each attribute
op_dataUser data to pass to the callback
lapl_idLink access property list identifier

Returns

The return value of the last callback on success, or negative on failure.