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
(
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
49
void
ELextendedID::clear
() {
50
51
id
=
""
;
52
severity
=
ELunspecified
;
53
module
=
""
;
54
subroutine
=
""
;
55
56
}
// clear()
57
58
59
// ----------------------------------------------------------------------
60
61
}
// end of namespace edm */
edm::ELextendedID::severity
ELseverityLevel severity
Definition:
ELextendedID.h:35
edm::ELextendedID::operator<
bool operator<(const ELextendedID &xid) const
Definition:
ELextendedID.cc:24
edm::ELunspecified
ELslProxy< ELunspecifiedGen > const ELunspecified
Definition:
ELseverityLevel.cc:288
edm::ELextendedID
Definition:
ELextendedID.h:28
edm::ELextendedID::subroutine
ELstring subroutine
Definition:
ELextendedID.h:37
ELextendedID.h
edm::ELextendedID::id
ELstring id
Definition:
ELextendedID.h:34
edm::ELextendedID::clear
void clear()
Definition:
ELextendedID.cc:49
module
Definition:
vlib.h:208
edm::ELextendedID::module
ELstring module
Definition:
ELextendedID.h:36
Generated for CMSSW Reference Manual by
1.8.5