h5cpp
0.5.0
A modern C++ wrapper for the HDF5 C library
|
Go to the documentation of this file.
140 size_t rank()
const noexcept;
153 void offset(
size_t index,
size_t value);
180 void stride(
size_t index,
size_t value);
204 void count(
size_t index,
size_t value);
231 void block(
size_t index,
size_t value);
251 virtual void apply(
const Dataspace &space,
264 virtual Dimensions dimensions()
const override;
275 virtual size_t size()
const override;
287 inline void check_dimension_index(
size_t index,
const std::string &what)
const {
288 if (index >= rank()) {
289 std::stringstream ss;
290 ss <<
"Cannot set " << what <<
" value at dimension " << index <<
" for a Hyperslab"
291 <<
" of rank " << rank() <<
"!";
292 throw std::runtime_error(ss.str());
296 inline void check_container_size(
const Dimensions &container,
const std::string &what)
const {
297 if (container.size() != rank()) {
298 std::stringstream ss;
299 ss <<
"Cannot assign " << container.size() <<
" " << what <<
" values to a Hyperslab"
300 <<
" of rank " << rank() <<
"!";
301 throw std::runtime_error(ss.str());
306 #pragma warning(push)
307 #pragma warning(disable:4251)
selection base class
Definition: selection.hpp:42
Dataspace operator||(const Dataspace &space, const Hyperslab &selection)
SelectionOperation
selection operator
Definition: type.hpp:95
SelectionList operator|(const Hyperslab &a, const Hyperslab &b)
std::vector< hsize_t > Dimensions
Definition: types.hpp:32
SelectionType
selection type
Definition: type.hpp:71
#define DLL_EXPORT
Definition: windows.hpp:29
dataspace base class
Definition: dataspace.hpp:41
std::list< OperationWithSelection > SelectionList
Definition: selection.hpp:130
hyperslab selection class
Definition: hyperslab.hpp:52
top-level namespace of the entire library
Definition: attribute.hpp:45