ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
ExpressionParsing::CollectionMethodHelper< T_Cont, T_src >::Kit Class Reference

Auxiliary class to create the corresponding auxiliary helper object. More...

#include <MethodAccessor.h>

Collaboration diagram for ExpressionParsing::CollectionMethodHelper< T_Cont, T_src >::Kit:

Public Member Functions

 Kit (Kit &&)=default
 
 Kit (RootUtils::TSMethodCall &&method_call, TVirtualCollectionProxy &collection_proxy)
 
CollectionMethodHelper< T_Cont, T_src > create (const EventContext &, SG::ReadHandle< T_Cont > &handle) const
 

Private Attributes

RootUtils::TSMethodCall m_methodCall ATLAS_THREAD_SAFE
 
const TVirtualCollectionProxy * m_collectionProxy
 

Detailed Description

template<class T_Cont, typename T_src>
class ExpressionParsing::CollectionMethodHelper< T_Cont, T_src >::Kit

Auxiliary class to create the corresponding auxiliary helper object.

Definition at line 65 of file MethodAccessor.h.

Constructor & Destructor Documentation

◆ Kit() [1/2]

template<class T_Cont , typename T_src >
ExpressionParsing::CollectionMethodHelper< T_Cont, T_src >::Kit::Kit ( Kit &&  )
default

◆ Kit() [2/2]

template<class T_Cont , typename T_src >
ExpressionParsing::CollectionMethodHelper< T_Cont, T_src >::Kit::Kit ( RootUtils::TSMethodCall &&  method_call,
TVirtualCollectionProxy &  collection_proxy 
)
inline

Definition at line 68 of file MethodAccessor.h.

69  : m_methodCall(std::move(method_call)),
70  m_collectionProxy(&collection_proxy)
71  {}

Member Function Documentation

◆ create()

template<class T_Cont , typename T_src >
CollectionMethodHelper<T_Cont,T_src> ExpressionParsing::CollectionMethodHelper< T_Cont, T_src >::Kit::create ( const EventContext &  ,
SG::ReadHandle< T_Cont > &  handle 
) const
inline

Definition at line 73 of file MethodAccessor.h.

75  {
76  return CollectionMethodHelper<T_Cont,T_src>(m_methodCall,*m_collectionProxy, getVectorData(*handle), getContainerSize(*handle));
77  }

Member Data Documentation

◆ ATLAS_THREAD_SAFE

template<class T_Cont , typename T_src >
RootUtils::TSMethodCall m_methodCall ExpressionParsing::CollectionMethodHelper< T_Cont, T_src >::Kit::ATLAS_THREAD_SAFE
mutableprivate

Definition at line 79 of file MethodAccessor.h.

◆ m_collectionProxy

template<class T_Cont , typename T_src >
const TVirtualCollectionProxy* ExpressionParsing::CollectionMethodHelper< T_Cont, T_src >::Kit::m_collectionProxy
private

Definition at line 80 of file MethodAccessor.h.


The documentation for this class was generated from the following file:
ExpressionParsing::CollectionMethodHelper::Kit::m_collectionProxy
const TVirtualCollectionProxy * m_collectionProxy
Definition: MethodAccessor.h:80
ExpressionParsing::getContainerSize
std::size_t getContainerSize(const T &cont)
Definition: PhysicsAnalysis/CommonTools/ExpressionEvaluation/src/Utils.h:73
ExpressionParsing::getVectorData
const SG::AuxVectorData * getVectorData(const T &cont)
Definition: PhysicsAnalysis/CommonTools/ExpressionEvaluation/src/Utils.h:78