#include <WrapperOwningHolder.h>
Classes | |
struct | EDProductDeleter |
Public Member Functions | |
boost::shared_ptr< void const > | makeWrapper (void const *wrapper, WrapperInterfaceBase const *interface) |
boost::shared_ptr< void const > | product () const |
void | reset () |
WrapperOwningHolder (void const *wrapper, WrapperInterfaceBase const *interface) | |
WrapperOwningHolder () | |
WrapperOwningHolder (boost::shared_ptr< void const > wrapper, WrapperInterfaceBase const *interface) | |
Private Attributes | |
boost::shared_ptr< void const > | wrapperOwner_ |
Definition at line 13 of file WrapperOwningHolder.h.
edm::WrapperOwningHolder::WrapperOwningHolder | ( | ) |
Definition at line 11 of file WrapperOwningHolder.cc.
: WrapperHolder(), wrapperOwner_() {}
edm::WrapperOwningHolder::WrapperOwningHolder | ( | void const * | wrapper, |
WrapperInterfaceBase const * | interface | ||
) |
Definition at line 17 of file WrapperOwningHolder.cc.
: WrapperHolder(wrapper, interface), wrapperOwner_(makeWrapper(wrapper, interface)) { }
edm::WrapperOwningHolder::WrapperOwningHolder | ( | boost::shared_ptr< void const > | wrapper, |
WrapperInterfaceBase const * | interface | ||
) |
Definition at line 13 of file WrapperOwningHolder.cc.
: WrapperHolder(wrapper.get(), interface), wrapperOwner_(wrapper) { }
boost::shared_ptr< void const > edm::WrapperOwningHolder::makeWrapper | ( | void const * | wrapper, |
WrapperInterfaceBase const * | interface | ||
) |
Definition at line 23 of file WrapperOwningHolder.cc.
boost::shared_ptr<void const> edm::WrapperOwningHolder::product | ( | ) | const [inline] |
Definition at line 43 of file WrapperOwningHolder.h.
References wrapperOwner_.
Referenced by edm::ProducedProductHolder::putProduct_(), and edm::InputProductHolder::setProduct().
{ return wrapperOwner_; }
void edm::WrapperOwningHolder::reset | ( | void | ) | [inline] |
Reimplemented from edm::WrapperHolder.
Definition at line 47 of file WrapperOwningHolder.h.
References wrapperOwner_.
Referenced by edm::principal_get_adapter_detail::deleter::operator()().
{ WrapperHolder::reset(); wrapperOwner_.reset(); }
boost::shared_ptr<void const> edm::WrapperOwningHolder::wrapperOwner_ [private] |
Definition at line 53 of file WrapperOwningHolder.h.