9#ifndef H5ANNOTATE_TRAITS_HPP
10#define H5ANNOTATE_TRAITS_HPP
14#include "../H5Attribute.hpp"
18template <
typename Derivate>
39 template <
typename Type>
82 typedef Derivate derivate_type;
Definition H5Annotate_traits.hpp:19
std::vector< std::string > listAttributeNames() const
list all attribute name of the object
Definition H5Annotate_traits_misc.hpp:94
void deleteAttribute(const std::string &attr_name)
deleteAttribute let you delete an attribute by its name.
Definition H5Annotate_traits_misc.hpp:61
bool hasAttribute(const std::string &attr_name) const
checks an attribute exists
Definition H5Annotate_traits_misc.hpp:115
Attribute getAttribute(const std::string &attr_name) const
open an existing attribute with the name attr_name
Definition H5Annotate_traits_misc.hpp:69
size_t getNumberAttributes() const
return the number of attributes of the object
Definition H5Annotate_traits_misc.hpp:82
Attribute createAttribute(const std::string &attr_name, const DataSpace &space, const DataType &type)
create a new attribute with the name attr_name
Definition H5Annotate_traits_misc.hpp:25
Class representing an attribute of a dataset or group.
Definition H5Attribute.hpp:22
Class representing the space (dimensions) of a dataset.
Definition H5DataSpace.hpp:37
HDF5 Data Type.
Definition H5DataType.hpp:48