CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ELextendedID.cc
Go to the documentation of this file.
1 // ----------------------------------------------------------------------
2 //
3 // ELextendedID.cc is used as a key in maps for both counting toward
4 // limits on how many times a destination will react
5 // to a type of message, and for statistics.
6 //
7 // 07-Jul-1998 mf Created file.
8 // 26-Aug-1998 WEB Updated with ELseverityLevel in place of int.
9 //
10 // ----------------------------------------------------------------------
11 
12 
14 
15 
16 namespace edm
17 {
18 
19 
20 // ----------------------------------------------------------------------
21 // Comparator:
22 // ----------------------------------------------------------------------
23 
24 bool ELextendedID::operator<( const ELextendedID & xid ) const {
25 
26  return
27  ( process < xid.process ) ? true
28  : ( process > xid.process ) ? false
29 
30  : ( severity < xid.severity ) ? true
31  : ( severity > xid.severity ) ? false
32 
33  : ( id < xid.id ) ? true
34  : ( id > xid.id ) ? false
35 
36  : ( module < xid.module ) ? true
37  : ( module > xid.module ) ? false
38 
39  : ( subroutine < xid.subroutine ) ? true
40  : ( subroutine > xid.subroutine ) ? false
41 
42  : false
43  ;
44 
45 } // ELextendedID::operator<()
46 
47 
48 // ----------------------------------------------------------------------
49 // (Re)initializer:
50 // ----------------------------------------------------------------------
51 
53 
54  process = "";
55  id = "";
57  module = "";
58  subroutine = "";
59 
60 } // clear()
61 
62 
63 // ----------------------------------------------------------------------
64 
65 } // end of namespace edm */
ELseverityLevel severity
Definition: ELextendedID.h:36
bool operator<(const ELextendedID &xid) const
Definition: ELextendedID.cc:24
ELslProxy< ELunspecifiedGen > const ELunspecified
ELstring subroutine
Definition: ELextendedID.h:38
Definition: vlib.h:209