6 #ifndef ECHELON_SCALAR_DATASET_HPP 7 #define ECHELON_SCALAR_DATASET_HPP 9 #include <echelon/object.hpp> 11 #include <echelon/type.hpp> 12 #include <echelon/hdf5/group.hpp> 13 #include <echelon/hdf5/scalar_dataset.hpp> 15 #include <echelon/object_reference.hpp> 16 #include <echelon/attribute_repository.hpp> 46 sink.scalar_dataset_handle_ <<= value;
59 value <<= source.scalar_dataset_handle_;
76 explicit operator bool()
const;
echelon's core namespace
Definition: attribute.cpp:10
A handle to an HDF5 scalar dataset.
Definition: scalar_dataset.hpp:23
Attribute manager, which should be embedded into a parent object, which supports attributes.
Definition: attribute_repository.hpp:27
object_reference ref() const
A HDF5 object reference to this scalar dataset.
Definition: scalar_dataset.cpp:25
A handle to an HDF5 type.
Definition: type.hpp:21
A handle to an HDF5 group object.
Definition: hdf5/group.hpp:161
friend void operator<<=(scalar_dataset &sink, const T &value)
Writes the content of a variable into the scalar dataset.
Definition: scalar_dataset.hpp:44
type datatype() const
The value type of the scalar dataset.
Definition: scalar_dataset.cpp:20
native_handle_type native_handle() const
The underlying HDF5 low-level handle.
Definition: scalar_dataset.cpp:30
friend void operator<<=(T &value, const scalar_dataset &source)
Reads the content of the scalar dataset into a variable.
Definition: scalar_dataset.hpp:57
attribute_repository< scalar_dataset > attributes() const
The attributes, which are attached to the scalar dataset.
Definition: scalar_dataset.cpp:40
A handle to an HDF5 scalar dataset.
Definition: hdf5/scalar_dataset.hpp:27
A reference to an HDF5 object.
Definition: object_reference.hpp:24
scalar_dataset()=default
Initializes the handle with its null state.