1 #ifndef DataFormats_Common_RefHolder__h 2 #define DataFormats_Common_RefHolder__h 20 class RefHolder :
public RefHolderBase {
28 virtual ProductID
id()
const override;
29 virtual size_t key()
const override;
35 virtual std::unique_ptr<RefVectorHolderBase>
makeVectorHolder()
const override;
47 virtual
void const*
pointerToType(
std::type_info const& iToType) const override;
87 RefHolder const*
h(dynamic_cast<RefHolder const*>(&rhs));
88 return h && (
getRef() == h->getRef());
97 bool conversion_worked = (h != 0);
98 if (conversion_worked)
101 msg =
typeid(REF).
name();
102 return conversion_worked;
115 return ref_.productGetter();
138 if(iToType ==
typeid(contained_type)) {
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
virtual RefHolderBase * clone() const override
REF const & getRef() const
virtual std::unique_ptr< RefVectorHolderBase > makeVectorHolder() const override
#define CMS_CLASS_VERSION(_version_)
Container::value_type value_type
virtual void const * pointerToType(std::type_info const &iToType) const override
virtual EDProductGetter const * productGetter() const override
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
def template(fileName, svg, replaceme="REPLACEME")
virtual bool isAvailable() const override
void setRef(REF const &r)
virtual bool isEqualTo(RefHolderBase const &rhs) const override
virtual bool fillRefIfMyTypeMatches(RefHolderBase &fillme, std::string &msg) const override
virtual bool isTransient() const override
virtual ProductID id() const override
virtual size_t key() const override
void const * pointerToBase(std::type_info const &baseTypeInfo, T const *address)
void swap(RefHolder &other)