Function utils::writeStringArrayAttr
Defined in File HDF5Utils.hpp
Function Documentation
-
void utils::writeStringArrayAttr(hid_t loc, const std::string &name, const std::vector<std::string> &values)
Write a 1D array-of-strings attribute on an HDF5 object.
- Parameters:
loc – Handle to the object (a group, dataset, or file) to attach the attribute to
name – Name of the attribute
values – Values of the attribute
- Throws:
std::runtime_error – if the attribute cannot be created