1 #ifndef DataFormats_Common_RefHolder__h
2 #define DataFormats_Common_RefHolder__h
20 class RefHolder :
public RefHolderBase {
29 virtual
size_t key()
const GCC11_OVERRIDE;
32 std::
string&
msg)
const GCC11_OVERRIDE;
35 virtual std::auto_ptr<RefVectorHolderBase>
makeVectorHolder() const GCC11_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();
139 static TypeWithDict const s_type(
typeid(contained_type));
helper::MatcherGetRef< C >::ref_type getRef(const Handle< C > &c, size_t k)
void const * pointerToBaseType(void const *ptr, TypeWithDict const &derivedType) const
REF const & getRef() 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
virtual void const * pointerToType(TypeWithDict const &iToType) const
void swap(RefHolder &other)