Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:39

0001 #ifndef MessageLogger_ELextendedID_h
0002 #define MessageLogger_ELextendedID_h
0003 
0004 // ----------------------------------------------------------------------
0005 //
0006 // ELextendedID.h   is used as a key in maps for both counting toward
0007 //          limits on how many times a destination will react
0008 //          to a type of message, and for statistics.
0009 //
0010 // 07-Jul-1998 mf   Created file.
0011 // 26-Aug-1998 WEB  Updated with ELseverityLevel in place of int.
0012 //
0013 // ----------------------------------------------------------------------
0014 
0015 #include "FWCore/MessageLogger/interface/ELseverityLevel.h"
0016 
0017 #include <string>
0018 
0019 namespace edm {
0020 
0021   // ----------------------------------------------------------------------
0022   // ELextendedID:
0023   // ----------------------------------------------------------------------
0024 
0025   class ELextendedID {
0026   public:
0027     // -----  Publicly accessible data members:
0028     //
0029     std::string id;
0030     messagelogger::ELseverityLevel severity;
0031     std::string module;
0032     std::string subroutine;
0033 
0034     // -----  Comparator:
0035     //
0036     bool operator<(const ELextendedID& xid) const;
0037 
0038     // -----  (Re)initializer:
0039     //
0040     void clear();
0041 
0042   };  // ELextendedID
0043 
0044   // ----------------------------------------------------------------------
0045 
0046 }  // end of namespace edm
0047 
0048 #endif  // MessageLogger_ELextendedID_h