Main Page
Namespaces
Classes
Package Documentation
DataFormats
Common
interface
CloneTrait.h
Go to the documentation of this file.
1
#ifndef DataFormats_Common_CloneTrait_h
2
#define DataFormats_Common_CloneTrait_h
3
#include "
DataFormats/Common/interface/CopyPolicy.h
"
4
#include "
DataFormats/Common/interface/OwnVector.h
"
5
#include "
DataFormats/Common/interface/View.h
"
6
#include "
DataFormats/Common/interface/RefToBaseVector.h
"
7
#include <vector>
8
9
namespace
edm
{
10
namespace
clonehelper {
11
template
<
typename
T>
12
struct
CloneTrait
;
13
14
template
<
typename
T>
15
struct
CloneTrait
<
std
::vector<T> > {
16
typedef
CopyPolicy<T>
type
;
17
};
18
19
template
<
typename
T>
20
struct
CloneTrait
<
edm
::
OwnVector
<T> > {
21
typedef
ClonePolicy<T>
type
;
22
};
23
24
template
<
typename
T>
25
struct
CloneTrait
<
edm
::
View
<T> > {
26
typedef
ClonePolicy<T>
type
;
27
};
28
29
template
<
typename
T>
30
struct
CloneTrait
<
edm
::
RefToBaseVector
<T> > {
31
typedef
CopyPolicy<RefToBase<T>
>
type
;
32
};
33
34
}
// namespace clonehelper
35
}
// namespace edm
36
37
#endif
CopyPolicy.h
edm::clonehelper::CloneTrait< edm::RefToBaseVector< T > >::type
CopyPolicy< RefToBase< T > > type
Definition:
CloneTrait.h:31
edm::clonehelper::CloneTrait< std::vector< T > >::type
CopyPolicy< T > type
Definition:
CloneTrait.h:16
std
Definition:
JetResolutionObject.h:76
edm::clonehelper::CloneTrait
Definition:
CloneTrait.h:12
edm::OwnVector
Definition:
OwnVector.h:24
edm::View
Definition:
CaloClusterFwd.h:14
RefToBaseVector.h
View.h
edm::RefToBaseVector
Definition:
EDProductfwd.h:29
edm::clonehelper::CloneTrait< edm::View< T > >::type
ClonePolicy< T > type
Definition:
CloneTrait.h:26
edm::ClonePolicy
Definition:
ClonePolicy.h:6
edm::clonehelper::CloneTrait< edm::OwnVector< T > >::type
ClonePolicy< T > type
Definition:
CloneTrait.h:21
OwnVector.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::CopyPolicy
Definition:
CopyPolicy.h:6
Generated for CMSSW Reference Manual by
1.8.11