#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.
References fill_from_offsets(), indicies_, swap(), and tmp.
void swap(PtrVectorBase &)
std::vector< key_type > indices_t
virtual void fill_from_offsets(indices_t const &indices) const =0
void swap(lar::deep_const_fwd_iterator_nested< CITER, INNERCONTEXTRACT > &a, lar::deep_const_fwd_iterator_nested< CITER, INNERCONTEXTRACT > &b)
bool art::PtrVectorBase::isAvailable |
( |
| ) |
const |
|
inline |
bool art::PtrVectorBase::isNonnull |
( |
| ) |
const |
|
inlinenoexcept |
bool art::PtrVectorBase::isNull |
( |
| ) |
const |
|
inlinenoexcept |
template<typename T >
Ptr<T>::key_type art::PtrVectorBase::key |
( |
Ptr< T > const & |
ptr | ) |
const |
|
privatenoexcept |
bool art::PtrVectorBase::operator== |
( |
PtrVectorBase const & |
other | ) |
const |
|
inlineprotectednoexcept |
void art::PtrVectorBase::reserve |
( |
size_type |
n | ) |
|
|
inlineprivate |
Definition at line 92 of file PtrVectorBase.h.
void setProductGetter(EDProductGetter const *) noexcept
void art::PtrVectorBase::updateCore |
( |
RefCore const & |
core | ) |
|
|
protected |
Definition at line 17 of file PtrVectorBase.cc.
References core_, id(), art::RefCore::id(), art::errors::InvalidReference, isNull(), art::RefCore::isNull(), art::RefCore::productGetter(), art::RefCore::productPtr(), art::RefCore::setProductGetter(), and art::RefCore::setProductPtr().
Referenced by art::PtrVector< T >::assign(), art::PtrVector< T >::emplace_back(), art::PtrVector< T >::insert(), art::PtrVector< T >::PtrVector(), and art::PtrVector< T >::push_back().
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: