ATLAS Offline Software
Loading...
Searching...
No Matches
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*/
12
13
14#ifndef ATHENAPOOLCNVSVC_T_ATHENAPOOLAUXCONTAINERCNV_H
15#define ATHENAPOOLCNVSVC_T_ATHENAPOOLAUXCONTAINERCNV_H
16
17
24
25
36template <class AUXSTORE, class ... TPCNVS>
38 : public T_AthenaPoolCustomCnvWithKey<AUXSTORE, AUXSTORE>
39{
41
42 template <class CNV, class TPCNV>
44
45public:
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
77private:
80
83};
84
85
87
88
89#endif // not ATHENAPOOLCNVSVC_T_ATHENAPOOLAUXCONTAINERCNV_H
90
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
A couple hooks for debugging.
Exceptions that can be thrown from AthenaPoolCnvSvc.
Helper for calling TP converters from an Athena converter.
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
Helper for calling a TP converter from an Athena converter.
Definition TPCnvElt.h:61
Helper for calling TP converters from an Athena converter.
Definition TPCnvList.h:37
Abstract factory to create the converter.
This class provides a encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number).
Definition Guid.h:25
virtual AUXSTORE * createPersistentWithKey(AUXSTORE *trans, const std::string &key) override
Convert a transient object to persistent form.
T_AthenaPoolAuxContainerCnv(ISvcLocator *svcLoc)
Constructor.
T_AthenaPoolCustomCnvWithKey< DMTest::HAuxContainer, DMTest::HAuxContainer > Base
virtual AUXSTORE * createTransientWithKey(const std::string &key) override
Read the persistent object and convert it to transient.
AthenaPoolCnvSvc::TPCnvList< T_AthenaPoolAuxContainerCnv, DMTest::HAuxContainer, TPCNVS... > m_tpcnvs
T_AthenaPoolCustomCnvWithKey(ISvcLocator *pSvcLocator, const char *name=nullptr)
Helper to copy an object while applying thinning.