Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5T_SET_TAG

Tags an opaque datatype

Procedure:

H5T_SET_TAG ( dtype_id, tag )

Signature:

herr_t H5Tset_tag( hid_t dtype_id const char *tag )

SUBROUTINE h5tset_tag_f(type_id, tag, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier 
  CHARACTER(LEN=*), INTENT(IN) :: tag   ! Unique ASCII string with which the
                                        ! opaque datatype is to be tagged 
  INTEGER, INTENT(OUT) :: hdferr        ! Error code
END SUBROUTINE h5tset_tag_f

Parameters:
hid_t dtype_idIN: Datatype identifier for the opaque datatype to be tagged
const char *tag    IN: Descriptive ASCII string with which the opaque datatype is to be tagged

Description:

H5T_SET_TAG tags an opaque datatype dtype_id with a descriptive ASCII identifier, tag.

tag is intended to provide a concise description; the maximum size is hard-coded in the HDF5 library as 256 bytes (H5T_OPAQUE_TAG_MAX).

Returns:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

Coming Soon!

History:
Release    Change
1.6.5The H5T_OPAQUE_TAG_MAX macro constant, specifying the maximum size of an opaque datatype tag, was added in H5Tpublic.h.

--- Last Modified: January 08, 2020 | 01:05 PM