20 if (productToBeInserted.
isNull()) {
22 <<
"art::PtrVectorBase::updateCore: Ptr has invalid (zero) product ID,\n" 23 "so it cannot be added to a PtrVector. id should be (" 27 core_ = productToBeInserted;
30 if (
core_.
id() != productToBeInserted.
id()) {
32 <<
"art::PtrVectorBase::updateCore: Ptr is inconsistent with\n" 34 << productToBeInserted.
id() <<
"), should be (" <<
core_.
id() <<
")\n";
void swap(PtrVectorBase &)
EDProductGetter const * productGetter() const
virtual void fill_from_offsets(indices_t const &indices) const =0
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
void const * productPtr() const
void setProductGetter(EDProductGetter const *prodGetter) const
std::vector< key_type > indices_t
void updateCore(RefCore const &core)
void setProductPtr(void const *prodPtr) const