#include <PtrVectorBase.h>
Definition at line 19 of file PtrVectorBase.h.
virtual art::PtrVectorBase::~PtrVectorBase |
( |
| ) |
|
|
virtualdefault |
art::PtrVectorBase::PtrVectorBase |
( |
| ) |
|
|
protecteddefault |
void art::PtrVectorBase::clear |
( |
| ) |
|
|
inlineprotected |
virtual void art::PtrVectorBase::fill_from_offsets |
( |
indices_t const & |
indices | ) |
const |
|
privatepure virtual |
virtual void art::PtrVectorBase::fill_offsets |
( |
indices_t & |
indices | ) |
|
|
privatepure virtual |
void art::PtrVectorBase::fillPtrs |
( |
| ) |
const |
|
private |
Definition at line 5 of file PtrVectorBase.cc.
void swap(PtrVectorBase &)
std::vector< key_type > indices_t
void swap(Handle< T > &a, Handle< T > &b)
virtual void fill_from_offsets(indices_t const &indices) const =0
Definition at line 80 of file PtrVectorBase.h.
constexpr ProductID id() const noexcept
bool art::PtrVectorBase::isAvailable |
( |
| ) |
const |
|
inline |
bool art::PtrVectorBase::isNonnull |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 62 of file PtrVectorBase.h.
constexpr bool isNonnull() const noexcept
bool art::PtrVectorBase::isNull |
( |
| ) |
const |
|
inlinenoexcept |
template<typename T >
Ptr<T>::key_type art::PtrVectorBase::key |
( |
Ptr< T > const & |
ptr | ) |
const |
|
privatenoexcept |
Definition at line 86 of file PtrVectorBase.h.
EDProductGetter const * productGetter() const noexcept
void art::PtrVectorBase::reserve |
( |
size_type |
n | ) |
|
|
inlineprivate |
Definition at line 92 of file PtrVectorBase.h.
static constexpr double g
void setProductGetter(EDProductGetter const *) noexcept
void art::PtrVectorBase::updateCore |
( |
RefCore const & |
core | ) |
|
|
protected |
Definition at line 17 of file PtrVectorBase.cc.
19 if (productToBeInserted.isNull()) {
21 <<
"art::PtrVectorBase::updateCore: Ptr has invalid (zero) product ID,\n" 22 "so it cannot be added to a PtrVector. id should be (" 26 core_ = productToBeInserted;
29 if (
core_.
id() != productToBeInserted.id()) {
31 <<
"art::PtrVectorBase::updateCore: Ptr is inconsistent with\n" 33 << productToBeInserted.id() <<
"), should be (" <<
core_.
id() <<
")\n";
36 productToBeInserted.productGetter() !=
nullptr) {
40 productToBeInserted.productPtr() !=
nullptr) {
EDProductGetter const * productGetter() const noexcept
ProductID id() const noexcept
bool isNull() const noexcept
void setProductGetter(EDProductGetter const *) noexcept
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
void const * productPtr() const noexcept
void setProductPtr(void const *prodPtr) const noexcept
constexpr ProductID id() const noexcept
virtual void art::PtrVectorBase::zeroTransients |
( |
| ) |
|
|
privatepure virtual |
friend class art::detail::PtrVectorBaseStreamer |
|
friend |
The documentation for this class was generated from the following files: