Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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>
struct
CloneTrait
;
12
13
template
<
typename
T>
14
struct
CloneTrait
<std::vector<T> > {
15
typedef
CopyPolicy<T>
type
;
16
};
17
18
template
<
typename
T>
19
struct
CloneTrait
<edm::
OwnVector
<T> > {
20
typedef
ClonePolicy<T>
type
;
21
};
22
23
template
<
typename
T>
24
struct
CloneTrait
<edm::
View
<T> > {
25
typedef
ClonePolicy<T>
type
;
26
};
27
28
template
<
typename
T>
29
struct
CloneTrait
<edm::
RefToBaseVector
<T> > {
30
typedef
CopyPolicy<RefToBase<T>
>
type
;
31
};
32
33
}
34
}
35
36
#endif
CopyPolicy.h
edm::clonehelper::CloneTrait< edm::RefToBaseVector< T > >::type
CopyPolicy< RefToBase< T > > type
Definition:
CloneTrait.h:30
edm::clonehelper::CloneTrait< std::vector< T > >::type
CopyPolicy< T > type
Definition:
CloneTrait.h:15
edm::clonehelper::CloneTrait
Definition:
CloneTrait.h:11
edm::OwnVector
Definition:
OwnVector.h:25
edm::View
Definition:
AssociativeIterator.h:46
RefToBaseVector.h
View.h
edm::RefToBaseVector
Definition:
EDProductfwd.h:25
edm::clonehelper::CloneTrait< edm::View< T > >::type
ClonePolicy< T > type
Definition:
CloneTrait.h:25
edm::ClonePolicy
Definition:
ClonePolicy.h:6
edm::clonehelper::CloneTrait< edm::OwnVector< T > >::type
ClonePolicy< T > type
Definition:
CloneTrait.h:20
OwnVector.h
edm::CopyPolicy
Definition:
CopyPolicy.h:6
Generated for CMSSW Reference Manual by
1.8.5