forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ELseverityLevel.icc
85 lines (63 loc) · 2.51 KB
/
ELseverityLevel.icc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#ifndef ELSEVERITYLEVEL_ICC
#error ELseverityLevel.icc erroneously included by file other than ELseverityLevel.h
#endif
// ----------------------------------------------------------------------
//
// ELseverityLevel.icc
//
// ----------------------------------------------------------------------
namespace edm {
// ----------------------------------------------------------------------
// ELslProxy<> template class methods:
// ----------------------------------------------------------------------
template <ELslGen ELgen>
inline ELslProxy<ELgen>::ELslProxy() {
;
}
template <ELslGen ELgen>
inline ELslProxy<ELgen>::~ELslProxy() {
;
}
template <ELslGen ELgen>
inline ELslProxy<ELgen>::ELslProxy(ELslProxy const&) {
;
}
template <ELslGen ELgen>
inline ELslProxy<ELgen> const& ELslProxy<ELgen>::operator=(ELslProxy const&) {
return *this;
}
template <ELslGen ELgen>
inline ELslProxy<ELgen>::operator ELseverityLevel const() const {
return ELgen();
}
template <ELslGen ELgen>
inline int ELslProxy<ELgen>::getLevel() const {
return ELgen().getLevel();
}
template <ELslGen ELgen>
inline const std::string& ELslProxy<ELgen>::getSymbol() const {
return ELgen().getSymbol();
}
template <ELslGen ELgen>
inline const std::string& ELslProxy<ELgen>::getName() const {
return ELgen().getName();
}
template <ELslGen ELgen>
inline const std::string& ELslProxy<ELgen>::getInputStr() const {
return ELgen().getInputStr();
}
template <ELslGen ELgen>
inline const std::string& ELslProxy<ELgen>::getVarName() const {
return ELgen().getVarName();
}
// ----------------------------------------------------------------------
// Comparators:
// ----------------------------------------------------------------------
inline bool operator==(ELseverityLevel const& e1, ELseverityLevel const& e2) { return e1.cmp(e2) == 0; }
inline bool operator!=(ELseverityLevel const& e1, ELseverityLevel const& e2) { return e1.cmp(e2) != 0; }
inline bool operator<(ELseverityLevel const& e1, ELseverityLevel const& e2) { return e1.cmp(e2) < 0; }
inline bool operator<=(ELseverityLevel const& e1, ELseverityLevel const& e2) { return e1.cmp(e2) <= 0; }
inline bool operator>(ELseverityLevel const& e1, ELseverityLevel const& e2) { return e1.cmp(e2) > 0; }
inline bool operator>=(ELseverityLevel const& e1, ELseverityLevel const& e2) { return e1.cmp(e2) >= 0; }
// ----------------------------------------------------------------------
} // end of namespace edm