Function amici::hdf5::attributeExists(H5::H5Object const &object, const std::string &attributeName)

Function Documentation

bool amici::hdf5::attributeExists(H5::H5Object const &object, const std::string &attributeName)

Check whether an attribute with the given name exists on the given object.

Parameters
  • object – An HDF5 object

  • attributeName – Name of the attribute of interest

Returns

true if attribute exists, false otherwise