summaryrefslogtreecommitdiffstats
path: root/src/H5Pprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-01-28 00:23:05 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-01-28 00:23:05 (GMT)
commit84e5e6fd28789bb1ae5edd5e0c9f2e9f210a4449 (patch)
tree6b7562f027d44826f81f03c1e087d92ec63141a5 /src/H5Pprivate.h
parentbae13084f03f72cb315ec022d7913359010f3ea4 (diff)
downloadhdf5-84e5e6fd28789bb1ae5edd5e0c9f2e9f210a4449.zip
hdf5-84e5e6fd28789bb1ae5edd5e0c9f2e9f210a4449.tar.gz
hdf5-84e5e6fd28789bb1ae5edd5e0c9f2e9f210a4449.tar.bz2
[svn-r177] Added H5Pselect_hyperslab routine. The parameters to this routine are similar
to the HDF4 SDwritedata routine: start, count & stride. The start indicates the base location of the hyperslab, count indicates the number of elements in the hyperslab and stride indicates the packing of the hyperslab. The hyperslab is assumed to be the same rank as the dataspace it is located within. The hyperslab is stored for future use, no I/O occurs in this routine.
Diffstat (limited to 'src/H5Pprivate.h')
-rw-r--r--src/H5Pprivate.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/H5Pprivate.h b/src/H5Pprivate.h
index bfb66da..6273fe9 100644
--- a/src/H5Pprivate.h
+++ b/src/H5Pprivate.h
@@ -29,6 +29,12 @@
#define H5P_VALID_MAX 0x01
#define H5P_VALID_PERM 0x02
+typedef struct H5P_hyperslab_t {
+ size_t *start; /* Location of start of hyperslab */
+ size_t *count; /* Number of elements in hyperslab */
+ size_t *stride; /* Packing of values of hyperslab */
+} H5P_hyperslab_t;
+
typedef struct H5P_simple_t {
intn rank; /*number of dimensions */
intn dim_flags; /*dimension flags */
@@ -42,6 +48,8 @@ typedef struct {
union {
H5P_simple_t simple; /*simple dimensionality information */
} u;
+ uintn hslab_def; /* Whether the hyperslab is defined */
+ H5P_hyperslab_t h; /* Hyperslab information */
} H5P_t;
/*