Function get_datasets_in_group(std::string_view, std::string_view)

Function Documentation

std::vector<std::string> get_datasets_in_group(std::string_view filename, std::string_view group_name)

Lists all immediate datasets in an HDF5 group (non-recursive).

Only returns datasets directly under group_name, not nested in subgroups.

Parameters:
  • filename – Path to the HDF5 file.

  • group_name – Path to the group (e.g., “/dials/processing/group_0”).

Returns:

Vector of full dataset paths.