The H5R_GET_OBJECT_TYPE function returns the type of object that an object reference points to.

Syntax


Result = H5R_GET_OBJECT_TYPE(Loc_id, Reference)

Return Value


The Result is a string giving the object type. Possible return values include:

  • 'DATASET'
  • 'GROUP'
  • 'LINK'
  • 'TYPE'
  • 'UNKNOWN'

Arguments


Loc_id

An integer giving the identifier in which the reference dataset is located.

Reference

An integer giving the reference number to query.

Keywords


None

Version History


5.6

Introduced

See Also


H5R_DEREFERENCE