27 #include <pni/core/types.hpp>
54 bool has_attribute(
const object_imp &parent,
const pni::core::string &name);
70 void delete_attribute(
const object_imp &parent,
const pni::core::string &name);
90 const pni::core::string &name,
91 const h5datatype &type,
92 const h5dataspace &space,
object_imp get_attribute_by_name(const object_imp &parent, const pni::core::string &n)
open attribute by name
Definition: attribute_utils.cpp:108
size_t get_number_of_attributes(const object_imp &parent)
get number of attributes
Definition: attribute_utils.cpp:123
void delete_attribute(const object_imp &parent, const pni::core::string &name)
Deletes an attribute.
Definition: attribute_utils.cpp:59
Definition: cbf_reader.hpp:41
object_imp get_attribute_by_index(const object_imp &parent, size_t i)
open attribute by index
Definition: attribute_utils.cpp:140
bool has_attribute(const object_imp &parent, const pni::core::string &name)
checks for an attributes existence
Definition: attribute_utils.cpp:40
object_imp create_attribute(const object_imp &parent, const pni::core::string &name, const h5datatype &type, const h5dataspace &space, bool overwrite)
create a new attribute at parent
Definition: attribute_utils.cpp:77