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  ( severity < xid.severity ) ? true
28  : ( severity > xid.severity ) ? false
29 
30  : ( id < xid.id ) ? true
31  : ( id > xid.id ) ? false
32 
33  : ( module < xid.module ) ? true
34  : ( module > xid.module ) ? false
35 
36  : ( subroutine < xid.subroutine ) ? true
37  : ( subroutine > xid.subroutine ) ? false
38 
39  : false
40  ;
41 
42 } // ELextendedID::operator<()
43 
44 
45 // ----------------------------------------------------------------------
46 // (Re)initializer:
47 // ----------------------------------------------------------------------
48 
50 
51  id = "";
53  module = "";
54  subroutine = "";
55 
56 } // clear()
57 
58 
59 // ----------------------------------------------------------------------
60 
61 } // end of namespace edm */
ELseverityLevel severity
Definition: ELextendedID.h:35
bool operator<(const ELextendedID &xid) const
Definition: ELextendedID.cc:24
ELslProxy< ELunspecifiedGen > const ELunspecified
ELstring subroutine
Definition: ELextendedID.h:37
Definition: vlib.h:208