Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
FWCore
MessageLogger
src
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
13
#include "
FWCore/MessageLogger/interface/ELextendedID.h
"
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
52
void
ELextendedID::clear
() {
53
54
process
=
""
;
55
id
=
""
;
56
severity
=
ELunspecified
;
57
module
=
""
;
58
subroutine
=
""
;
59
60
}
// clear()
61
62
63
// ----------------------------------------------------------------------
64
65
}
// end of namespace edm */
edm::ELextendedID::severity
ELseverityLevel severity
Definition:
ELextendedID.h:36
edm::ELextendedID::process
ELstring process
Definition:
ELextendedID.h:34
edm::ELextendedID::operator<
bool operator<(const ELextendedID &xid) const
Definition:
ELextendedID.cc:24
edm::ELunspecified
ELslProxy< ELunspecifiedGen > const ELunspecified
Definition:
ELseverityLevel.cc:384
edm::ELextendedID
Definition:
ELextendedID.h:28
edm::ELextendedID::subroutine
ELstring subroutine
Definition:
ELextendedID.h:38
ELextendedID.h
edm::ELextendedID::id
ELstring id
Definition:
ELextendedID.h:35
edm::ELextendedID::clear
void clear()
Definition:
ELextendedID.cc:52
module
Definition:
vlib.h:209
edm::ELextendedID::module
ELstring module
Definition:
ELextendedID.h:37
Generated for CMSSW Reference Manual by
1.8.5