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(
DataSpace& dest_space )
const;
49 void getSelectBounds( hsize_t* start, hsize_t* end )
const;
52 hssize_t getSelectElemNpoints()
const;
55 void getSelectElemPointlist( hsize_t startpoint, hsize_t numpoints, hsize_t *buf )
const;
58 void getSelectHyperBlocklist( hsize_t startblock, hsize_t numblocks, hsize_t *buf )
const;
61 hssize_t getSelectHyperNblocks()
const;
64 hssize_t getSelectNpoints()
const;
67 int getSimpleExtentDims( hsize_t *dims, hsize_t *maxdims = NULL )
const;
70 int getSimpleExtentNdims()
const;
74 hssize_t getSimpleExtentNpoints()
const;
77 H5S_class_t getSimpleExtentType()
const;
80 bool isSimple()
const;
83 void offsetSimple(
const hssize_t* offset )
const;
86 void selectAll()
const;
90 void selectElements( H5S_seloper_t op,
const size_t num_elements,
const hsize_t *coord)
const;
93 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;
96 void selectNone()
const;
99 bool selectValid()
const;
102 void setExtentNone()
const;
105 void setExtentSimple(
int rank,
const hsize_t *current_size,
const hsize_t *maximum_size = NULL )
const;
117 virtual hid_t getId()
const;
126 #ifndef DOXYGEN_SHOULD_SKIP_THIS
128 virtual void p_setId(
const hid_t new_id);
129 #endif // DOXYGEN_SHOULD_SKIP_THIS
132 #ifndef H5_NO_NAMESPACE
135 #endif // __H5DataSpace_H
Class DataSpace operates on HDF5 dataspaces.
Definition: H5DataSpace.h:25
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5DataSpace.h:108
static const DataSpace ALL
Constant for default dataspace.
Definition: H5DataSpace.h:28
Class IdComponent provides wrappers of the C functions that operate on an HDF5 identifier.
Definition: H5IdComponent.h:34
#define H5std_string
Definition: H5Exception.h:29