Documentation Center

  • Trial Software
  • Product Updates

H5T.get_member_class

Data type class for compound data type member

Syntax

output = H5T.get_member_class(type_id,membno)

Description

output = H5T.get_member_class(type_id,membno) returns the data type class of the compound data type member specified by membno. The type_id argument is the data type identifier of a compound object.

Examples

fid = H5F.open('example.h5');
dset_id = H5D.open(fid,'/g3/compound');
type_id = H5D.get_type(dset_id);
member_name = H5T.get_member_name(type_id,0);
member_class = H5T.get_member_class(type_id,0);

See Also

Was this topic helpful?