74 typedef type_imp::index_vector_type::const_iterator
iterator;
147 explicit h5dataspace(const
type_imp::index_vector_type &
shape);
161 explicit h5dataspace(
type_imp::index_vector_type &&shape);
182 hid_t
id() const noexcept;
226 const
type_imp::index_vector_type &shape() const noexcept;
244 void grow(
size_t dim=0,
size_t ext=1) ;
287 std::ostream &operator<<(
std::ostream &o,const h5dataspace &s);
size_t rank() const
rank of dataset
Definition: h5dataspace.cpp:131
void apply_selection(const selection &s) const
apply selection
Definition: h5dataspace.cpp:190
dataspace object
Definition: h5dataspace.hpp:68
void __init_buffers() noexcept
initialize buffers
Definition: h5dataspace.cpp:69
object_imp _object
The HDF5 object representing the dataspace.
Definition: h5dataspace.hpp:77
type_imp::index_vector_type _maxdims
maximum number of elements dimensions
Definition: h5dataspace.hpp:81
type_imp::index_vector_type _dims
number of elements
Definition: h5dataspace.hpp:79
size_t size() const
total number of elements
Definition: h5dataspace.cpp:141
const type_imp::index_vector_type & shape() const noexcept
return reference to the current dimensions buffer
Definition: h5dataspace.cpp:153
void reset_selection() const noexcept
reset selection
Definition: h5dataspace.cpp:209
provide implementation specific types
Definition: type_imp.hpp:46
void __update_buffers()
update the buffers
Definition: h5dataspace.cpp:58
Definition: cbf_reader.hpp:41
void grow(size_t dim=0, size_t ext=1)
grow dataspace
Definition: h5dataspace.cpp:174
basic HDF5 ID wrapper
Definition: object_imp.hpp:59
describe a selection in an HDF5 file
Definition: selection.hpp:37
type_imp::index_vector_type::const_iterator iterator
buffer iterator
Definition: h5dataspace.hpp:74
bool is_valid() const
check validity status
Definition: h5dataspace.cpp:125
type_imp::index_type value_type
value type for buffers
Definition: h5dataspace.hpp:72
std::vector< index_type > index_vector_type
container type for counters
Definition: type_imp.hpp:52
void __update_dataspace()
setup dataspace
Definition: h5dataspace.cpp:40
hsize_t index_type
index type
Definition: type_imp.hpp:49
bool has_selection() const
true if selection is set on this dataspace
Definition: h5dataspace.cpp:159