H5Rget_region(hid_t dataset,
H5R_type_t ref_type,
void *ref
)
ref,
H5Rget_region creates a copy of the dataspace
of the dataset pointed to and defines a selection in the copy
which is the region pointed to.
The parameter ref_type specifies the reference type
of ref.
ref_type may contain the following value:
H5R_DATASET_REGION (1)
hid_t dataset |
IN: Dataset containing reference object. |
H5R_type_t ref_type |
IN: The reference type of ref. |
void *ref |
IN: Reference to open. |
SUBROUTINE h5rget_region_f(dset_id, ref, space_id, hdferr)
IMPLICIT NONE
INTEGER(HID_T), INTENT(IN) :: dset_id ! Dataset identifier
TYPE(hdset_reg_ref_t_f), INTENT(IN) :: ref ! Dataset region reference
INTEGER(HID_T), INTENT(OUT) :: space_id ! Space identifier
INTEGER, INTENT(OUT) :: hdferr ! Error code
! 0 on success and -1 on failure
END SUBROUTINE h5rget_region_f