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

Function Documentation

bool amici::hdf5::attributeExists(H5::H5Object const &object, std::string const &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