1 #ifndef DataFormats_Common_RefHolder__h
2 #define DataFormats_Common_RefHolder__h
21 class RefHolder :
public RefHolderBase {
30 virtual
size_t key()
const GCC11_OVERRIDE;
33 std::
string&
msg)
const GCC11_OVERRIDE;
36 virtual std::auto_ptr<RefVectorHolderBase>
makeVectorHolder() const GCC11_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)
REF const & getRef() const
virtual void const * pointerToType(std::type_info const &iToType) const
virtual ProductID id() const
virtual bool isTransient() const
virtual RefHolderBase * clone() const
#define CMS_CLASS_VERSION(_version_)
virtual bool isAvailable() const
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Container::value_type value_type
virtual EDProductGetter const * productGetter() const
virtual bool fillRefIfMyTypeMatches(RefHolderBase &fillme, std::string &msg) const
virtual std::auto_ptr< RefVectorHolderBase > makeVectorHolder() const
void setRef(REF const &r)
virtual bool isEqualTo(RefHolderBase const &rhs) const
virtual size_t key() const
void const * pointerToBase(std::type_info const &baseTypeInfo, T const *address)
void swap(RefHolder &other)