Page tree

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

 

JAVA

FORTRAN

C++

C

 

Link

H5S_COMBINE_SELECT

Combine two hyperslab selections with an operation, returning a dataspace with the resulting selection

Procedure:

H5S_COMBINE_SELECT ( space1_id, op, space2_id )

Signature:

hid_t H5Scombine_select ( hid_t space1_id, H5S_seloper_t op, hid_t space2_id )

Parameters:
hid_t space1_id

IN: First dataspace identifier

H5S_seloper_t opIN: Selection operation
hid_t space2_idIN: Second dataspace identifier

Description:

H5S_COMBINE_SELECT combines two hyperslab selections space1_d and space2_id with an operation, returning a new dataspace with the resulting selection. The dataspace extent from space1_id is copied for the dataspace extent of the newly created dataspace.

Returns:

Dataspace identifier on success and H5I_INVALID_HID on failure.

Example:

test / tselect.c [5207:5208]  hdf5_1_12  HDFFV/hdf5
    tmp2_space = H5Scombine_select(sid2,H5S_SELECT_OR,tmp_space);
    CHECK(tmp2_space, FAIL, "H5Scombin_select");

History:
ReleaseChange
1.12.0Function introduced in this release

--- Last Modified: December 16, 2019 | 12:55 PM