Documentation Center

  • Trial Software
  • Product Updates

H5T.enum_nameof

Name of enumeration data type member

Syntax

name = H5T.enum_nameof(type_id,value)

Description

name = H5T.enum_nameof(type_id,value) returns the symbol name corresponding to a member of an enumeration data type. type_id specifies the enumeration data type. value identifies the member of the enumeration.

Examples

fid = H5F.open('example.h5');
dset_id = H5D.open(fid,'/g3/enum');
type_id = H5D.get_type(dset_id);
name0 = H5T.enum_nameof(type_id,int32(0));
name1 = H5T.enum_nameof(type_id,int32(1));

See Also

Was this topic helpful?