1 #ifndef DataFormats_Common_RefHolder__h
2 #define DataFormats_Common_RefHolder__h
21 class RefHolder :
public RefHolderBase {
29 virtual ProductID
id()
const override;
30 virtual size_t key()
const override;
36 virtual std::auto_ptr<RefVectorHolderBase>
makeVectorHolder()
const override;
88 RefHolder const*
h(dynamic_cast<RefHolder const*>(&rhs));
89 return h && (
getRef() == h->getRef());
98 bool conversion_worked = (h != 0);
99 if (conversion_worked)
102 msg =
typeid(REF).
name();
103 return conversion_worked;
116 return ref_.productGetter();
139 if(iToType ==
typeid(contained_type)) {
helper::MatcherGetRef< C >::ref_type getRef(const Handle< C > &c, size_t k)
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
virtual void const * pointerToType(std::type_info const &iToType) const override
REF const & getRef() const
virtual bool isTransient() const override
#define CMS_CLASS_VERSION(_version_)
Container::value_type value_type
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
virtual bool isAvailable() const override
virtual ProductID id() const override
virtual RefHolderBase * clone() const override
virtual bool fillRefIfMyTypeMatches(RefHolderBase &fillme, std::string &msg) const override
void setRef(REF const &r)
virtual std::auto_ptr< RefVectorHolderBase > makeVectorHolder() const override
virtual EDProductGetter const * productGetter() const override
virtual bool isEqualTo(RefHolderBase const &rhs) const override
void const * pointerToBase(std::type_info const &baseTypeInfo, T const *address)
void swap(RefHolder &other)
virtual size_t key() const override