#include <H5Annotate_traits.hpp>
Public Member Functions | |
Attribute | createAttribute (const std::string &attribute_name, const DataSpace &space, const DataType &type) |
create a new attribute with the name attribute_name More... | |
template<typename Type > | |
Attribute | createAttribute (const std::string &attribute_name, const DataSpace &space) |
createAttribute create a new attribute on the current dataset with size specified by space More... | |
template<typename T > | |
Attribute | createAttribute (const std::string &attribute_name, const T &data) |
createAttribute create a new attribute on the current dataset and write to it, inferring the DataSpace from data. More... | |
Attribute | getAttribute (const std::string &attribute_name) const |
open an existing attribute with the name attribute_name More... | |
size_t | getNumberAttributes () const |
return the number of attributes of the node / group More... | |
bool | hasAttribute (const std::string &attr_name) const |
checks an attribute exists More... | |
std::vector< std::string > | listAttributeNames () const |
list all attribute name of the node / group More... | |
Private Types | |
typedef Derivate | derivate_type |
Definition at line 23 of file H5Annotate_traits.hpp.
|
private |
Definition at line 82 of file H5Annotate_traits.hpp.
|
inline |
create a new attribute with the name attribute_name
attribute_name |
Definition at line 29 of file H5Annotate_traits_misc.hpp.
|
inline |
|
inline |
createAttribute create a new attribute on the current dataset and write to it, inferring the DataSpace from data.
attribute_name | identifier of the attribute |
data | Associated data to write, must support DataSpace::From, see DataSpace for more information |
Definition at line 54 of file H5Annotate_traits_misc.hpp.
|
inline |
open an existing attribute with the name attribute_name
attribute_name |
Definition at line 64 of file H5Annotate_traits_misc.hpp.
|
inline |
return the number of attributes of the node / group
Definition at line 77 of file H5Annotate_traits_misc.hpp.
|
inline |
checks an attribute exists
Definition at line 109 of file H5Annotate_traits_misc.hpp.
|
inline |
list all attribute name of the node / group
Definition at line 88 of file H5Annotate_traits_misc.hpp.