Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5T_DETECT_CLASS

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

Procedure:

H5T_DETECT_CLASS(dtype_id, dtype_class)

Signature:

htri_t H5Tdetect_class( hid_t dtype_id, H5T_class_tdtype_class )

Parameters:
hid_t dtype_idIN: Datatype identifier.
H5T_class_t dtype_class    IN: 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.

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.

Example:

Coming Soon!

History:
Release    C
1.6.0Function introduced in this release.

--- Last Modified: January 24, 2018 | 10:35 AM