|
HighFive
2.3.1
HighFive - Header-only C++ HDF5 interface
|
Class representing an attribute of a dataset or group. More...
#include <H5Attribute.hpp>


Public Member Functions | |
| std::string | getName () const |
| return the name of the current attribute More... | |
| size_t | getStorageSize () const |
| DataType | getDataType () const |
| getDataType More... | |
| DataSpace | getSpace () const |
| getSpace More... | |
| DataSpace | getMemSpace () const |
| getMemSpace More... | |
| template<typename T > | |
| void | read (T &array) const |
| template<typename T > | |
| void | read (T *array, const DataType &dtype=DataType()) const |
| template<typename T > | |
| void | write (const T &buffer) |
| template<typename T > | |
| void | write_raw (const T *buffer, const DataType &dtype=DataType()) |
| Attribute ()=delete | |
Public Member Functions inherited from HighFive::Object | |
| ~Object () | |
| bool | isValid () const noexcept |
| isValid More... | |
| hid_t | getId () const noexcept |
| getId More... | |
| ObjectInfo | getInfo () const |
| Retrieve several infos about the current object (address, dates, etc) More... | |
| ObjectType | getType () const |
| Gets the fundamental type of the object (dataset, group, etc) More... | |
| bool | operator== (const Object &other) const noexcept |
Public Member Functions inherited from HighFive::PathTraits< Attribute > | |
| PathTraits () | |
| std::string | getPath () const |
| return the path to the current object More... | |
| File & | getFile () const noexcept |
| Return a reference to the File object this object belongs. More... | |
Static Public Attributes | |
| static const ObjectType | type = ObjectType::Attribute |
Friends | |
| template<typename Derivate > | |
| class | ::HighFive::AnnotateTraits |
Additional Inherited Members | |
Protected Member Functions inherited from HighFive::Object | |
| Object () | |
| Object (const Object &other) | |
| Object (Object &&other) noexcept | |
| Object (hid_t) | |
| Object & | operator= (const Object &other) |
Protected Attributes inherited from HighFive::Object | |
| hid_t | _hid |
Protected Attributes inherited from HighFive::PathTraits< Attribute > | |
| std::shared_ptr< File > | _file_obj |
Class representing an attribute of a dataset or group.
|
delete |
|
inline |
getDataType
|
inline |
|
inline |
return the name of the current attribute
|
inline |
getSpace
|
inline |
|
inline |
Read the attribute into a buffer An exception is raised if the numbers of dimension of the buffer and of the attribute are different
The array type can be a N-pointer or a N-vector ( e.g int** integer two dimensional array )
|
inline |
Read the attribute into a buffer
|
inline |
Write the integrality N-dimension buffer to this attribute An exception is raised if the numbers of dimension of the buffer and of the attribute are different
The array type can be a N-pointer or a N-vector ( e.g int** integer two dimensional array )
|
inline |
Write a buffer to this attribute
|
friend |
|
static |