CMS 3D CMS Logo

RefHolder.h
Go to the documentation of this file.
1 #ifndef DataFormats_Common_RefHolder_h
2 #define DataFormats_Common_RefHolder_h
4 
9 #include <memory>
10 
11 namespace edm {
12  namespace reftobase {
13  template <class REF>
14  std::unique_ptr<RefVectorHolderBase> RefHolder<REF>::makeVectorHolder() const {
16  return helper::makeVectorHolder();
17  }
18  } // namespace reftobase
19 } // namespace edm
20 
22 
23 namespace edm {
24  namespace reftobase {
25  template <class REF>
26  size_t RefHolder<REF>::key() const {
27  typedef typename RefKeyTrait<REF>::type helper;
28  return helper::key(ref_);
29  }
30 
31  } // namespace reftobase
32 } // namespace edm
33 
34 #endif
edm::reftobase::InvalidRefHolderToRefVector
Definition: HolderToVectorTrait.h:31
edm::reftobase::RefKey
Definition: RefKeyTrait.h:10
edm::reftobase::RefHolder::makeVectorHolder
std::unique_ptr< RefVectorHolderBase > makeVectorHolder() const override
Definition: RefHolder.h:14
edm
HLT enums.
Definition: AlignableModifier.h:19
IndirectVectorHolder.h
RefVectorHolder.h
RefKeyTrait.h
RefVector.h
HolderToVectorTrait.h
helper
Definition: helper.py:1
edm::reftobase::RefHolder::key
size_t key() const override
Definition: RefHolder.h:26
RefHolder_.h
crabWrapper.key
key
Definition: crabWrapper.py:19