Query the datatype of a property or property list¶
ss_prop_type
is a function defined in ssprop.c.
Synopsis:
-
hid_t
ss_prop_type
(ss_prop_t *prop, const char *name)¶
Formal Arguments:
prop
: property list to be queriedname
: optional property name
Description: When given a property list and a property name, return the HDF5 datatype that was originally used to declare the property. If no property name is specified then return the HDF5 datatype of the whole property list (which is guaranteed to be a compound datatype).
Return Value: Returns an HDF5 datatype on success; negative on failure. The client should eventually call H5Tclose
on the
returned datatype. It is a failure to try to obtain the datatype of an empty property.
Parallel Notes: Independent
See Also:
- Properties: Introduction for current chapter