LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "PtrRemapper.h"
Public Member Functions | |
template<typename PROD , typename SIZE_TYPE > | |
Ptr< PROD > | operator() (Ptr< PROD > const &oldPtr, SIZE_TYPE offset) const |
template<typename PROD , typename SIZE_TYPE > | |
PtrVector< PROD > | operator() (PtrVector< PROD > const &old, SIZE_TYPE offset) const |
template<typename InIter , typename OutIter , typename SIZE_TYPE > | |
void | operator() (InIter beg, InIter end, OutIter out, SIZE_TYPE offset) const |
template<typename OutIter , typename PROD , typename OFFSETS > | |
void | operator() (std::vector< PROD const * > const &in, OutIter out, OFFSETS const &offsets) const |
template<typename CONT , typename OutIter , typename PROD , typename OFFSETS > | |
void | operator() (std::vector< PROD const * > const &in, OutIter out, OFFSETS const &offsets, CONT const &(*extractor)(PROD const *)) const |
template<typename CONT , typename OutIter , typename PROD , typename OFFSETS > | |
void | operator() (std::vector< PROD const * > const &in, OutIter out, OFFSETS const &offsets, CONT const &(PROD::*extractor)() const) const |
template<typename CONT , typename OutIter , typename PROD , typename OFFSETS > | |
void | operator() (std::vector< PROD const * > const &in, OutIter out, OFFSETS const &offsets, CONT const PROD::*data) const |
template<typename PROD , typename OutIter , typename CONT , typename X , typename OFFSETS > | |
void | operator() (std::vector< PROD const * > const &in, OutIter out, OFFSETS const &offsets, CONT const &(X::*extractor)(PROD const *), X &x) const |
template<typename PROD , typename OutIter , typename CONT , typename X , typename OFFSETS > | |
void | operator() (std::vector< PROD const * > const &in, OutIter out, OFFSETS const &offsets, CONT const &(X::*extractor)(PROD const *) const, X const &x) const |
template<typename CONT , typename CALLBACK , typename OutIter , typename PROD , typename OFFSETS > | |
void | operator() (std::vector< PROD const * > const &in, OutIter out, OFFSETS const &offsets, CALLBACK extractor) const |
template<typename PROD > | |
ProductPtr< PROD > | operator() (ProductPtr< PROD > const &oldPtr) const |
template<typename PROD > | |
ProductPtr< PROD > | operator() (std::vector< ProductPtr< PROD > const * > const &in) const |
template<typename PROD , typename T > | |
ProductPtr< T > | operator() (std::vector< PROD const * > const &in, ProductPtr< T > const PROD::*data) const |
template<typename PROD , typename T > | |
ProductPtr< T > | operator() (std::vector< PROD const * > const &in, ProductPtr< T > const &(PROD::*extractor)() const) const |
template<typename PROD , typename SIZE_TYPE > | |
art::Ptr< PROD > | operator() (Ptr< PROD > const &oldPtr, SIZE_TYPE const offset) const |
template<typename PROD , typename SIZE_TYPE > | |
art::PtrVector< PROD > | operator() (PtrVector< PROD > const &old, SIZE_TYPE const offset) const |
template<typename PROD , typename OutIter , typename CONT , typename X , typename OFFSETS > | |
void | operator() (std::vector< PROD const * > const &in, OutIter out, OFFSETS const &offsets, CONT const &(X::*)(PROD const *), X &x) const |
template<typename PROD > | |
art::ProductPtr< PROD > | operator() (ProductPtr< PROD > const &oldPtr) const |
template<typename PROD > | |
art::ProductPtr< PROD > | operator() (std::vector< ProductPtr< PROD > const * > const &in) const |
template<typename PROD , typename T > | |
art::ProductPtr< T > | operator() (std::vector< PROD const * > const &in, ProductPtr< T > const PROD::*data) const |
template<typename PROD , typename T > | |
art::ProductPtr< T > | operator() (std::vector< PROD const * > const &in, ProductPtr< T > const &(PROD::*extractor)() const) const |
Private Types | |
using | ProdTransMap_t = std::map< ProductID, ProductID > |
Private Member Functions | |
RefCore | newRefCore_ (ProductID const incomingProductID) const |
Static Private Member Functions | |
template<typename PROD > | |
static ProductPtr< PROD > | samePtrAs (ProductPtr< PROD > result, ProductPtr< PROD > old) |
template<typename T > | |
static auto | unknownProduct_ (ProductID const id) |
Private Attributes | |
ProdTransMap_t | prodTransMap_ {} |
cet::exempt_ptr< Event const > | event_ {nullptr} |
Friends | |
class | ProdToProdMapBuilder |
Definition at line 275 of file PtrRemapper.h.
|
private |
Definition at line 385 of file PtrRemapper.h.
|
private |
Definition at line 4 of file PtrRemapper.cc.
References util::cend(), event_, art::errors::LogicError, and prodTransMap_.
Ptr<PROD> art::PtrRemapper::operator() | ( | Ptr< PROD > const & | oldPtr, |
SIZE_TYPE | offset | ||
) | const |
PtrVector<PROD> art::PtrRemapper::operator() | ( | PtrVector< PROD > const & | old, |
SIZE_TYPE | offset | ||
) | const |
void art::PtrRemapper::operator() | ( | InIter | beg, |
InIter | end, | ||
OutIter | out, | ||
SIZE_TYPE | offset | ||
) | const |
Definition at line 460 of file PtrRemapper.h.
References util::end(), and art::PtrRemapperDetail::ContReturner< CONT, PROD, CALLBACK >::operator()().
void art::PtrRemapper::operator() | ( | std::vector< PROD const * > const & | in, |
OutIter | out, | ||
OFFSETS const & | offsets | ||
) | const |
Definition at line 483 of file PtrRemapper.h.
References art::PtrRemapperDetail::ContReturner< CONT, PROD, CALLBACK >::operator()().
void art::PtrRemapper::operator() | ( | std::vector< PROD const * > const & | in, |
OutIter | out, | ||
OFFSETS const & | offsets, | ||
CONT const &(*)(PROD const *) | extractor | ||
) | const |
Definition at line 496 of file PtrRemapper.h.
void art::PtrRemapper::operator() | ( | std::vector< PROD const * > const & | in, |
OutIter | out, | ||
OFFSETS const & | offsets, | ||
CONT const &(PROD::*)() const | extractor | ||
) | const |
Definition at line 510 of file PtrRemapper.h.
References in.
void art::PtrRemapper::operator() | ( | std::vector< PROD const * > const & | in, |
OutIter | out, | ||
OFFSETS const & | offsets, | ||
CONT const PROD::* | data | ||
) | const |
Definition at line 524 of file PtrRemapper.h.
void art::PtrRemapper::operator() | ( | std::vector< PROD const * > const & | in, |
OutIter | out, | ||
OFFSETS const & | offsets, | ||
CONT const &(X::*)(PROD const *) | extractor, | ||
X & | x | ||
) | const |
void art::PtrRemapper::operator() | ( | std::vector< PROD const * > const & | in, |
OutIter | out, | ||
OFFSETS const & | offsets, | ||
CONT const &(X::*)(PROD const *) const | extractor, | ||
X const & | x | ||
) | const |
Definition at line 556 of file PtrRemapper.h.
void art::PtrRemapper::operator() | ( | std::vector< PROD const * > const & | in, |
OutIter | out, | ||
OFFSETS const & | offsets, | ||
CALLBACK | extractor | ||
) | const |
Definition at line 573 of file PtrRemapper.h.
References e, art::errors::LogicError, and art::PtrRemapperDetail::ContReturner< CONT, PROD, CALLBACK >::operator()().
ProductPtr<PROD> art::PtrRemapper::operator() | ( | ProductPtr< PROD > const & | oldPtr | ) | const |
ProductPtr<PROD> art::PtrRemapper::operator() | ( | std::vector< ProductPtr< PROD > const * > const & | in | ) | const |
ProductPtr<T> art::PtrRemapper::operator() | ( | std::vector< PROD const * > const & | in, |
ProductPtr< T > const PROD::* | data | ||
) | const |
ProductPtr<T> art::PtrRemapper::operator() | ( | std::vector< PROD const * > const & | in, |
ProductPtr< T > const &(PROD::*)() const | extractor | ||
) | const |
art::Ptr<PROD> art::PtrRemapper::operator() | ( | Ptr< PROD > const & | oldPtr, |
SIZE_TYPE const | offset | ||
) | const |
Definition at line 427 of file PtrRemapper.h.
References art::Ptr< T >::id(), art::Ptr< T >::isNull(), and art::Ptr< T >::key().
art::PtrVector<PROD> art::PtrRemapper::operator() | ( | PtrVector< PROD > const & | old, |
SIZE_TYPE const | offset | ||
) | const |
Definition at line 445 of file PtrRemapper.h.
References art::PtrVector< T >::begin(), art::PtrVector< T >::end(), art::PtrRemapperDetail::ContReturner< CONT, PROD, CALLBACK >::operator()(), art::PtrVector< T >::reserve(), and art::PtrVector< T >::size().
void art::PtrRemapper::operator() | ( | std::vector< PROD const * > const & | in, |
OutIter | out, | ||
OFFSETS const & | offsets, | ||
CONT const & | X::*)(PROD const *, | ||
X & | x | ||
) | const |
Definition at line 539 of file PtrRemapper.h.
art::ProductPtr<PROD> art::PtrRemapper::operator() | ( | ProductPtr< PROD > const & | oldPtr | ) | const |
Definition at line 600 of file PtrRemapper.h.
References art::ProductPtr< T >::id().
art::ProductPtr<PROD> art::PtrRemapper::operator() | ( | std::vector< ProductPtr< PROD > const * > const & | in | ) | const |
Definition at line 617 of file PtrRemapper.h.
art::ProductPtr<T> art::PtrRemapper::operator() | ( | std::vector< PROD const * > const & | in, |
ProductPtr< T > const PROD::* | data | ||
) | const |
Definition at line 630 of file PtrRemapper.h.
art::ProductPtr<T> art::PtrRemapper::operator() | ( | std::vector< PROD const * > const & | in, |
ProductPtr< T > const &(PROD::*)() const | extractor | ||
) | const |
Definition at line 643 of file PtrRemapper.h.
|
inlinestaticprivate |
Definition at line 391 of file PtrRemapper.h.
References art::ProductPtr< T >::id(), and art::errors::LogicError.
|
inlinestaticprivate |
Definition at line 405 of file PtrRemapper.h.
References art::errors::LogicError.
|
friend |
Definition at line 384 of file PtrRemapper.h.
|
private |
Definition at line 417 of file PtrRemapper.h.
Referenced by art::ProdToProdMapBuilder::getRemapper(), and newRefCore_().
|
private |
Definition at line 416 of file PtrRemapper.h.
Referenced by art::ProdToProdMapBuilder::getRemapper(), and newRefCore_().