#include "PtrVectorBase.h"
Definition at line 21 of file PtrVectorBase.h.
virtual art::PtrVectorBase::~PtrVectorBase |
( |
| ) |
|
|
virtualdefault |
art::PtrVectorBase::PtrVectorBase |
( |
| ) |
|
|
protecteddefault |
void art::PtrVectorBase::clear |
( |
void |
| ) |
|
|
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 6 of file PtrVectorBase.cc.
References fill_from_offsets(), indicies_, swap(), and tmp.
void swap(PtrVectorBase &)
virtual void fill_from_offsets(indices_t const &indices) const =0
void swap(art::HLTGlobalStatus &lhs, art::HLTGlobalStatus &rhs)
std::vector< key_type > indices_t
bool art::PtrVectorBase::isAvailable |
( |
| ) |
const |
|
inline |
bool art::PtrVectorBase::isNonnull |
( |
| ) |
const |
|
inline |
bool art::PtrVectorBase::isNull |
( |
| ) |
const |
|
inline |
template<typename T >
Ptr<T>::key_type art::PtrVectorBase::key |
( |
Ptr< T > const & |
ptr | ) |
const |
|
private |
bool art::PtrVectorBase::operator== |
( |
PtrVectorBase const & |
other | ) |
const |
|
inlineprotected |
void art::PtrVectorBase::reserve |
( |
size_type |
n | ) |
|
|
inlineprivate |
Definition at line 96 of file PtrVectorBase.h.
void setProductGetter(EDProductGetter const *prodGetter) const
void art::PtrVectorBase::updateCore |
( |
RefCore const & |
core | ) |
|
|
protected |
Definition at line 18 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 >::insert(), art::PtrVector< T >::PtrVector(), and art::PtrVector< T >::push_back().
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";
37 productToBeInserted.productGetter() !=
nullptr) {
41 productToBeInserted.productPtr() !=
nullptr) {
EDProductGetter const * productGetter() const
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
void const * productPtr() const
void setProductGetter(EDProductGetter const *prodGetter) const
void setProductPtr(void const *prodPtr) const
virtual void art::PtrVectorBase::zeroTransients |
( |
| ) |
|
|
privatepure virtual |
friend class art::detail::PtrVectorBaseStreamer |
|
friend |
The documentation for this class was generated from the following files: