Function amici::hdf5::attributeExists(H5::H5File const&, std::string const&, std::string const&)
Defined in File hdf5.h
Function Documentation
-
bool amici::hdf5::attributeExists(H5::H5File const &file, std::string const &optionsObject, std::string const &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