Put an attribute with a cat¶
saf_put_cat_att
is a function defined in cat.c.
Synopsis:
-
int
saf_put_cat_att
(SAF_ParMode pmode, SAF_Cat *cat, const char *name, hid_t datatype, int count, const void *value)¶
Formal Arguments:
pmode
: Parallel mode for adding the new attribute.cat
: Collection category for which the new attribute is added.name
: The name of the attribute.datatype
: The datatype of each element of thevalue
for the attribute.count
: The number of elements pointed to byvalue
, each of typedatatype
.value
: The array ofcount
elements each of typedatatype
to use for the attribute’s value.
Description: This function is identical to the generic saf_put_attribute function except that it is specific to
SAF__Cat
objects to provide the client with compile time type checking. For a description,
see saf_put_attribute.
See Also:
- saf_put_attribute: 23.2: Create or update a non-sharable attribute
- Collection Categories: Introduction for current chapter