Gets a dataspace identifier for the selection within the virtual dataset used in the mapping
Procedure:
H5P_GET_VIRTUAL_VSPACE ( dcpl_id, index )
Signature:
hid_t H5Pget_virtual_vspace(
hid_t dcpl_id,
size_t index
)
Fortran Interface: h5pget_virtual_vspace_f
Signature:
SUBROUTINE h5pget_virtual_vspace_f(dcpl_id, index, ds_id, hdferr)
INTEGER(HID_T) , INTENT(IN) :: dcpl_id
INTEGER(SIZE_T), INTENT(IN) :: index
INTEGER(HID_T) , INTENT(OUT) :: ds_id
INTEGER, INTENT(OUT) :: hdferr
Inputs:
dcpl_id - The identifier of the virtual dataset creation property list.
index - Mapping index.
The value of index is 0 (zero) or greater and less than count
(0 ≤ index < count), where count is the number of mappings
returned by h5pget_virtual_count.
Outputs:
hdferr - Returns 0 if successful and -1 if fails.
Parameters:
hid_t dcpl_id | IN: The identifier of the virtual dataset creation property list |
size_t index | IN: Mapping index The value of index is 0 (zero) or greater and less than count (0 ≤ index < count ), where count is the number of mappings returned by H5P_GET_VIRTUAL_COUNT. |
Description:
H5P_GET_VIRTUAL_VSPACE takes the dataset creation property list for the virtual dataset, dcpl_id
, and the mapping index, index
, and returns a dataspace identifier for the selection within the virtual dataset used in the mapping.
The dataspace identifier must be closed with H5S_CLOSE. See Using Identifiers for more information on object identifiers.
See Also:
Returns:
Returns a valid dataspace identifier if successful; otherwise returns a negative value.
Example:
Include Bitbucket Server for Confluence: File content cannot be shown
Unauthenticated access to this resource is not allowed. Please login to Confluence first.
History:
Release | Change |
---|
1.10.0 | C function introduced with this release. |
--- Last Modified: March 02, 2021 | 01:07 PM