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
) ?
true
22
: (
severity
> xid.
severity
) ?
false
23
24
: (
id
< xid.
id
) ?
true
25
: (
id
> xid.
id
) ?
false
26
27
: (
module
< xid.
module
) ?
true
28
: (
module
> xid.
module
) ?
false
29
30
: (
subroutine
< xid.
subroutine
) ?
true
31
: (
subroutine
> xid.
subroutine
) ?
false
32
33
:
false
;
34
35
}
// ELextendedID::operator<()
36
37
// ----------------------------------------------------------------------
38
// (Re)initializer:
39
// ----------------------------------------------------------------------
40
41
void
ELextendedID::clear
() {
42
id
=
""
;
43
severity
=
messagelogger::ELunspecified
;
44
module
=
""
;
45
subroutine
=
""
;
46
47
}
// clear()
48
49
// ----------------------------------------------------------------------
50
51
}
// end of namespace edm */
edm::ELextendedID::module
std::string module
Definition:
ELextendedID.h:31
ELextendedID.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ELextendedID
Definition:
ELextendedID.h:25
edm::ELextendedID::operator<
bool operator<(const ELextendedID &xid) const
Definition:
ELextendedID.cc:20
edm::ELextendedID::severity
messagelogger::ELseverityLevel severity
Definition:
ELextendedID.h:30
funct::true
true
Definition:
Factorize.h:173
edm::messagelogger::ELunspecified
constexpr const ELseverityLevel ELunspecified
Definition:
ELseverityLevel.h:94
edm::ELextendedID::clear
void clear()
Definition:
ELextendedID.cc:41
edm::ELextendedID::id
std::string id
Definition:
ELextendedID.h:29
edm::ELextendedID::subroutine
std::string subroutine
Definition:
ELextendedID.h:32
Generated for CMSSW Reference Manual by
1.8.16