Go to the documentation of this file.
9 #ifndef H5ANNOTATE_TRAITS_HPP
10 #define H5ANNOTATE_TRAITS_HPP
14 #include "../H5Attribute.hpp"
18 template <
typename Derivate>
19 class AnnotateTraits {
29 const DataSpace& space,
30 const DataType& type);
39 template <
typename Type>
41 const DataSpace& space);
82 typedef Derivate derivate_type;
87 #endif // H5ANNOTATE_TRAITS_HPP
size_t getNumberAttributes() const
return the number of attributes of the node / group
Definition: H5Annotate_traits_misc.hpp:82
Attribute createAttribute(const std::string &attribute_name, const DataSpace &space, const DataType &type)
create a new attribute with the name attribute_name
Definition: H5Annotate_traits_misc.hpp:25
bool hasAttribute(const std::string &attr_name) const
checks an attribute exists
Definition: H5Annotate_traits_misc.hpp:114
void deleteAttribute(const std::string &attribute_name)
deleteAttribute let you delete an attribute by its name.
Definition: H5Annotate_traits_misc.hpp:61
std::vector< std::string > listAttributeNames() const
list all attribute name of the node / group
Definition: H5Annotate_traits_misc.hpp:93
Attribute getAttribute(const std::string &attribute_name) const
open an existing attribute with the name attribute_name
Definition: H5Annotate_traits_misc.hpp:69
NAME string(REPLACE ".cpp" "_bin" example_name ${example_filename}) if($
Definition: hops/Third-party/HighFive/src/examples/CMakeLists.txt:6
Definition: H5_definitions.hpp:15