13 #include "oops/util/Logger.h"
21 profileIndices_(profileIndices),
22 profileDataHandler_(profileDataHandler),
23 profileCheckValidator_(profileCheckValidator)
29 throw eckit::BadParameter(name +
" already registered in ufo::ProfileCheckFactory.", Here());
33 std::unique_ptr<ProfileCheckBase>
40 oops::Log::trace() <<
"ProfileCheckBase::create starting" << std::endl;
41 typename std::map<std::string, ProfileCheckFactory*>::iterator jloc =
44 std::string makerNameList;
45 for (
const auto& makerDetails :
getMakers()) makerNameList +=
"\n " + makerDetails.first;
46 throw eckit::BadParameter(name +
" does not exist in ufo::ProfileCheckFactory. "
47 "Possible values:" + makerNameList, Here());
49 std::unique_ptr<ProfileCheckBase> ptr = jloc->second->make(options,
52 profileCheckValidator);
53 oops::Log::trace() <<
"ProfileCheckBase::create done" << std::endl;