Main Page
Namespaces
Classes
Package Documentation
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
#include "
FWCore/MessageLogger/interface/ELextendedID.h
"
13
14
namespace
edm
{
15
16
// ----------------------------------------------------------------------
17
// Comparator:
18
// ----------------------------------------------------------------------
19
20
bool
ELextendedID::operator<
(
const
ELextendedID
& xid)
const
{
21
return
(
severity
< xid.
severity
)
22
?
true
23
: (
severity
> xid.
severity
)
24
?
false
25
26
: (
id
< xid.
id
)
27
?
true
28
: (
id
> xid.
id
) ?
false
29
30
: (
module
< xid.
module
)
31
?
true
32
: (
module
> xid.
module
) ?
false
33
34
: (
subroutine
< xid.
subroutine
)
35
?
true
36
: (
subroutine
> xid.
subroutine
) ?
false
37
38
:
false
;
39
40
}
// ELextendedID::operator<()
41
42
// ----------------------------------------------------------------------
43
// (Re)initializer:
44
// ----------------------------------------------------------------------
45
46
void
ELextendedID::clear
() {
47
id
=
""
;
48
severity
=
ELunspecified
;
49
module
=
""
;
50
subroutine
=
""
;
51
52
}
// clear()
53
54
// ----------------------------------------------------------------------
55
56
}
// end of namespace edm */
edm::ELextendedID::severity
ELseverityLevel severity
Definition:
ELextendedID.h:29
edm::ELextendedID::operator<
bool operator<(const ELextendedID &xid) const
Definition:
ELextendedID.cc:20
edm::ELunspecified
ELslProxy< ELunspecifiedGen > const ELunspecified
Definition:
ELseverityLevel.cc:314
edm::ELextendedID
Definition:
ELextendedID.h:24
edm::ELextendedID::subroutine
ELstring subroutine
Definition:
ELextendedID.h:31
ELextendedID.h
edm::ELextendedID::id
ELstring id
Definition:
ELextendedID.h:28
edm::ELextendedID::clear
void clear()
Definition:
ELextendedID.cc:46
edm
HLT enums.
Definition:
AlignableModifier.h:17
module
Definition:
vlib.h:208
edm::ELextendedID::module
ELstring module
Definition:
ELextendedID.h:30
Generated for CMSSW Reference Manual by
1.8.11