Opening a Specified Attribute
Function Syntax
Open an attribute of an object specified by the object identifier and attribute name.
hid_t H5Aopen(hid_t loc, const char * name, hid_t accessPlistId)
Parameters
Parameter |
Description |
Value Range |
Input/Output |
|---|---|---|---|
loc |
Location identifier, which may be that of a file, group, dataset, or named data type |
Integer |
Input |
*name |
Name of attribute to open |
Non-empty |
Input |
accessPlistId |
Attribute access property list identifier |
Integer |
Input |
Return Value
- Success: attribute identifier
- Failure: negative value
Parent topic: Attribute APIs