CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ProcessTypeEnumerator.h
Go to the documentation of this file.
1 #ifndef ProcessTypeEnumerator_H
2 #define ProcessTypeEnumerator_H
3 
4 #include<map>
5 #include<string>
11  public:
12  typedef std::map<std::string,unsigned int> MapType;
13  typedef std::map<unsigned int,std::string> ReverseMapType;
14 
16  unsigned int processId(std::string);
17  std::string processName(unsigned int);
18  unsigned int numberOfKnownProcesses();
19  private:
20  void buildReverseMap();
23 };
24 
25 #endif
26 
std::string processName(unsigned int)
std::map< unsigned int, std::string > ReverseMapType
unsigned int numberOfKnownProcesses()
std::map< std::string, unsigned int > MapType
ReverseMapType reverseMapProcesses
unsigned int processId(std::string)