17 #ifndef __H5DataSpace_H
18 #define __H5DataSpace_H
20 #ifndef H5_NO_NAMESPACE
34 DataSpace(
int rank,
const hsize_t * dims,
const hsize_t * maxdims = NULL);
46 void extentCopy(
const DataSpace& dest_space)
const;
48 void extentCopy(
DataSpace& dest_space)
const;
51 void getSelectBounds( hsize_t* start, hsize_t* end )
const;
54 hssize_t getSelectElemNpoints()
const;
57 void getSelectElemPointlist( hsize_t startpoint, hsize_t numpoints, hsize_t *buf )
const;
60 void getSelectHyperBlocklist( hsize_t startblock, hsize_t numblocks, hsize_t *buf )
const;
63 hssize_t getSelectHyperNblocks()
const;
66 hssize_t getSelectNpoints()
const;
69 int getSimpleExtentDims( hsize_t *dims, hsize_t *maxdims = NULL )
const;
72 int getSimpleExtentNdims()
const;
76 hssize_t getSimpleExtentNpoints()
const;
79 H5S_class_t getSimpleExtentType()
const;
82 bool isSimple()
const;
85 void offsetSimple(
const hssize_t* offset )
const;
88 void selectAll()
const;
92 void selectElements( H5S_seloper_t op,
const size_t num_elements,
const hsize_t *coord)
const;
95 void selectHyperslab( H5S_seloper_t op,
const hsize_t *count,
const hsize_t *start,
const hsize_t *stride = NULL,
const hsize_t *block = NULL )
const;
98 void selectNone()
const;
101 bool selectValid()
const;
104 void setExtentNone()
const;
107 void setExtentSimple(
int rank,
const hsize_t *current_size,
const hsize_t *maximum_size = NULL )
const;
110 virtual H5std_string
fromClass ()
const {
return(
"DataSpace"); }
119 virtual hid_t getId()
const;
128 #ifndef DOXYGEN_SHOULD_SKIP_THIS
130 virtual void p_setId(
const hid_t new_id);
131 #endif // DOXYGEN_SHOULD_SKIP_THIS
134 #ifndef H5_NO_NAMESPACE
137 #endif // __H5DataSpace_H
Class IdComponent provides wrappers of the C functions that operate on an HDF5 identifier.
Definition: H5IdComponent.h:34
Class DataSpace operates on HDF5 dataspaces.
Definition: H5DataSpace.h:25
static const DataSpace ALL
Constant for default dataspace.
Definition: H5DataSpace.h:28
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5DataSpace.h:110