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";
void swap(PtrVectorBase &)
EDProductGetter const * productGetter() const noexcept
ProductID id() const noexcept
bool isNull() const noexcept
std::vector< key_type > indices_t
constexpr bool isNull() const noexcept
void setProductGetter(EDProductGetter const *) noexcept
virtual void fill_from_offsets(indices_t const &indices) const =0
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
void updateCore(RefCore const &core)