21 std::vector<GeoLib::NamedRaster>
const& named_rasters)
28 [&name](
auto const& named_raster)
29 {
return name == named_raster.raster_name; },
30 "Could not find raster '" + name);
32 DBUG(
"Using the raster '{}' for the raster parameter.", name);
34 return std::make_unique<RasterParameter>(name, named_raster);
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
void checkConfigParameter(std::string const ¶m, std::string_view const value) const
OGS_NO_DANGLING Container::value_type const & getIfOrError(Container const &container, Predicate &&predicate, std::string const &error_message)
std::unique_ptr< ParameterBase > createRasterParameter(std::string const &name, BaseLib::ConfigTree const &config, std::vector< GeoLib::NamedRaster > const &named_rasters)