Function lvr2::hdf5util::exist(const std::shared_ptr<HighFive::File>&, const std::string&)

Function Documentation

bool lvr2::hdf5util::exist(const std::shared_ptr<HighFive::File> &hdf5_file, const std::string &groupName)

Checks if a certain group name exists in a file.

Parameters:
  • hdf5_file – file

  • groupName – name of the group as std::string. Can be nested group “groupA/groupB/groupC”.

Returns:

true If group exists

Returns:

false If group doesnt exist