LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "fwd.h"
Public Types | |
using | value_type = T |
using | const_pointer = T const * |
using | const_reference = T const & |
Public Member Functions | |
ProductPtr ()=default | |
template<typename H > | |
ProductPtr (H const &handle) | |
ProductPtr (ProductID const &productID, EDProductGetter const *prodGetter) | |
template<typename U > | |
ProductPtr (ProductPtr< U > const &pu, std::enable_if_t< std::is_base_of_v< T, U >> *=nullptr) | |
template<typename U > | |
ProductPtr (ProductPtr< U > const &pu, std::enable_if_t< std::is_base_of_v< U, T >> *=nullptr) | |
T const & | operator* () const |
T const * | get () const |
T const * | operator-> () const |
operator bool () const | |
RefCore const & | refCore () const noexcept |
ProductID | id () const noexcept |
EDProductGetter const * | productGetter () const noexcept |
bool | isAvailable () const |
bool | hasCache () const noexcept |
Static Public Member Functions | |
static constexpr short | Class_Version () noexcept |
Private Member Functions | |
T const * | product_ () const |
Private Attributes | |
RefCore | core_ {} |
using art::ProductPtr< T >::const_pointer = T const* |
Definition at line 50 of file ProductPtr.h.
using art::ProductPtr< T >::const_reference = T const& |
Definition at line 51 of file ProductPtr.h.
using art::ProductPtr< T >::value_type = T |
Definition at line 49 of file ProductPtr.h.
|
default |
|
inlineexplicit |
Definition at line 57 of file ProductPtr.h.
References art::ProductPtr< T >::core_, art::RefCore::id(), art::errors::InvalidReference, and art::RefCore::isNull().
|
inline |
Definition at line 70 of file ProductPtr.h.
|
inline |
Definition at line 76 of file ProductPtr.h.
|
inline |
Definition at line 84 of file ProductPtr.h.
|
inlinestaticnoexcept |
Definition at line 151 of file ProductPtr.h.
|
inline |
Definition at line 101 of file ProductPtr.h.
References art::ProductPtr< T >::core_, art::RefCore::isNull(), and art::ProductPtr< T >::operator->().
|
inlinenoexcept |
Definition at line 144 of file ProductPtr.h.
References art::ProductPtr< T >::core_, and art::RefCore::productPtr().
|
inlinenoexcept |
Definition at line 124 of file ProductPtr.h.
References art::ProductPtr< T >::core_, and art::RefCore::id().
Referenced by art::PtrRemapper::operator()(), and art::PtrRemapper::samePtrAs().
|
inline |
Definition at line 138 of file ProductPtr.h.
References art::ProductPtr< T >::core_, and art::RefCore::isAvailable().
|
inlineexplicit |
Definition at line 115 of file ProductPtr.h.
References art::ProductPtr< T >::core_, and art::RefCore::isAvailable().
|
inline |
Definition at line 94 of file ProductPtr.h.
|
inline |
Definition at line 107 of file ProductPtr.h.
References art::ProductPtr< T >::core_, art::ProductPtr< T >::product_(), art::RefCore::productPtr(), and art::RefCore::setProductPtr().
Referenced by art::ProductPtr< T >::get().
|
inlineprivate |
Definition at line 158 of file ProductPtr.h.
References art::ProductPtr< T >::core_, e, art::EDProductGetter::getIt(), art::RefCore::id(), art::ProductPtr< T >::productGetter(), and art::errors::ProductNotFound.
Referenced by art::ProductPtr< T >::operator->().
|
inlinenoexcept |
Definition at line 130 of file ProductPtr.h.
References art::ProductPtr< T >::core_, and art::RefCore::productGetter().
Referenced by art::ProductPtr< T >::product_().
|
inlinenoexcept |
Definition at line 118 of file ProductPtr.h.
References art::ProductPtr< T >::core_.
Referenced by art::operator<().
|
private |
Definition at line 190 of file ProductPtr.h.
Referenced by art::ProductPtr< T >::get(), art::ProductPtr< T >::hasCache(), art::ProductPtr< T >::id(), art::ProductPtr< T >::isAvailable(), art::ProductPtr< T >::operator bool(), art::ProductPtr< T >::operator->(), art::ProductPtr< T >::product_(), art::ProductPtr< T >::productGetter(), art::ProductPtr< T >::ProductPtr(), and art::ProductPtr< T >::refCore().