17 #ifndef __H5DataSpace_H
18 #define __H5DataSpace_H
32 DataSpace(
int rank,
const hsize_t * dims,
const hsize_t * maxdims = NULL);
50 void extentCopy(
const DataSpace& dest_space)
const;
55 void getSelectBounds( hsize_t* start, hsize_t* end )
const;
58 hssize_t getSelectElemNpoints()
const;
61 void getSelectElemPointlist( hsize_t startpoint, hsize_t numpoints, hsize_t *buf )
const;
64 void getSelectHyperBlocklist( hsize_t startblock, hsize_t numblocks, hsize_t *buf )
const;
67 hssize_t getSelectHyperNblocks()
const;
70 hssize_t getSelectNpoints()
const;
73 int getSimpleExtentDims( hsize_t *dims, hsize_t *maxdims = NULL )
const;
76 int getSimpleExtentNdims()
const;
80 hssize_t getSimpleExtentNpoints()
const;
83 H5S_class_t getSimpleExtentType()
const;
86 bool isSimple()
const;
89 void offsetSimple(
const hssize_t* offset )
const;
92 void selectAll()
const;
96 void selectElements( H5S_seloper_t op,
const size_t num_elements,
const hsize_t *coord)
const;
99 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;
102 void selectNone()
const;
105 bool selectValid()
const;
108 void setExtentNone()
const;
111 void setExtentSimple(
int rank,
const hsize_t *current_size,
const hsize_t *maximum_size = NULL )
const;
114 virtual H5std_string
fromClass ()
const {
return(
"DataSpace"); }
117 virtual hid_t getId()
const;
120 static void deleteConstants();
125 #ifndef DOXYGEN_SHOULD_SKIP_THIS
129 virtual void p_setId(
const hid_t new_id);
131 #endif // DOXYGEN_SHOULD_SKIP_THIS
136 #ifndef DOXYGEN_SHOULD_SKIP_THIS
146 #endif // DOXYGEN_SHOULD_SKIP_THIS
149 #endif // __H5DataSpace_H
Class IdComponent provides wrappers of the C functions that operate on an HDF5 identifier.
Definition: H5IdComponent.h:32
Class DataSpace operates on HDF5 dataspaces.
Definition: H5DataSpace.h:23
virtual H5std_string fromClass() const
Returns this class name.
Definition: H5DataSpace.h:114
static const DataSpace & ALL
Default DataSpace objects.
Definition: H5DataSpace.h:26
void f_DataSpace_setId(DataSpace *dspace, hid_t new_id)
Definition: H5Location.cpp:955