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.
- Return
true
if attribute exists,false
otherwise- Parameters
file
: The HDF5 file objectoptionsObject
: Dataset of which attributes should be checkedattributeName
: Name of the attribute of interest