1 #ifndef DataFormats_Common_IndirectHolder_h
2 #define DataFormats_Common_IndirectHolder_h
41 T const*
getPtr()
const override;
43 size_t key()
const override;
47 std::unique_ptr<RefHolderBase>
holder()
const override;
100 return helper_->template getPtr<T>();
103 template <
typename T>
105 return helper_->
id();
108 template <
typename T>
110 return helper_->key();
113 template <
typename T>
115 return helper_->productGetter();
118 template <
typename T>
124 template <
typename T>
126 return helper_->fillRefIfMyTypeMatches(fillme, msg);
129 template <
typename T>
131 return std::unique_ptr<RefHolderBase>(helper_->clone());
135 template <
typename T>
147 namespace reftobase {
148 template <
typename T>
150 std::unique_ptr<RefVectorHolderBase>
p = helper_->makeVectorHolder();
151 std::shared_ptr<RefVectorHolderBase> sp(p.release());
std::unique_ptr< RefHolderBase > holder() const override
bool isAvailable() const override
virtual bool isTransient() const =0
bool isTransient() const override
bool fillRefIfMyTypeMatches(RefHolderBase &fillme, std::string &msg) const override
T const * getPtr() const override
BaseHolder< T > * clone() const override
virtual bool isAvailable() const =0
#define CMS_CLASS_VERSION(_version_)
~IndirectHolder() override
IndirectHolder(std::unique_ptr< U > p)
size_t key() const override
IndirectHolder & operator=(IndirectHolder const &rhs)
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
ProductID id() const override
EDProductGetter const * productGetter() const override
bool isEqualTo(BaseHolder< T > const &rhs) const override
void swap(IndirectHolder &other)
std::unique_ptr< BaseVectorHolder< T > > makeVectorHolder() const override
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
void swap(BaseHolder< T > &lhs, BaseHolder< T > &rhs)