10 namespace exception_actions {
13 std::array<char const*, LastCode>
table{};
19 return static_cast<unsigned int>(code) < tab.size() ? tab[code] :
"UnknownAction";
29 typedef std::vector<std::string>
vstring;
43 for (
auto const&
v :
opts.getUntrackedParameter<std::vector<std::string>>(
actionName(code))) {
62 ActionMap::const_iterator
ib(
map_.begin()), ie(
map_.end());
63 for (;
ib != ie; ++
ib) {
void add(const std::string &category, exception_actions::ActionCodes code)
exception_actions::ActionCodes find(const std::string &category) const
std::map< std::string, exception_actions::ActionCodes > ActionMap
std::vector< std::string > vstring
~ExceptionToActionTable()
const char * actionName(ActionCodes code)