6 #ifndef ECHELON_ATTRIBUTE_HPP 7 #define ECHELON_ATTRIBUTE_HPP 9 #include <echelon/type.hpp> 10 #include <echelon/object.hpp> 12 #include <echelon/hdf5/attribute.hpp> 42 attr.attribute_handle_ <<= value;
55 value <<= attr.attribute_handle_;
68 explicit operator bool()
const;
echelon's core namespace
Definition: attribute.cpp:10
A handle to an HDF5 attribute.
Definition: hdf5/attribute.hpp:24
A handle to an HDF5 type.
Definition: type.hpp:21
type datatype() const
The value type of the attribute.
Definition: attribute.cpp:18
friend void operator<<=(T &value, const attribute &attr)
Reads the content of an attribute into a variable.
Definition: attribute.hpp:53
native_handle_type native_handle() const
The underlying HDF5 low-level handle.
Definition: attribute.cpp:23
A handle to an echelon attribute.
Definition: attribute.hpp:21
attribute()=default
Initializes the handle with its null state.
friend void operator<<=(attribute &attr, const T &value)
Writes the content of a variable into the attribute.
Definition: attribute.hpp:40