1 #ifndef DataFormats_Common_RefHolder__h 2 #define DataFormats_Common_RefHolder__h 19 class RefHolder :
public RefHolderBase {
27 ProductID
id()
const override;
28 size_t key()
const override;
74 RefHolder const*
h(dynamic_cast<RefHolder const*>(&rhs));
75 return h && (
getRef() == h->getRef());
81 bool conversion_worked = (h !=
nullptr);
82 if (conversion_worked)
85 msg =
typeid(REF).
name();
86 return conversion_worked;
96 return ref_.productGetter();
112 if (iToType ==
typeid(contained_type)) {
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
bool isAvailable() const override
RefHolderBase * clone() const override
REF const & getRef() const
std::unique_ptr< RefVectorHolderBase > makeVectorHolder() const override
#define CMS_CLASS_VERSION(_version_)
Container::value_type value_type
void const * pointerToType(std::type_info const &iToType) const override
EDProductGetter const * productGetter() const override
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
def template(fileName, svg, replaceme="REPLACEME")
bool isTransient() const override
void setRef(REF const &r)
bool isEqualTo(RefHolderBase const &rhs) const override
bool fillRefIfMyTypeMatches(RefHolderBase &fillme, std::string &msg) const override
ProductID id() const override
size_t key() const override
void const * pointerToBase(std::type_info const &baseTypeInfo, T const *address)
void swap(RefHolder &other)