LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "PtrRemapper.h"
Public Member Functions | |
PtrRemapper ()=default | |
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 PROD::*const 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 , 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 |
Private Types | |
using | ProdTransMap_t = std::map< ProductID, ProductID > |
Private Attributes | |
ProdTransMap_t | prodTransMap_ {} |
cet::exempt_ptr< Event const > | event_ {nullptr} |
Friends | |
class | ProdToProdMapBuilder |
Definition at line 241 of file PtrRemapper.h.
|
private |
Definition at line 325 of file PtrRemapper.h.
|
default |
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 374 of file PtrRemapper.h.
References evd::details::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 397 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 410 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 422 of file PtrRemapper.h.
References in.
void art::PtrRemapper::operator() | ( | std::vector< PROD const * > const & | in, |
OutIter | out, | ||
OFFSETS const & | offsets, | ||
CONT PROD::*const | data | ||
) | const |
Definition at line 434 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 466 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 483 of file PtrRemapper.h.
References e, art::errors::LogicError, and art::PtrRemapperDetail::ContReturner< CONT, PROD, CALLBACK >::operator()().
art::Ptr<PROD> art::PtrRemapper::operator() | ( | Ptr< PROD > const & | oldPtr, |
SIZE_TYPE const | offset | ||
) | const |
Definition at line 336 of file PtrRemapper.h.
References art::Ptr< T >::id(), art::Ptr< T >::isNonnull(), art::Ptr< T >::key(), and art::errors::LogicError.
art::PtrVector<PROD> art::PtrRemapper::operator() | ( | PtrVector< PROD > const & | old, |
SIZE_TYPE const | offset | ||
) | const |
Definition at line 359 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 449 of file PtrRemapper.h.
|
friend |
Definition at line 324 of file PtrRemapper.h.
|
private |
Definition at line 330 of file PtrRemapper.h.
Referenced by art::ProdToProdMapBuilder::populateRemapper().
|
private |
Definition at line 329 of file PtrRemapper.h.
Referenced by art::ProdToProdMapBuilder::populateRemapper().