H5Screate_simple
(int rank
,
const hsize_t * dims
,
const hsize_t * maxdims
)
rank
is the number of dimensions used in the
dataspace. The dims
argument is the size of the simple
dataset and the maxdims
argument is the upper limit on the
size of the dataset. maxdims
may be the null pointer in
which case the upper limit is the same as dims
. If an
element of maxdims
is zero then the corresponding dimension
is unlimited, otherwise no element of maxdims
should be
smaller than the corresponding element of dims
. The
dataspace ID returned from this function should be released with
H5Sclose or resource leaks will occur.
rank
dims
maxdims
H5Scopy
(hid_t space_id
)
space_id
H5Sget_npoints
(hid_t space_id
)
space_id
H5Sget_ndims
(hid_t space_id
)
space_id
H5Sget_dims
(hid_t space_id
,
hsize_t *dims
,
hsize_t *maxdims
)
dims
parameter.
space_id
dims
maxdims
H5Sis_simple
(hid_t space_id
)
space_id
H5Sset_space
(hid_t space_id
,
uint32 rank
,
uint32 *dims
)
dims
array (i.e. 'C' order). Setting the size of a dimension to zero
indicates that the dimension is of unlimited size and should be allowed
to expand. Currently, only the first dimension in the array (the
slowest) may be unlimited in size.
[Currently, all dataspace objects are simple
dataspaces, complex dataspace support will be added in the future]
space_id
rank
dims
H5Sset_hyperslab
(hid_t space_id
,
const hssize_t *start
,
const hsize_t *count
,
const hsize_t *stride
)
space_id
start
count
stride
H5Sget_hyperslab
(hid_t space_id
,
hssize_t *start
,
hsize_t *count
,
hsize_t *stride
)
space_id
start
count
stride
H5Sclose
(hid_t space_id
)
space_id