The H5T_ENUM_VALUES_TO_NAMES function converts values to the corresponding names of an enumeration datatype.
This routine is written in the IDL language. Its source code can be found in the file h5t_enum_values_to_names.pro in the lib subdirectory of the IDL distribution.
Syntax
Result = H5T_ENUM_VALUES_TO_NAMES(Datatype_id, Values)
Return Value
Returns a string array with the same number of elements as Values. Each element in Result will be the name corresponding to the value in Values. If an individual value specified in Values is not present in the enumeration datatype, the corresponding element in Result will be an empty string.
Arguments
Datatype_id
A long integer containing the identifier of the enumeration datatype.
Values
An integer array of values for which names are desired.
Note: The H5D_READ function returns an array suitable for use as the Values argument.
Keywords
None
Version History
See Also
H5T_ENUM_NAMEOF