1 #ifndef DataFormats_Common_IndirectHolder_h
2 #define DataFormats_Common_IndirectHolder_h
44 virtual
size_t key()
const GCC11_OVERRIDE;
48 std::
string&
msg)
const GCC11_OVERRIDE;
101 template <
typename T>
107 template <
typename T>
114 template <
typename T>
118 return helper_->
template getPtr<T>();
121 template <
typename T>
125 return helper_->
id();
128 template <
typename T>
132 return helper_->key();
135 template <
typename T>
138 return helper_->productGetter();
141 template <
typename T>
149 template <
typename T>
154 return helper_->fillRefIfMyTypeMatches(fillme, msg);
157 template <
typename T>
159 return std::auto_ptr<RefHolderBase>( helper_->clone() );
163 template <
typename T>
177 namespace reftobase {
178 template <
typename T>
180 std::auto_ptr<RefVectorHolderBase>
p = helper_->makeVectorHolder();
181 std::shared_ptr<RefVectorHolderBase> sp( p.release() );
virtual bool fillRefIfMyTypeMatches(RefHolderBase &fillme, std::string &msg) const
virtual bool isTransient() const =0
virtual size_t key() const
virtual BaseHolder< T > * clone() const
virtual std::auto_ptr< BaseVectorHolder< T > > makeVectorHolder() const
virtual bool isAvailable() const =0
virtual bool isAvailable() const
virtual EDProductGetter const * productGetter() const
#define CMS_CLASS_VERSION(_version_)
IndirectHolder(std::unique_ptr< U > p)
IndirectHolder & operator=(IndirectHolder const &rhs)
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
virtual T const * getPtr() const
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
virtual ~IndirectHolder()
void swap(IndirectHolder &other)
virtual bool isTransient() const
virtual ProductID id() const
virtual bool isEqualTo(BaseHolder< T > const &rhs) const
virtual std::auto_ptr< RefHolderBase > holder() const
void swap(BaseHolder< T > &lhs, BaseHolder< T > &rhs)