Jump to ...
Switch language ...
Opens an attribute for an object specified by object identifier and attribute name
H5A_OPEN (obj_id, attr_name, aapl_id)
hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
Fortran90 Interface: h5aopen_f SUBROUTINE h5aopen_f(obj_id, attr_name, attr_id, hdferr, aapl_id)
INTEGER(HID_T), INTENT(IN) :: obj_id ! Object identifier
CHARACTER(LEN=*), INTENT(IN) :: attr_name ! Attribute name
INTEGER(HID_T), INTENT(OUT) :: attr_id ! Attribute identifier
INTEGER, INTENT(OUT) :: hdferr ! Error code:
! 0 on success and -1 on failure
INTEGER(HID_T), OPTIONAL, INTENT(IN) :: aapl_id
! Attribute access property list
END SUBROUTINE h5aopen_f
H5A_OPEN opens an existing attribute, attr_name, that is attached to an object specified by an object identifier, obj_id.
The attribute access property list, aapl_id, is currently unused and should be H5P_DEFAULT.
This function, H5A_OPEN_BY_IDX , or H5A_OPEN_BY_NAME must be called before an attribute can be accessed for any further purpose, including reading, writing, or any modification.
The attribute identifier returned by this function must be released with H5A_CLOSE or resource leaks will develop.
Returns an attribute identifier if successful; otherwise returns a negative value.
Include Bitbucket Server for Confluence: Application link to Bitbucket Server is missing
--- Last Modified: December 20, 2018 | 02:03 PM
Copyright © 2006All rights reserved
HDF is a registered trademark of The HDF Group.
Powered by a free Atlassian Confluence Open Source Project License granted to HDF. Evaluate Confluence today.