LArSoft
v09_90_00
Liquid Argon Software toolkit - https://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 const * | getElementAddress (std::type_info const &toType, unsigned long index) const |
std::vector< void const * > | getElementAddresses (std::type_info const &toType, std::vector< unsigned long > const &indices) const |
product_typeids_t | getTypeIDs () 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) |
std::unique_ptr< EDProduct > | createEmptySampledProduct (InputTag const &tag) const |
void | insertIfSampledProduct (std::string const &dataset, SubRunID const &id, std::unique_ptr< EDProduct > product) |
Static Public Member Functions | |
static short | Class_Version () |
Private Member Functions | |
std::vector< void const * > | getView () const override |
std::string | productSize () const override |
product_typeids_t | do_getTypeIDs () const override |
std::unique_ptr< EDProduct > | do_makePartner (std::type_info const &wanted_type) const override |
unsigned | do_getRangeSetID () const override |
void | do_setRangeSetID (unsigned) override |
void | do_combine (EDProduct const *product) override |
std::unique_ptr< EDProduct > | do_createEmptySampledProduct (InputTag const &tag) const override |
void | do_insertIfSampledProduct (std::string const &dataset, SubRunID const &id, std::unique_ptr< EDProduct > product) override |
bool | isPresent_ () const override |
std::type_info const * | typeInfo_ () const override |
void const * | do_getElementAddress (std::type_info const &toType, unsigned long index) const override |
std::vector< void const * > | do_getElementAddresses (std::type_info const &toType, std::vector< unsigned long > const &indices) const override |
T && | refOrThrow (T *ptr) |
Private Attributes | |
bool | present {false} |
unsigned | rangeSetID {-1u} |
T | obj {} |
Friends | |
template<typename > | |
struct | prevent_recursion |
|
default |
|
explicit |
Definition at line 161 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().
|
inlineinherited |
Definition at line 85 of file EDProduct.h.
References art::EDProduct::do_createEmptySampledProduct().
|
overrideprivatevirtual |
Implements art::EDProduct.
Definition at line 207 of file Wrapper.h.
References art::detail::CanBeAggregated< T, Enable >::aggregate(), art::EDProduct::isPresent(), art::Wrapper< T >::obj, and art::Wrapper< T >::present.
|
overrideprivatevirtual |
Implements art::EDProduct.
Definition at line 307 of file Wrapper.h.
References art::prevent_recursion< T >::create_empty_sampled_product().
|
inlineoverrideprivatevirtual |
Implements art::EDProduct.
Definition at line 324 of file Wrapper.h.
References art::Wrapper< T >::obj, art::errors::ProductDoesNotSupportPtr, and art::setPtr().
|
inlineoverrideprivatevirtual |
Implements art::EDProduct.
Definition at line 344 of file Wrapper.h.
References art::getElementAddresses(), art::EDProduct::getElementAddresses(), art::Wrapper< T >::obj, and art::errors::ProductDoesNotSupportPtr.
|
overrideprivatevirtual |
Implements art::EDProduct.
Definition at line 229 of file Wrapper.h.
References art::Wrapper< T >::rangeSetID.
|
overrideprivatevirtual |
Implements art::EDProduct.
Definition at line 236 of file Wrapper.h.
References art::detail::ProductTypeIDs< T >::get().
|
overrideprivatevirtual |
Implements art::EDProduct.
Definition at line 314 of file Wrapper.h.
References art::prevent_recursion< T >::insert_if_sampled_product(), and art::Wrapper< T >::obj.
|
overrideprivatevirtual |
Implements art::EDProduct.
Definition at line 243 of file Wrapper.h.
References art::errors::LogicError, and art::Wrapper< T >::obj.
|
overrideprivatevirtual |
Implements art::EDProduct.
Definition at line 222 of file Wrapper.h.
References art::Wrapper< T >::rangeSetID.
|
inherited |
Definition at line 27 of file EDProduct.cc.
References art::EDProduct::do_getElementAddress().
Referenced by art::EDProduct::isPresent(), and art::Ptr< L >::operator->().
|
inherited |
Definition at line 34 of file EDProduct.cc.
References art::EDProduct::do_getElementAddresses().
Referenced by art::Wrapper< T >::do_getElementAddresses(), and art::EDProduct::isPresent().
|
inlineinherited |
Definition at line 67 of file EDProduct.h.
References art::EDProduct::do_getRangeSetID().
|
inlineinherited |
Definition at line 55 of file EDProduct.h.
References art::EDProduct::do_getTypeIDs().
|
overrideprivatevirtual |
Reimplemented from art::EDProduct.
Definition at line 188 of file Wrapper.h.
References art::CannotGetView< T >::get(), and art::Wrapper< T >::obj.
|
inlineinherited |
Definition at line 91 of file EDProduct.h.
References art::EDProduct::do_combine(), art::EDProduct::do_createEmptySampledProduct(), art::EDProduct::do_getElementAddress(), art::EDProduct::do_getElementAddresses(), art::EDProduct::do_getRangeSetID(), art::EDProduct::do_getTypeIDs(), art::EDProduct::do_insertIfSampledProduct(), art::EDProduct::do_makePartner(), art::EDProduct::do_setRangeSetID(), art::EDProduct::isPresent_(), and art::EDProduct::typeInfo_().
|
inlineinherited |
Definition at line 31 of file EDProduct.h.
References art::EDProduct::getElementAddress(), art::EDProduct::getElementAddresses(), art::EDProduct::getView(), geo::vect::indices(), art::EDProduct::isPresent_(), and art::EDProduct::typeInfo().
Referenced by art::Wrapper< T >::do_combine(), and art::FileDumperOutput::printPrincipal().
|
inlineoverrideprivatevirtual |
Implements art::EDProduct.
Definition at line 119 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().
T const * art::Wrapper< T >::operator-> | ( | ) | const |
T const * art::Wrapper< T >::product | ( | ) | const |
Definition at line 167 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 195 of file Wrapper.h.
References art::Wrapper< T >::obj, art::to_string(), and util::to_string().
|
inlineprivate |
Definition at line 366 of file Wrapper.h.
References art::errors::NullPointerError.
Referenced by art::Wrapper< T >::Wrapper().
|
inlineinherited |
Definition at line 73 of file EDProduct.h.
References art::EDProduct::do_setRangeSetID().
|
virtualinherited |
Definition at line 21 of file EDProduct.cc.
References art::EDProduct::typeInfo_().
Referenced by art::EDProduct::isPresent().
|
overrideprivatevirtual |
Implements art::EDProduct.
Definition at line 181 of file Wrapper.h.
References art::SupportsView< T, typename >::type_id().
|
private |
Definition at line 136 of file Wrapper.h.
Referenced by art::Wrapper< T >::do_combine(), art::Wrapper< T >::do_getElementAddress(), art::Wrapper< T >::do_getElementAddresses(), art::Wrapper< T >::do_insertIfSampledProduct(), art::Wrapper< T >::do_makePartner(), art::Wrapper< T >::getView(), art::Wrapper< T >::product(), art::Wrapper< T >::productSize(), and art::Wrapper< T >::Wrapper().
|
private |
Definition at line 134 of file Wrapper.h.
Referenced by art::Wrapper< T >::do_combine(), and art::Wrapper< T >::product().
|
private |
Definition at line 135 of file Wrapper.h.
Referenced by art::Wrapper< T >::do_getRangeSetID(), art::Wrapper< T >::do_setRangeSetID(), and art::Wrapper< T >::Wrapper().