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
FWCore
Framework
interface
FunctorESHandleExceptionFactory.h
Go to the documentation of this file.
1
#ifndef FWCore_Framework_FunctorESHandleExceptionFactory_h
2
#define FWCore_Framework_FunctorESHandleExceptionFactory_h
3
// -*- C++ -*-
4
//
5
// Package: FWCore/Framework
6
// Class : FunctorESHandleExceptionFactory
7
//
16
//
17
// Original Author: W. David Dagenhart
18
// Created: 1 May 2014
19
//
20
21
#include "
FWCore/Framework/interface/ESHandleExceptionFactory.h
"
22
23
#include <exception>
24
#include <memory>
25
#include <utility>
26
27
namespace
edm
{
28
29
template
<
typename
T>
30
class
FunctorESHandleExceptionFactory
:
public
ESHandleExceptionFactory
{
31
public
:
32
FunctorESHandleExceptionFactory
(
T
&& iFunctor) :
m_functor
(
std
::
move
(iFunctor)) {}
33
34
std::exception_ptr
make
()
const override
{
return
m_functor
(); }
35
36
private
:
37
T
m_functor
;
38
};
39
40
template
<
typename
T>
41
std::shared_ptr<ESHandleExceptionFactory>
makeESHandleExceptionFactory
(
T
&& iFunctor) {
42
return
std::make_shared<FunctorESHandleExceptionFactory<T>>(
std::move
(iFunctor));
43
}
44
}
// namespace edm
45
#endif
std
Definition:
JetResolutionObject.h:76
edm::FunctorESHandleExceptionFactory::FunctorESHandleExceptionFactory
FunctorESHandleExceptionFactory(T &&iFunctor)
Definition:
FunctorESHandleExceptionFactory.h:32
edm::makeESHandleExceptionFactory
std::shared_ptr< ESHandleExceptionFactory > makeESHandleExceptionFactory(T &&iFunctor)
Definition:
FunctorESHandleExceptionFactory.h:41
edm::FunctorESHandleExceptionFactory::make
std::exception_ptr make() const override
Definition:
FunctorESHandleExceptionFactory.h:34
edm::FunctorESHandleExceptionFactory
Definition:
FunctorESHandleExceptionFactory.h:30
edm
HLT enums.
Definition:
AlignableModifier.h:19
ESHandleExceptionFactory.h
T
long double T
Definition:
Basic3DVectorLD.h:48
edm::FunctorESHandleExceptionFactory::m_functor
T m_functor
Definition:
FunctorESHandleExceptionFactory.h:37
edm::ESHandleExceptionFactory
Definition:
ESHandleExceptionFactory.h:31
eostools.move
def move(src, dest)
Definition:
eostools.py:511
Generated for CMSSW Reference Manual by
1.8.14