6 #ifndef ECHELON_HDF5_SCALAR_DATASET_HPP 7 #define ECHELON_HDF5_SCALAR_DATASET_HPP 9 #include <echelon/hdf5/object.hpp> 11 #include <echelon/hdf5/type.hpp> 12 #include <echelon/hdf5/precursor/dataset.hpp> 13 #include <echelon/hdf5/precursor/dataspace.hpp> 14 #include <echelon/hdf5/precursor/property_list.hpp> 16 #include <echelon/hdf5/object_reference.hpp> 17 #include <echelon/hdf5/attribute_repository.hpp> 19 #include <echelon/hdf5/storage_layer.hpp> 52 write(sink.dataset_wrapper_, value);
65 read(source.dataset_wrapper_, value);
82 explicit operator bool()
const;
84 hdf5::precursor::dataset dataset_wrapper_;
echelon's core namespace
Definition: attribute.cpp:10
friend void operator<<=(scalar_dataset &sink, const T &value)
Writes the content of a variable into the scalar dataset.
Definition: hdf5/scalar_dataset.hpp:50
scalar_dataset()=default
Initializes the handle with its null state.
type datatype() const
The value type of the scalar dataset.
Definition: hdf5/scalar_dataset.cpp:27
hdf5::precursor::dataset native_handle_type
Type of the underlying HDF5 low-level handle.
Definition: hdf5/scalar_dataset.hpp:32
A handle to an HDF5 type.
Definition: hdf5/type.hpp:23
Attribute manager, which should be embedded into a parent object, which supports attributes.
Definition: hdf5/attribute_repository.hpp:52
const native_handle_type & native_handle() const
The underlying HDF5 low-level handle.
Definition: hdf5/scalar_dataset.cpp:37
A reference to an HDF5 object.
Definition: hdf5/object_reference.hpp:25
attribute_repository< scalar_dataset > attributes() const
The attributes, which are attached to the scalar dataset.
Definition: hdf5/scalar_dataset.cpp:47
friend void operator<<=(T &value, const scalar_dataset &source)
Reads the content of the scalar dataset into a variable.
Definition: hdf5/scalar_dataset.hpp:63
object_reference ref() const
A HDF5 object reference to this scalar dataset.
Definition: hdf5/scalar_dataset.cpp:32
A handle to an HDF5 scalar dataset.
Definition: hdf5/scalar_dataset.hpp:27