|
h5cpp 0.7.0
A modern C++ wrapper for the HDF5 C library
|
simple multidimensional dataspace
#include <simple.hpp>


Public Member Functions | |
| Simple () | |
| default constructor More... | |
| Simple (const Dataspace &space) | |
| constructor More... | |
| Simple (const Dimensions ¤t, const Dimensions &maximum=hdf5::Dimensions()) | |
| constructor More... | |
| size_t | rank () const |
| get number of dimensions More... | |
| void | dimensions (const Dimensions ¤t, const Dimensions &maximum=Dimensions()) |
| set number of elements along each dimension More... | |
| Dimensions | current_dimensions () const |
| get current dimensions More... | |
| Dimensions | maximum_dimensions () const |
| get maximum dimensions More... | |
Public Member Functions inherited from hdf5::dataspace::Dataspace | |
| virtual | ~Dataspace () |
| destructor More... | |
| Dataspace () | |
| default constructor More... | |
| Dataspace (ObjectHandle &&handle) | |
| constructor More... | |
| Dataspace (Dataspace &&type)=default | |
| move constructor More... | |
| Dataspace (const Dataspace &space) | |
| copy constructor More... | |
| Dataspace & | operator= (const Dataspace &space) |
| copy assignment More... | |
| virtual hssize_t | size () const |
| number of elements in the dataspace More... | |
| operator hid_t () const | |
| allows explicit conversion to hid_t More... | |
| Type | type () const |
| get the type of the dataspace More... | |
| bool | is_valid () const |
| check validity of the dataspace More... | |
Static Public Attributes | |
| static const hsize_t | unlimited |
| dimension value for unlimited number of elements More... | |
Additional Inherited Members | |
Public Attributes inherited from hdf5::dataspace::Dataspace | |
| SelectionManager | selection |
| access to selection manager More... | |
Protected Member Functions inherited from hdf5::dataspace::Dataspace | |
| Dataspace (Type type) | |
| hdf5::dataspace::Simple::Simple | ( | ) |
| hdf5::dataspace::Simple::Simple | ( | const Dataspace & | space | ) |
Construct a simple dataspace from a reference to its base instance. If space does not refer to a simple dataspace an exception will be thrown.
| std::runtime_error | in case of a failure |
| space | reference to a dataspace instance |
| hdf5::dataspace::Simple::Simple | ( | const Dimensions & | current, |
| const Dimensions & | maximum = hdf5::Dimensions() |
||
| ) |
If the maximum dimensions is not provided it will be set to the current number of elements along each dimension.
| std::runtime_error | in case of a failure |
| current | current number of elements along each dimension |
| maximum | maximum number of elements along each dimension |
| Dimensions hdf5::dataspace::Simple::current_dimensions | ( | ) | const |
| std::runtime_error | in case of a failure |
| void hdf5::dataspace::Simple::dimensions | ( | const Dimensions & | current, |
| const Dimensions & | maximum = Dimensions() |
||
| ) |
| std::runtime_error | in case of a failure |
| Dimensions hdf5::dataspace::Simple::maximum_dimensions | ( | ) | const |
| std::runtime_error | in case of a failure |
| size_t hdf5::dataspace::Simple::rank | ( | ) | const |
| std::runtime_error | in case of a failure |
|
static |