Enumerations | Functions
art::actions Namespace Reference

Enumerations

enum  ActionCodes {
  IgnoreCompletely = 0, Rethrow, SkipEvent, FailModule,
  FailPath, LastCode
}
 

Functions

char const * actionName (ActionCodes code)
 

Enumeration Type Documentation

Enumerator
IgnoreCompletely 
Rethrow 
SkipEvent 
FailModule 
FailPath 
LastCode 

Definition at line 8 of file ActionCodes.h.

Function Documentation

char const * art::actions::actionName ( ActionCodes  code)

Definition at line 16 of file Actions.cc.

17  {
18  vector<const char*> names{
19  "IgnoreCompletely", "Rethrow", "SkipEvent", "FailModule", "FailPath"};
20  return (static_cast<size_t>(code) < names.size()) ? names[code] :
21  "UnknownAction";
22  }
CodeOutputInterface * code
static std::vector< std::string > const names
Definition: FragmentType.hh:8