15 #ifndef __H5DataSpace_H
16 #define __H5DataSpace_H
34 DataSpace(
int rank,
const hsize_t * dims,
const hsize_t * maxdims = NULL);
52 void extentCopy(
const DataSpace& dest_space)
const;
57 void getSelectBounds(hsize_t* start, hsize_t* end)
const;
60 hssize_t getSelectElemNpoints()
const;
63 void getSelectElemPointlist(hsize_t startpoint, hsize_t numpoints, hsize_t *buf)
const;
66 void getSelectHyperBlocklist(hsize_t startblock, hsize_t numblocks, hsize_t *buf)
const;
69 hssize_t getSelectHyperNblocks()
const;
72 hssize_t getSelectNpoints()
const;
75 int getSimpleExtentDims(hsize_t *dims, hsize_t *maxdims = NULL)
const;
78 int getSimpleExtentNdims()
const;
82 hssize_t getSimpleExtentNpoints()
const;
85 H5S_class_t getSimpleExtentType()
const;
88 bool isSimple()
const;
91 void offsetSimple(
const hssize_t* offset)
const;
94 void selectAll()
const;
98 void selectElements(H5S_seloper_t op,
const size_t num_elements,
const hsize_t *coord)
const;
101 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;
104 void selectNone()
const;
107 bool selectValid()
const;
110 void setExtentNone()
const;
113 void setExtentSimple(
int rank,
const hsize_t *current_size,
const hsize_t *maximum_size = NULL)
const;
116 virtual H5std_string
fromClass ()
const {
return(
"DataSpace"); }
119 virtual hid_t getId()
const;
122 static void deleteConstants();
127 #ifndef DOXYGEN_SHOULD_SKIP_THIS
131 virtual void p_setId(
const hid_t new_id);
133 #endif // DOXYGEN_SHOULD_SKIP_THIS
138 #ifndef DOXYGEN_SHOULD_SKIP_THIS
148 #endif // DOXYGEN_SHOULD_SKIP_THIS
153 #endif // __H5DataSpace_H
Class IdComponent provides wrappers of the C functions that operate on an HDF5 identifier.
Definition: H5IdComponent.h:27
Class DataSpace inherits from IdComponent and provides wrappers for the HDF5's dataspaces.
Definition: H5DataSpace.h:25
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5DataSpace.h:116
static const DataSpace & ALL
Default DataSpace objects.
Definition: H5DataSpace.h:28
void f_DataSpace_setId(DataSpace *dspace, hid_t new_id)
Definition: H5Location.cpp:1147