Routines (alphabetical) > Routines: H > HDF5 Routines > H5T_ENUM_VALUEOF

H5T_ENUM_VALUEOF

The H5T_ENUM_VALUEOF function retrieves the value of a member of an enumeration datatype corresponding to the specified name.

Syntax

Result = H5T_ENUM_VALUEOF(Datatype_id, Name)

Return Value

Returns an integer containing the value that corresponds to the specified name.

Arguments

Datatype_id

A long integer containing the identifier of the enumeration datatype.

Name

A string containing the name of the datatype member for which the value should be returned.

Keywords

None

Version History

6.3

Introduced

See Also

H5T_ENUM_CREATE, H5T_ENUM_NAMEOF