CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Actions.h
Go to the documentation of this file.
1 #ifndef Framework_Actions_h
2 #define Framework_Actions_h
3 
5 
6 #include <string>
7 #include <map>
8 
9 namespace edm {
10  namespace actions {
11  enum ActionCodes {
17  };
18 
19  const char* actionName(ActionCodes code);
20  }
21 
22  class ActionTable {
23  public:
24  typedef std::map<std::string, actions::ActionCodes> ActionMap;
25 
26  ActionTable();
27  explicit ActionTable(const ParameterSet&);
28  ~ActionTable();
29 
30  void add(const std::string& category, actions::ActionCodes code);
32 
33  private:
34  void addDefaults();
36  };
37 }
38 #endif
void add(const std::string &category, actions::ActionCodes code)
Definition: Actions.cc:89
const char * actionName(ActionCodes code)
Definition: Actions.cc:26
ActionMap map_
Definition: Actions.h:35
roAction_t actions[nactions]
Definition: GenABIO.cc:200
std::map< std::string, actions::ActionCodes > ActionMap
Definition: Actions.h:24
void addDefaults()
Definition: Actions.cc:72
actions::ActionCodes find(const std::string &category) const
Definition: Actions.cc:93