Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
CommonTools
Utils
interface
PointerComparator.h
Go to the documentation of this file.
1
#ifndef CommonTools_Utils_PointerComparator_h
2
#define CommonTools_Utils_PointerComparator_h
3
14
#include "
FWCore/Utilities/interface/EDMException.h
"
15
16
template
<
typename
C>
17
struct
PointerComparator
{
18
typedef
typename
C::first_argument_type
first_argument_type
;
19
typedef
typename
C::second_argument_type
second_argument_type
;
20
bool
operator()
(
const
first_argument_type
*
t1
,
const
second_argument_type
*
t2
)
const
{
21
if
(
t1
==
nullptr
||
t2
==
nullptr
)
22
throw
edm::Exception
(
edm::errors::NullPointerError
) <<
"PointerComparator: passed null pointer."
;
23
return
cmp
(*
t1
, *
t2
);
24
}
25
C
cmp
;
26
};
27
28
#endif
PointerComparator::cmp
C cmp
Definition:
PointerComparator.h:25
Exception
Definition:
hltDiff.cc:245
RandomServiceHelper.t1
t1
Definition:
RandomServiceHelper.py:256
EDMException.h
correctionTermsCaloMet_cff.C
C
Definition:
correctionTermsCaloMet_cff.py:34
PointerComparator
Definition:
PointerComparator.h:17
PointerComparator::operator()
bool operator()(const first_argument_type *t1, const second_argument_type *t2) const
Definition:
PointerComparator.h:20
PointerComparator::first_argument_type
C::first_argument_type first_argument_type
Definition:
PointerComparator.h:18
PointerComparator::second_argument_type
C::second_argument_type second_argument_type
Definition:
PointerComparator.h:19
edm::errors::NullPointerError
Definition:
EDMException.h:40
RandomServiceHelper.t2
t2
Definition:
RandomServiceHelper.py:257
Generated for CMSSW Reference Manual by
1.8.14