Last modified: 10 December 2015
Name: H5Tdetect_class
Signature:
htri_t H5Tdetect_class( hid_t dtype_id, H5T_class_tdtype_class )

Purpose:
Determines whether a datatype contains any datatypes of the given datatype class.

Description:
H5Tdetect_class determines whether the datatype specified in dtype_id contains any datatypes of the datatype class specified in dtype_class.

This function is useful primarily in recursively examining all the fields and/or base types of compound, array, and variable-length datatypes.

Valid class identifiers are as defined in H5Tget_class.

Parameters:
hid_t dtype_id IN: Datatype identifier.
H5T_class_t dtype_class     IN: Datatype class.

Returns:
Returns a positive value if the datatype being examined by this function contains any datatypes that belong to the specified datatype class.
Returns 0 if the datatype being examined by this function does not contain any datatypes that belong to the specified datatype class.
Returns a negative value when the function fails.

Fortran90 Interface:
None

History:
Release     C
1.6.0 Function introduced in this release.