Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5T_GET_ARRAY_DIMS1

Retrieves sizes of array dimensions

This function is renamed from H5Tget_array_dims and deprecated in favor of the function H5T_GET_ARRAY_DIMS2 or the new macro H5T_GET_ARRAY_DIMS.

Procedure:

H5T_GET_ARRAY_DIMS1(adtype_id, dims, perm)

Signature:

int H5Tget_array_dims1( hid_t adtype_id, hsize_t dims[], int perm[] )

SUBROUTINE h5tget_array_dims_f(type_id, dims, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: type_id      ! Identifier of the array datatype
  INTEGER(HSIZE_T), DIMENSION(*), INTENT(OUT) ::  dims 
                                             ! Buffer to store array datatype
  INTEGER, INTENT(OUT)  :: hdferr            ! Error code
END SUBROUTINE h5tget_array_dims_f

Parameters:
hid_t adtype_id    IN: Datatype identifier of array object
hsize_t dims[]OUT: Sizes of array dimensions
int perm[]OUT: Dimension permutations 
(This parameter is not used.)

Description:

H5T_GET_ARRAY_DIMS1 returns the sizes of the dimensions and the dimension permutations of the specified array datatype object.

The sizes of the dimensions are returned in the array dims.

The parameter perm is not used.

Returns:

Returns the non-negative number of dimensions of the array type if successful; otherwise returns a negative value.

Example:

Coming Soon!

History:
Release    Change
1.8.0The function H5Tget_array_dims renamed to H5Tget_array_dims1 and deprecated in this release.
1.4.0Function introduced in this release.

--- Last Modified: May 16, 2019 | 09:20 AM