1 #ifndef DataFormats_Common_RefHolder__h 2 #define DataFormats_Common_RefHolder__h 20 class RefHolder :
public RefHolderBase {
28 ProductID
id()
const override;
29 size_t key()
const override;
87 RefHolder const*
h(dynamic_cast<RefHolder const*>(&rhs));
88 return h && (
getRef() == h->getRef());
97 bool conversion_worked = (h !=
nullptr);
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.
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)