LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "RefCore.h"
Classes | |
struct | RefCoreTransients |
Public Member Functions | |
constexpr | RefCore ()=default |
RefCore (ProductID const &theId, void const *prodPtr, EDProductGetter const *prodGetter) | |
constexpr bool | isNonnull () const noexcept |
constexpr bool | isNull () const noexcept |
constexpr bool | operator! () const noexcept |
bool | isAvailable () const |
constexpr ProductID | id () const noexcept |
void const * | productPtr () const noexcept |
EDProductGetter const * | productGetter () const noexcept |
void | setProductPtr (void const *prodPtr) const noexcept |
void | setProductGetter (EDProductGetter const *) noexcept |
void | swap (RefCore &other) |
Private Attributes | |
ProductID | id_ {} |
RefCoreTransients | transients_ {} |
|
default |
art::RefCore::RefCore | ( | ProductID const & | theId, |
void const * | prodPtr, | ||
EDProductGetter const * | prodGetter | ||
) |
|
inlinenoexcept |
Definition at line 50 of file RefCore.h.
References id_, fhicl::other, productGetter(), productPtr(), setProductGetter(), setProductPtr(), and swap().
Referenced by art::ProductPtr< T >::id(), art::operator<<(), art::ProductPtr< T >::product_(), art::ProductPtr< T >::ProductPtr(), and art::PtrVectorBase::updateCore().
bool art::RefCore::isAvailable | ( | ) | const |
Definition at line 24 of file RefCore.cc.
References art::EDProductGetter::getIt(), id_, art::ProductID::isValid(), productGetter(), and productPtr().
Referenced by art::ProductPtr< T >::isAvailable(), art::ProductPtr< T >::operator bool(), and operator!().
|
inlinenoexcept |
Definition at line 28 of file RefCore.h.
References id_, and art::ProductID::isValid().
Referenced by art::PtrVectorBase::isNonnull(), and isNull().
|
inlinenoexcept |
Definition at line 33 of file RefCore.h.
References isNonnull().
Referenced by art::ProductPtr< T >::get(), operator!(), art::ProductPtr< T >::ProductPtr(), and art::PtrVectorBase::updateCore().
|
inlinenoexcept |
|
noexcept |
Definition at line 41 of file RefCore.cc.
References art::RefCore::RefCoreTransients::prodGetter_, and transients_.
Referenced by id(), isAvailable(), art::ProductPtr< T >::productGetter(), and art::PtrVectorBase::updateCore().
|
noexcept |
Definition at line 34 of file RefCore.cc.
References art::RefCore::RefCoreTransients::itemPtr_, and transients_.
Referenced by art::ProductPtr< T >::hasCache(), id(), isAvailable(), art::ProductPtr< T >::operator->(), and art::PtrVectorBase::updateCore().
|
noexcept |
Definition at line 57 of file RefCore.cc.
References art::RefCore::RefCoreTransients::prodGetter_, and transients_.
Referenced by id(), and art::PtrVectorBase::updateCore().
|
noexcept |
Definition at line 48 of file RefCore.cc.
References art::RefCore::RefCoreTransients::itemPtr_, and transients_.
Referenced by id(), art::ProductPtr< T >::operator->(), and art::PtrVectorBase::updateCore().
void art::RefCore::swap | ( | RefCore & | other | ) |
Definition at line 63 of file RefCore.cc.
References id_, art::swap(), and transients_.
Referenced by id(), art::operator<(), and art::swap().
|
private |
Definition at line 70 of file RefCore.h.
Referenced by id(), isAvailable(), isNonnull(), and swap().
|
private |
Definition at line 71 of file RefCore.h.
Referenced by productGetter(), productPtr(), RefCore(), setProductGetter(), setProductPtr(), and swap().