9 std::string
const& searched_for_key)
18 std::string
const& searched_for_key)
36 std::string
const& searched_for_key)
38 if (searched_for_key.empty()) {
40 <<
"The specified searched-for key is empty.\n";
46 <<
"Attempt to search for '" << searched_for_key
47 <<
"' as supported by a\n" 48 <<
"parameter that is not a table or sequence.\n";
53 std::string
const appending_character{
is_table(
pt) ?
"." :
""};
54 std::string absolute_key{pb.
key()};
55 absolute_key += appending_character;
56 absolute_key += searched_for_key;
static std::string form_absolute(ParameterBase const &pb, std::string const &searched_for_key)
par_type parameter_type() const
std::string const & key() const
bool before_action(ParameterBase const &pb) override
SearchAllowedConfiguration(ParameterBase const &pb, std::string const &searched_for_key)
bool is_table(std::any const &val)
static bool supports_key(ParameterBase const &pb, std::string const &searched_for_key)
cet::coded_exception< error, detail::translate > exception
bool is_sequence(std::any const &val)