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