88 void read(T& array)
const;
101 template <
typename T>
102 void write(
const T& buffer);
105 template <
typename T>
110 return details::get_plist<AttributeCreateProps>(*
this, H5Aget_create_plist);
120#if HIGHFIVE_HAS_FRIEND_DECLARATIONS
121 template <
typename Derivate>
122 friend class ::HighFive::AnnotateTraits;
125 friend Attribute detail::make_attribute(hid_t);
129inline Attribute make_attribute(hid_t hid) {
Class representing an attribute of a dataset or group.
Definition H5Attribute.hpp:46
void write_raw(const T *buffer, const DataType &dtype={})
Write a buffer to this attribute.
Definition H5Attribute_misc.hpp:140
DataSpace getSpace() const
getSpace
Definition H5Attribute_misc.hpp:42
DataType getDataType() const
getDataType
Definition H5Attribute_misc.hpp:36
std::string getName() const
return the name of the current attribute
Definition H5Attribute_misc.hpp:27
void write(const T &buffer)
Definition H5Attribute_misc.hpp:117
static const ObjectType type
Definition H5Attribute.hpp:48
T read() const
Return the attribute.
Definition H5Attribute_misc.hpp:55
DataSpace getMemSpace() const
getMemSpace
Definition H5Attribute_misc.hpp:50
size_t getStorageSize() const
Definition H5Attribute_misc.hpp:32
AttributeCreateProps getCreatePropertyList() const
Get the list of properties for creation of this attribute.
Definition H5Attribute.hpp:109
Class representing the space (dimensions) of a dataset.
Definition H5DataSpace.hpp:25
HDF5 Data Type.
Definition H5DataType.hpp:54
Definition H5Object.hpp:54
Object()
Definition H5Object_misc.hpp:24
Definition H5Path_traits.hpp:16
HDF5 property Lists.
Definition H5PropertyList.hpp:79
Definition H5_definitions.hpp:15
ObjectType
Enum of the types of objects (H5O api)
Definition H5Object.hpp:24