|
echelon
0.8.0
|
A handle to an HDF5 attribute. More...
#include <attribute.hpp>
Public Types | |
| using | native_handle_type = hdf5::precursor::attribute |
| Type of the underlying HDF5 low-level handle. | |
Public Member Functions | |
| attribute ()=default | |
| Initializes the handle with its null state. | |
| type | datatype () const |
| The value type of the attribute. | |
| const native_handle_type & | native_handle () const |
| The underlying HDF5 low-level handle. | |
| operator bool () const | |
| Tests the validity of the handle. | |
Friends | |
| template<typename T > | |
| void | operator<<= (attribute &attr, const T &value) |
| Writes the content of a variable into the attribute. More... | |
| template<typename T > | |
| void | operator<<= (T &value, const attribute &attr) |
| Reads the content of an attribute into a variable. More... | |
A handle to an HDF5 attribute.
|
friend |
Writes the content of a variable into the attribute.
| T | Type of the written value. |
| attr | attribute, to which the value is written |
| value | value, which is written into the attribute |
|
friend |
Reads the content of an attribute into a variable.
| T | Type of the read value. |
| value | value, which is read from the attribute |
| attr | attribute, from which the value is read |
1.8.11