Page tree

The license could not be verified: License Certificate has expired!

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Content Layer
id1195548671
Content Column
width50.00001%
id1195578110
classrm_pagetree_col mobile-hide
Content Block
id1195578111
 
Content Column
width50.00001%
id1195548673
classhdf-rm-main-column
Content Block
id1195548672
Hdf rm purpose

Excerpt

Opens an attribute for an object specified by object identifier and attribute name

HTML Wrap
classhdf-rm-content-block
Hdf rm procedure
H5A_OPEN (obj_id, attr_name, aapl_id)

Hdf rm anchor
AnchorNamesignature

Signature:
HTML Wrap
classhdf-rm-section
Comment (Hide)

Edit each block below with the corresponding language signature for this function.

If there is no implementation for a given language, simply remove the entire block (left click --> Remove) for that language signature.

Hdf rm c signature
hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
Hdf rm fortran signature
Fortran90 Interface: h5aopen_f 

SUBROUTINE h5aopen_f(obj_id, attr_name, attr_id, hdferr, aapl_id) IMPLICIT NONE 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
Hdf rm parameters
hid_t obj_idIN: Identifer for object to which attribute is attached
const char * attr_name    IN: Name of attribute to open
hid_t aapl_idIN: Attribute access property list
Hdf rm description

H5A_OPEN opens an existing attribute, attr_name, that is attached to an object specified an object identifier, object_id.

The attribute access property list, aapl_id, is currently unused and should currently 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.

Hdf rm returnvals
Returns an attribute identifier if successful; otherwise returns a negative value.

Hdf rm anchor
AnchorNameexample

Example:
HTML Wrap
classhdf-rm-section
HTML Wrap
classhdf-togglebox hdf-c

Bitbucket Server file
repoSlughdf5-examples
branchIdrefs/heads/master
projectKeyHDFFV
filepath1_10/C/H5T/h5ex_t_intatt.c
showLineNumberstrue
lineStart89
progLangplain
lineEnd91
applicationLink5ac7b370-7412-3c8c-ad20-807a68261336

HTML Wrap
classhdf-togglebox hdf-fortran hdf-togglebox-hidden

Bitbucket Server file
repoSlughdf5-examples
branchIdrefs/heads/master
projectKeyHDFFV
filepath1_10/FORTRAN/H5T/h5ex_t_intatt_F03.f90
showLineNumberstrue
lineStart25
progLangplain
lineEnd35
applicationLink5ac7b370-7412-3c8c-ad20-807a68261336

Hdf rm history
Release    C
1.8.0Function introduced in this release.