The H5A_OPEN_IDX function opens an existing attribute by the index of that attribute within an HDF5 file.

Syntax


Result = H5A_OPEN_IDX(Loc_id, Index)

Return Value


Returns the attribute’s identifier number.

Arguments


Loc_id

An integer representing the identifier of the group, dataset, or named datatype containing the attribute within.

Index

An integer representing the zero-based index of the attribute to be accessed.

Keywords


None

Version History


5.6

Introduced

See Also


H5A_OPEN_NAME, H5A_GET_NUM_ATTRS, H5A_GET_NAME, H5A_CLOSE