Function get_dataset_name(std::string_view)

Function Documentation

std::string get_dataset_name(std::string_view path)

Extracts just the leaf name from a full HDF5 dataset path.

Parameters:

path – Full dataset path (e.g., /a/b/c).

Returns:

The base name (c).