ATLAS Offline Software
T_AthenaPoolAuxContainerCnv.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 
3 /*
4  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5 */
14 #ifndef ATHENAPOOLCNVSVC_T_ATHENAPOOLAUXCONTAINERCNV_H
15 #define ATHENAPOOLCNVSVC_T_ATHENAPOOLAUXCONTAINERCNV_H
16 
17 
21 #include "AthenaPoolCnvSvc/debug.h"
24 
25 
36 template <class AUXSTORE, class ... TPCNVS>
38  : public T_AthenaPoolCustomCnvWithKey<AUXSTORE, AUXSTORE>
39 {
41 
42  template <class CNV, class TPCNV>
44 
45 public:
47 
48 
53  T_AthenaPoolAuxContainerCnv ( ISvcLocator* svcLoc );
54 
55 
63  virtual AUXSTORE* createPersistentWithKey( AUXSTORE* trans,
64  const std::string& key) override;
65 
66 
74  virtual AUXSTORE* createTransientWithKey (const std::string& key) override;
75 
76 
77 private:
80 
83 };
84 
85 
87 
88 
89 #endif // not ATHENAPOOLCNVSVC_T_ATHENAPOOLAUXCONTAINERCNV_H
90 
T_AthenaPoolAuxContainerCnv::m_tpcnvs
AthenaPoolCnvSvc::TPCnvList< T_AthenaPoolAuxContainerCnv, AUXSTORE, TPCNVS... > m_tpcnvs
List of TP converters.
Definition: T_AthenaPoolAuxContainerCnv.h:82
TPCnvList.h
Helper for calling TP converters from an Athena converter.
AthenaPoolCnvSvc::TPCnvElt
Helper for calling a TP converter from an Athena converter.
Definition: TPCnvElt.h:61
T_AthenaPoolAuxContainerCnv::createTransientWithKey
virtual AUXSTORE * createTransientWithKey(const std::string &key) override
Read the persistent object and convert it to transient.
T_AthenaPoolAuxContainerCnv
Athena pool converter for aux store classes.
Definition: T_AthenaPoolAuxContainerCnv.h:39
T_AthenaPoolAuxContainerCnv::T_AthenaPoolAuxContainerCnv
T_AthenaPoolAuxContainerCnv(ISvcLocator *svcLoc)
Constructor.
T_AthenaPoolCustomCnvWithKey
This templated class extends T_AthenaPoolCustCnv to provide management of the persistent objects crea...
Definition: T_AthenaPoolCustomCnv.h:35
ClassID_traits.h
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
AthenaPoolCnvSvc::TPCnvList
Helper for calling TP converters from an Athena converter.
Definition: TPCnvList.h:37
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
T_AthenaPoolAuxContainerCnv::createPersistentWithKey
virtual AUXSTORE * createPersistentWithKey(AUXSTORE *trans, const std::string &key) override
Convert a transient object to persistent form.
debug.h
A couple hooks for debugging.
Guid
This class provides a encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number).
Definition: Guid.h:20
T_AthenaPoolAuxContainerCnv.icc
exceptions.h
Exceptions that can be thrown from AthenaPoolCnvSvc.
copyThinned.h
Helper to copy an object while applying thinning.
T_AthenaPoolAuxContainerCnv::Base
T_AthenaPoolCustomCnvWithKey< AUXSTORE, AUXSTORE > Base
Definition: T_AthenaPoolAuxContainerCnv.h:46
T_AthenaPoolAuxContainerCnv::m_guid
Guid m_guid
GUID of the object being read.
Definition: T_AthenaPoolAuxContainerCnv.h:79
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37