Determines whether datatype is a variable-length string
Procedure:
H5T_IS_VARIABLE_STR (dtype_id)
Signature:
htri_t H5Tis_variable_str( hid_t dtype_id )
SUBROUTINE h5tis_variable_str_f(type_id, status, hdferr)
IMPLICIT NONE
INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier
LOGICAL, INTENT(OUT) :: status ! Logical flag:
! Positive if datatype is a
! variable string
! Zero otherwise
INTEGER, INTENT(OUT) :: hdferr ! Error code
END SUBROUTINE h5tis_variable_str_f
Parameters:
hid_t dtype_id | IN: Datatype identifier |
Description:
H5T_IS_VARIABLE_STR determines whether the datatype identified in dtype_id
is a variable-length string.
This function can be used to distinguish between fixed and variable-length string datatypes.
Returns:
Returns a positive value if the specified datatype is a variable-length string.
Returns 0 if the specified datatype is not a variable-length string.
Returns a negative value when the function fails.
Example:
History:
Release | Change |
---|
1.6.0 | Function introduced in this release. |
--- Last Modified: June 02, 2020 | 11:10 AM