Function amici::hdf5::attributeExists(H5::H5File const &file, const std::string &optionsObject, const std::string &attributeName)
Defined in File hdf5.h
Function Documentation
-
bool amici::hdf5::attributeExists(H5::H5File const &file, const std::string &optionsObject, const std::string &attributeName)
Check whether an attribute with the given name exists on the given dataset.
- Parameters
file – The HDF5 file object
optionsObject – Dataset of which attributes should be checked
attributeName – Name of the attribute of interest
- Returns
true
if attribute exists,false
otherwise