Determines whether an attribute exists
Procedure:
H5LT_FIND_ATTRIBUTE (loc_id, attr_name)
Signature:
herr_t H5LTfind_attribute ( hid_t loc_id, const char *attr_name )
Parameters:
hid_t loc_id | IN: Identifier of the object to which the attribute is expected to be attached |
const char *attr_name | IN: Attribute name |
Description:
H5LT_FIND_ATTRIBUTE determines whether an attribute named attr_name
exists attached to the object specified by loc_id
.
loc_id
must be an object identifier and attr_name
must specify an attribute that is expected to be attached to that object.
Returns:
Returns 1 if the attribute exists; returns 0 otherwise.
Example:
--- Last Modified: August 13, 2019 | 01:32 PM