Page tree

The license could not be verified: License Certificate has expired!

 

JAVA

FORTRAN

C++

C

 

Link

H5S_SELECT_SHAPE_SAME

Checks if two selections are the same shape

Procedure:

H5S_SELECT_SHAPE_SAME ( space1_id, space2_id )

Signature:

htri_t H5Sselect_shape_same ( hid_t space1_id, hid_t space2_id )

Parameters:
hid_t space1_idIN: Identifier of 1st dataspace pointer to compare
hid_t space2_idIN: Identifier of 2nd dataspace pointer to compare

Description:

H5S_SELECT_SHAPE_SAME checks to see if the current selection in the dataspaces are the same dimensionality and shape.

This is primarily used for reading the entire selection in one swoop.

Returns:

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

Example:

test / tselect.c [1904:1907]  hdf5_1_12  HDFFV/hdf5
    if (mis_match)
        TestErrPrintf("Initial cube data don't match! Line = %d\n", __LINE__);
} /* verify_select_hyper_contig_dr__run_test() */

History:
ReleaseChange
1.10.7, 1.12.0Function introduced in this release.

--- Last Modified: September 15, 2020 | 02:37 PM