h5cpp  0.5.0
A modern C++ wrapper for the HDF5 C library
hdf5::dataspace::DataspacePool Class Reference

data space object pool

#include <pool.hpp>

Public Member Functions

const SimplegetSimple (size_t size)
 reference of Simple data spaces More...
 
const SimplegetSimple (const Dimensions &current, const Dimensions &maximum=Dimensions())
 reference of Simple data spaces More...
 

Member Function Documentation

◆ getSimple() [1/2]

const Simple& hdf5::dataspace::DataspacePool::getSimple ( const Dimensions current,
const Dimensions maximum = Dimensions() 
)

Returns data space reference for static data space object

Exceptions
std::runtime_errorin case of a failure
Parameters
currentcurrent number of elements along each dimension
maximummaximum number of elements along each dimension
Returns
data space reference for data space object

◆ getSimple() [2/2]

const Simple& hdf5::dataspace::DataspacePool::getSimple ( size_t  size)

Returns data space reference for static data space object

Exceptions
std::runtime_errorin case of a failure
Parameters
sizedimension of 1D Simple Dataspace to get or create
Returns
data space reference for data space object

The documentation for this class was generated from the following file: