H5T_ENUM_CREATE

Syntax | Return Value | Arguments | Keywords | Example | Version History | See Also

The H5T_ENUM_CREATE function creates an enumeration datatype object.

Note
Name/value pairs must be assigned to the datatype before it is used to create a dataset. The dataset stores the state of the datatype at the time the dataset is created; additional changes to the datatype will not be reflected in the dataset.

See Enumeration Datatypes for a discussion of enumeration datatypes.

Syntax

Result = H5T_ENUM_CREATE()

Return Value

Returns a long integer containing the identifier of the new enumeration datatype.

Note
Datatype identifiers created by this function should be released with H5T_CLOSE.

Arguments

None

Keywords

None

Example

See Enumeration Datatypes for an example using this routine.

Version History

6.3

Introduced

See Also

H5T_ENUM_INSERT, H5T_CLOSE