15 #ifndef __H5DataSpace_H
16 #define __H5DataSpace_H
33 DataSpace(
int rank,
const hsize_t * dims,
const hsize_t * maxdims = NULL);
51 void extentCopy(
const DataSpace& dest_space)
const;
56 void getSelectBounds(hsize_t* start, hsize_t* end)
const;
59 hssize_t getSelectElemNpoints()
const;
62 void getSelectElemPointlist(hsize_t startpoint, hsize_t numpoints, hsize_t *buf)
const;
65 void getSelectHyperBlocklist(hsize_t startblock, hsize_t numblocks, hsize_t *buf)
const;
68 hssize_t getSelectHyperNblocks()
const;
71 hssize_t getSelectNpoints()
const;
74 int getSimpleExtentDims(hsize_t *dims, hsize_t *maxdims = NULL)
const;
77 int getSimpleExtentNdims()
const;
81 hssize_t getSimpleExtentNpoints()
const;
84 H5S_class_t getSimpleExtentType()
const;
87 bool isSimple()
const;
90 void offsetSimple(
const hssize_t* offset)
const;
93 void selectAll()
const;
97 void selectElements(H5S_seloper_t op,
const size_t num_elements,
const hsize_t *coord)
const;
100 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;
103 void selectNone()
const;
106 bool selectValid()
const;
109 void setExtentNone()
const;
112 void setExtentSimple(
int rank,
const hsize_t *current_size,
const hsize_t *maximum_size = NULL)
const;
115 virtual H5std_string
fromClass ()
const {
return(
"DataSpace"); }
118 virtual hid_t getId()
const;
121 static void deleteConstants();
126 #ifndef DOXYGEN_SHOULD_SKIP_THIS
130 virtual void p_setId(
const hid_t new_id);
132 #endif // DOXYGEN_SHOULD_SKIP_THIS
137 #ifndef DOXYGEN_SHOULD_SKIP_THIS
145 friend void f_DataSpace_setId(
DataSpace *dspace, hid_t new_id);
147 #endif // DOXYGEN_SHOULD_SKIP_THIS
152 #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:24
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5DataSpace.h:115
static const DataSpace & ALL
Default DataSpace objects.
Definition: H5DataSpace.h:27