The license could not be verified: License Certificate has expired!
Jump to ...
Switch language ...
Sets the byte order of a datatype
H5T_SET_ORDER (dtype_id, order)
herr_t H5Tset_order( hid_t dtype_id, H5T_order_t order )
SUBROUTINE h5tset_order_f(type_id, order, hdferr)
INTEGER(HID_T), INTENT(IN) :: type_id ! Datatype identifier
INTEGER, INTENT(IN) :: order ! Datatype byte order
! Possible values are:
INTEGER, INTENT(OUT) :: hdferr ! Error code
! 0 on success and -1 on failure
END SUBROUTINE h5tset_order_f
H5T_SET_ORDER sets the byte order of a datatype.
Byte order can currently be set to any of the following:
H5T_ORDER_MIXED (3) is a valid value for order only when returned by the function H5T_GET_ORDER ; it cannot be set with H5T_SET_ORDER .
H5T_ORDER_NONE (4) is a valid value for order, but it has no effect. It is valid only for fixed-length strings and object and region references and specifies “no particular order.”
The byte order of a derived datatype is initially the same as that of the parent type, but can be changed with H5T_SET_ORDER.
This function cannot be used with a datatype after it has been committed.
Special considerations: ENUM datatypes: Byte order must be set before any member on an ENUM is defined.
Compound datatypes: Byte order is set individually on each member of a compound datatype; members of a compound datatype need not have the same byte order.
Opaque datatypes: Byte order can be set but has no effect.
Returns a non-negative value if successful; otherwise returns a negative value.
--- Last Modified: May 23, 2019 | 03:43 PM
Copyright © 2006-2019All rights reserved
HDF is a registered trademark of The HDF Group.
Powered by a free Atlassian Confluence Open Source Project License granted to HDF. Evaluate Confluence today.