ATLAS Offline Software
Public Member Functions | Private Types | Friends | List of all members
StlAthenaPoolCnv< T > Class Template Reference
Inheritance diagram for StlAthenaPoolCnv< T >:
Collaboration diagram for StlAthenaPoolCnv< T >:

Public Member Functions

 StlAthenaPoolCnv (ISvcLocator *svcloc)
 Constructor. More...
 
virtual StatusCode initialize ()
 Gaudi Service Interface method implementations: More...
 

Private Types

typedef T_AthenaPoolCnv< T > BaseCnv_t
 
typedef StlAthenaPoolCnv< T > Self_t
 
typedef T_AthenaPoolFindBase< T >::type Base
 

Friends

class CnvFactory< StlAthenaPoolCnv< T > >
 

Detailed Description

template<class T>
class StlAthenaPoolCnv< T >

Definition at line 11 of file StlAthenaPoolCnv.cxx.

Member Typedef Documentation

◆ Base

template<class T >
typedef T_AthenaPoolFindBase<T>::type T_AthenaPoolCnv< T >::Base
privateinherited

Definition at line 62 of file T_AthenaPoolCnv.h.

◆ BaseCnv_t

template<class T >
typedef T_AthenaPoolCnv<T> StlAthenaPoolCnv< T >::BaseCnv_t
private

Definition at line 14 of file StlAthenaPoolCnv.cxx.

◆ Self_t

template<class T >
typedef StlAthenaPoolCnv<T> StlAthenaPoolCnv< T >::Self_t
private

Definition at line 15 of file StlAthenaPoolCnv.cxx.

Constructor & Destructor Documentation

◆ StlAthenaPoolCnv()

template<class T >
StlAthenaPoolCnv< T >::StlAthenaPoolCnv ( ISvcLocator *  svcloc)
inline

Constructor.

Definition at line 18 of file StlAthenaPoolCnv.cxx.

18 : BaseCnv_t(svcloc) {}

Member Function Documentation

◆ initialize()

template<class T >
virtual StatusCode StlAthenaPoolCnv< T >::initialize ( )
inlinevirtual

Gaudi Service Interface method implementations:

Definition at line 21 of file StlAthenaPoolCnv.cxx.

22  {
23  MsgStream msg( this->msgSvc(), ClassName<Self_t>::name());
24  if ( !this->BaseCnv_t::initialize().isSuccess() ) {
25  msg << MSG::ERROR << "Could not initialize base class' converter ["
26  << ClassName<BaseCnv_t>::name() << "] !"
27  << endmsg;
28  return StatusCode::FAILURE;
29  }
30  const std::type_info& ti = typeid(T);
31  RootType rflx_type = RootType(ti);
32  if (!rflx_type) {
33  msg << MSG::ERROR
34  << "could not get Reflex::Type from type_info ["
35  << ti.name()
36  << "] for class ["
37  << ClassName<T>::name() << "] !"
38  << endmsg;
39  return StatusCode::FAILURE;
40  }
41  this->BaseCnv_t::m_classDesc = rflx_type;
42  return StatusCode::SUCCESS;
43  }

Friends And Related Function Documentation

◆ CnvFactory< StlAthenaPoolCnv< T > >

template<class T >
friend class CnvFactory< StlAthenaPoolCnv< T > >
friend

Definition at line 1 of file StlAthenaPoolCnv.cxx.


The documentation for this class was generated from the following file:
initialize
void initialize()
Definition: run_EoverP.cxx:894
RootType
TTypeAdapter RootType
Definition: RootType.h:211
StdJOSetup.msgSvc
msgSvc
Provide convenience handles for various services.
Definition: StdJOSetup.py:36
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
ClassName
An interface for getting the name of a class as a string.
Definition: AthenaKernel/AthenaKernel/ClassName.h:31
ClassName::name
static std::string name()
Return the name of class T as a string.
StlAthenaPoolCnv::BaseCnv_t
T_AthenaPoolCnv< T > BaseCnv_t
Definition: StlAthenaPoolCnv.cxx:14
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35
TScopeAdapter
Definition: RootType.h:119