Function amici::hdf5::locationExists(H5::H5File const&, std::string const&)

Function Documentation

bool amici::hdf5::locationExists(H5::H5File const &file, std::string const &location)

Check if the given location (group, link or dataset) exists in the given file.

Parameters:
  • file – HDF5 file object

  • location – Location to test for

Returns:

true if exists, false otherwise