10 namespace exception_actions {
20 typedef std::vector<char const*>
Table;
26 static ActionNames tab;
27 return static_cast<unsigned int>(code) < tab.table_.size() ? tab.table_[code] :
"UnknownAction";
39 typedef std::vector<std::string>
vstring;
75 ActionMap::const_iterator
ib(
map_.begin()),ie(
map_.end());
76 for(;
ib != ie; ++
ib) {
91 ActionMap::const_iterator
i(
map_.find(category));
T getUntrackedParameter(std::string const &, T const &) const
exception_actions::ActionCodes find(const std::string &category) const
ParameterSet getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
void add(const std::string &category, exception_actions::ActionCodes code)
const char * actionName(ActionCodes code)
std::map< std::string, exception_actions::ActionCodes > ActionMap
std::vector< std::string > vstring
~ExceptionToActionTable()