|
echelon
0.8.0
|
A handle to an HDF5 scalar dataset. More...
#include <scalar_dataset.hpp>
Public Types | |
| using | native_handle_type = hdf5::precursor::dataset |
| Type of the underlying HDF5 low-level handle. | |
Public Member Functions | |
| scalar_dataset ()=default | |
| Initializes the handle with its null state. | |
| type | datatype () const |
| The value type of the scalar dataset. | |
| object_reference | ref () const |
| A HDF5 object reference to this scalar dataset. | |
| const native_handle_type & | native_handle () const |
| The underlying HDF5 low-level handle. | |
| operator bool () const | |
| Tests the validity of the handle. | |
| attribute_repository< scalar_dataset > | attributes () const |
| The attributes, which are attached to the scalar dataset. | |
Friends | |
| template<typename T > | |
| void | operator<<= (scalar_dataset &sink, const T &value) |
| Writes the content of a variable into the scalar dataset. More... | |
| template<typename T > | |
| void | operator<<= (T &value, const scalar_dataset &source) |
| Reads the content of the scalar dataset into a variable. More... | |
A handle to an HDF5 scalar dataset.
|
friend |
Writes the content of a variable into the scalar dataset.
| T | Type of the written value. |
| sink | the scalar dataset, which is used as a sink |
| value | value, which is written into the dataset |
|
friend |
Reads the content of the scalar dataset into a variable.
| T | Type of the read value. |
| value | value, which is read from the dataset |
| source | the scalar dataset, which is used as a source |
1.8.11