LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "Handle.h"
Public Member Functions | |
Wrapper ()=default | |
Wrapper (std::unique_ptr< T > ptr) | |
virtual | ~Wrapper ()=default |
T const * | product () const |
T const * | operator-> () const |
bool | isPresent () const |
virtual std::type_info const * | typeInfo () const |
void | setPtr (std::type_info const &toType, unsigned long index, void const *&ptr) const |
void | getElementAddresses (std::type_info const &toType, std::vector< unsigned long > const &indices, std::vector< void const * > &ptr) const |
std::unique_ptr< EDProduct > | makePartner (std::type_info const &wanted_type) const |
unsigned | getRangeSetID () const |
void | setRangeSetID (unsigned const id) |
void | combine (EDProduct *p) |
Static Public Member Functions | |
static short | Class_Version () |
Private Member Functions | |
void | fillView (std::vector< void const * > &view) const override |
std::string | productSize () const override |
void | do_combine (EDProduct *product) override |
void | do_setRangeSetID (unsigned) override |
unsigned | do_getRangeSetID () const override |
std::unique_ptr< EDProduct > | do_makePartner (std::type_info const &wanted_type) const override |
bool | isPresent_ () const override |
std::type_info const * | typeInfo_ () const override |
void | do_setPtr (std::type_info const &toType, unsigned long index, void const *&ptr) const override |
void | do_getElementAddresses (std::type_info const &toType, std::vector< unsigned long > const &indices, std::vector< void const * > &ptr) const override |
T && | refOrThrow (T *ptr) |
Private Attributes | |
bool | present {false} |
unsigned | rangeSetID {-1u} |
T | obj {} |
|
default |
|
explicit |
Definition at line 155 of file Wrapper.h.
References art::Wrapper< T >::obj, art::Wrapper< T >::rangeSetID, and art::Wrapper< T >::refOrThrow().
|
virtualdefault |
|
inlinestatic |
|
inlineinherited |
Definition at line 79 of file EDProduct.h.
References art::EDProduct::do_combine(), art::EDProduct::do_getElementAddresses(), art::EDProduct::do_getRangeSetID(), art::EDProduct::do_makePartner(), art::EDProduct::do_setPtr(), art::EDProduct::do_setRangeSetID(), art::EDProduct::isPresent_(), and art::EDProduct::typeInfo_().
|
overrideprivatevirtual |
Implements art::EDProduct.
Definition at line 195 of file Wrapper.h.
References art::detail::CanBeAggregated< T, Enable >::aggregate(), art::EDProduct::isPresent(), art::Wrapper< T >::obj, and art::Wrapper< T >::present.
|
inlineoverrideprivatevirtual |
Implements art::EDProduct.
Definition at line 248 of file Wrapper.h.
References art::Wrapper< T >::obj, and fhicl::detail::atom::value().
|
overrideprivatevirtual |
Implements art::EDProduct.
Definition at line 217 of file Wrapper.h.
References art::Wrapper< T >::rangeSetID.
|
overrideprivatevirtual |
Implements art::EDProduct.
Definition at line 224 of file Wrapper.h.
References art::Wrapper< T >::obj, and fhicl::detail::atom::value().
|
inlineoverrideprivatevirtual |
Implements art::EDProduct.
Definition at line 237 of file Wrapper.h.
References art::Wrapper< T >::obj, and fhicl::detail::atom::value().
|
overrideprivatevirtual |
Implements art::EDProduct.
Definition at line 210 of file Wrapper.h.
References art::Wrapper< T >::rangeSetID.
|
overrideprivatevirtual |
Reimplemented from art::EDProduct.
Definition at line 181 of file Wrapper.h.
References art::CannotFillView< T >::fill(), and art::Wrapper< T >::obj.
|
inherited |
Definition at line 23 of file EDProduct.cc.
References art::EDProduct::do_getElementAddresses().
Referenced by art::DoSetPtr< T >::operator()(), and art::EDProduct::typeInfo().
|
inlineinherited |
Definition at line 67 of file EDProduct.h.
References art::EDProduct::do_getRangeSetID().
|
inlineinherited |
Definition at line 28 of file EDProduct.h.
References art::EDProduct::isPresent_().
Referenced by art::Wrapper< T >::do_combine(), and art::FileDumperOutput::printPrincipal().
|
inlineoverrideprivatevirtual |
Implements art::EDProduct.
Definition at line 109 of file Wrapper.h.
References geo::vect::indices(), and art::productstatus::present().
|
inlineinherited |
Definition at line 61 of file EDProduct.h.
References art::EDProduct::do_makePartner().
Referenced by art::AssnsGroup::makePartner().
T const * art::Wrapper< T >::operator-> | ( | ) | const |
T const * art::Wrapper< T >::product | ( | ) | const |
Definition at line 161 of file Wrapper.h.
References art::Wrapper< T >::obj, and art::Wrapper< T >::present.
Referenced by art::Wrapper< T >::operator->().
|
overrideprivatevirtual |
Reimplemented from art::EDProduct.
Definition at line 188 of file Wrapper.h.
References art::Wrapper< T >::obj.
|
inlineprivate |
Definition at line 260 of file Wrapper.h.
References art::errors::NullPointerError.
Referenced by art::Wrapper< T >::Wrapper().
|
inherited |
Definition at line 15 of file EDProduct.cc.
References art::EDProduct::do_setPtr().
Referenced by art::Ptr< T >::getData_(), art::DoSetPtr< T >::operator()(), and art::EDProduct::typeInfo().
|
inlineinherited |
Definition at line 73 of file EDProduct.h.
References art::EDProduct::do_setRangeSetID().
|
inlinevirtualinherited |
Definition at line 41 of file EDProduct.h.
References art::EDProduct::getElementAddresses(), geo::vect::indices(), art::EDProduct::setPtr(), and art::EDProduct::typeInfo_().
|
overrideprivatevirtual |
Implements art::EDProduct.
Definition at line 174 of file Wrapper.h.
References art::SupportsView< T, typename >::type_id().
|
private |
Definition at line 127 of file Wrapper.h.
Referenced by art::Wrapper< T >::do_combine(), art::Wrapper< T >::do_getElementAddresses(), art::Wrapper< T >::do_makePartner(), art::Wrapper< T >::do_setPtr(), art::Wrapper< T >::fillView(), art::DoNotMakePartner< T >::operator()(), art::Wrapper< T >::product(), art::Wrapper< T >::productSize(), and art::Wrapper< T >::Wrapper().
|
private |
Definition at line 125 of file Wrapper.h.
Referenced by art::Wrapper< T >::do_combine(), and art::Wrapper< T >::product().
|
private |
Definition at line 126 of file Wrapper.h.
Referenced by art::Wrapper< T >::do_getRangeSetID(), art::Wrapper< T >::do_setRangeSetID(), and art::Wrapper< T >::Wrapper().