![]() |
HDF5
1.15.0.92ff840
API Reference
|
#include <c++/src/H5DataSpace.h>
Class DataSpace inherits from IdComponent and provides wrappers for the HDF5's dataspaces.
Public Member Functions | |
DataSpace (H5S_class_t type=H5S_SCALAR) | |
DataSpace (int rank, const hsize_t *dims, const hsize_t *maxdims=NULL) | |
DataSpace (const hid_t space_id) | |
DataSpace (const DataSpace &original) | |
DataSpace & | operator= (const DataSpace &rhs) |
virtual void | close () override |
void | copy (const DataSpace &like_space) |
void | extentCopy (const DataSpace &dest_space) const |
void | getSelectBounds (hsize_t *start, hsize_t *end) const |
hssize_t | getSelectElemNpoints () const |
void | getSelectElemPointlist (hsize_t startpoint, hsize_t numpoints, hsize_t *buf) const |
void | getSelectHyperBlocklist (hsize_t startblock, hsize_t numblocks, hsize_t *buf) const |
hssize_t | getSelectHyperNblocks () const |
hssize_t | getSelectNpoints () const |
int | getSimpleExtentDims (hsize_t *dims, hsize_t *maxdims=NULL) const |
int | getSimpleExtentNdims () const |
hssize_t | getSimpleExtentNpoints () const |
H5S_class_t | getSimpleExtentType () const |
bool | isSimple () const |
void | offsetSimple (const hssize_t *offset) const |
void | selectAll () const |
void | selectElements (H5S_seloper_t op, const size_t num_elements, const hsize_t *coord) const |
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 |
void | selectNone () const |
bool | selectValid () const |
void | setExtentNone () const |
void | setExtentSimple (int rank, const hsize_t *current_size, const hsize_t *maximum_size=NULL) const |
virtual H5std_string | fromClass () const override |
Returns this class name. More... | |
virtual hid_t | getId () const override |
virtual | ~DataSpace () override |
![]() | |
void | incRefCount (const hid_t obj_id) const |
void | incRefCount () const |
void | decRefCount (const hid_t obj_id) const |
void | decRefCount () const |
int | getCounter (const hid_t obj_id) const |
int | getCounter () const |
H5I_type_t | getHDFObjType () const |
IdComponent & | operator= (const IdComponent &rhs) |
void | setId (const hid_t new_id) |
H5std_string | inMemFunc (const char *func_name) const |
virtual | ~IdComponent () |
Static Public Member Functions | |
static void | deleteConstants () |
![]() | |
static H5I_type_t | getHDFObjType (const hid_t obj_id) |
static hsize_t | getNumMembers (H5I_type_t type) |
static bool | isValid (hid_t an_id) |
static bool | typeExists (H5I_type_t type) |
Static Public Attributes | |
static const DataSpace & | ALL |
Default DataSpace objects. More... | |
Protected Member Functions | |
virtual void | p_setId (const hid_t new_id) override |
![]() | |
IdComponent () | |
H5std_string | p_get_file_name () const |
Friends | |
void | f_DataSpace_setId (DataSpace *dspace, hid_t new_id) |
Additional Inherited Members | |
![]() | |
static bool | p_valid_id (const hid_t obj_id) |
![]() | |
static bool | H5dontAtexit_called |
DataSpace | ( | H5S_class_t | type = H5S_SCALAR | ) |
|
overridevirtual |
|
overridevirtual |
Implements IdComponent.
void copy | ( | const DataSpace & | like_space | ) |
|
static |
void extentCopy | ( | const DataSpace & | dest_space | ) | const |
|
overridevirtual |
Returns this class name.
Reimplemented from IdComponent.
|
overridevirtual |
Implements IdComponent.
hssize_t getSelectElemNpoints | ( | ) | const |
hssize_t getSelectHyperNblocks | ( | ) | const |
hssize_t getSelectNpoints | ( | ) | const |
int getSimpleExtentNdims | ( | ) | const |
hssize_t getSimpleExtentNpoints | ( | ) | const |
H5S_class_t getSimpleExtentType | ( | ) | const |
bool isSimple | ( | ) | const |
void offsetSimple | ( | const hssize_t * | offset | ) | const |
|
overrideprotectedvirtual |
Implements IdComponent.
void selectAll | ( | ) | const |
void selectElements | ( | H5S_seloper_t | op, |
const size_t | num_elements, | ||
const hsize_t * | coord | ||
) | const |
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 |
void selectNone | ( | ) | const |
bool selectValid | ( | ) | const |
void setExtentNone | ( | ) | const |
void setExtentSimple | ( | int | rank, |
const hsize_t * | current_size, | ||
const hsize_t * | maximum_size = NULL |
||
) | const |