H5T_ENUM_SET_DATA

The H5T_ENUM_SET_DATA procedure sets all the name/value pairs on an enumeration datatype object.

This routine is written in the IDL language. Its source code can be found in the file h5t_enum_set_data.pro in the lib subdirectory of the IDL distribution.

Syntax

H5T_ENUM_SET_DATA, Datatype_id, Data, Values

Arguments

Datatype_id

A long integer containing the identifier of the enumeration datatype.

Data

A string array or array of named structures:

Values

An integer array containing the values of the members of the enumeration datatype. The Values array must have the same number of elements as the string array specified by Data. This argument is ignored if Data is an array of structures.

Keywords

None

Version History

6.3

Introduced

See Also

H5T_ENUM_CREATE, H5T_ENUM_GET_DATA, H5T_ENUM_INSERT