ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
AthenaPOOL
AthenaPoolCnvSvc
AthenaPoolCnvSvc
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-2025 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
18
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
19
#include "
AthenaPoolCnvSvc/TPCnvList.h
"
20
#include "
AthenaPoolCnvSvc/exceptions.h
"
21
#include "
AthenaPoolCnvSvc/debug.h
"
22
#include "
AthContainers/tools/copyThinned.h
"
23
#include "
AthenaKernel/ClassID_traits.h
"
24
25
38
template
<
class
AUXSTORE,
class
... TPCNVS>
39
class
T_AthenaPoolAuxContainerCnv
40
:
public
T_AthenaPoolCustomCnvWithKey
<AUXSTORE, AUXSTORE>
41
{
42
friend
class
CnvFactory
<
T_AthenaPoolAuxContainerCnv
>;
43
44
template
<
class
CNV,
class
TPCNV>
45
friend
class
AthenaPoolCnvSvc::TPCnvElt
;
46
47
public
:
48
typedef
T_AthenaPoolCustomCnvWithKey<AUXSTORE, AUXSTORE>
Base
;
49
50
55
T_AthenaPoolAuxContainerCnv
( ISvcLocator* svcLoc );
56
57
65
virtual
AUXSTORE*
createPersistentWithKey
( AUXSTORE* trans,
66
const
std::string& key)
override
;
67
68
76
virtual
AUXSTORE*
createTransientWithKey
(
const
Token
* token,
const
std::string& key)
override
;
77
78
79
private
:
81
Guid
m_guid
{};
82
84
AthenaPoolCnvSvc::TPCnvList
<
T_AthenaPoolAuxContainerCnv
, AUXSTORE, TPCNVS...>
m_tpcnvs
{};
85
};
86
87
88
#include "
AthenaPoolCnvSvc/T_AthenaPoolAuxContainerCnv.icc
"
89
90
91
#endif
// not ATHENAPOOLCNVSVC_T_ATHENAPOOLAUXCONTAINERCNV_H
92
ClassID_traits.h
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
debug.h
A couple hooks for debugging.
exceptions.h
Exceptions that can be thrown from AthenaPoolCnvSvc.
TPCnvList.h
Helper for calling TP converters from an Athena converter.
T_AthenaPoolAuxContainerCnv.icc
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
AthenaPoolCnvSvc::TPCnvElt
Helper for calling a TP converter from an Athena converter.
Definition
TPCnvElt.h:62
AthenaPoolCnvSvc::TPCnvList
Helper for calling TP converters from an Athena converter.
Definition
TPCnvList.h:31
CnvFactory
Abstract factory to create the converter.
Definition
ToyConverter.h:16
Guid
This class provides a encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number).
Definition
Guid.h:25
T_AthenaPoolAuxContainerCnv::createPersistentWithKey
virtual AUXSTORE * createPersistentWithKey(AUXSTORE *trans, const std::string &key) override
Convert a transient object to persistent form.
T_AthenaPoolAuxContainerCnv< DMTest::HAuxContainer, DMTest::HAuxContainerCnv_v1 >::m_guid
Guid m_guid
Definition
T_AthenaPoolAuxContainerCnv.h:81
T_AthenaPoolAuxContainerCnv::T_AthenaPoolAuxContainerCnv
T_AthenaPoolAuxContainerCnv(ISvcLocator *svcLoc)
Constructor.
T_AthenaPoolAuxContainerCnv< DMTest::HAuxContainer, DMTest::HAuxContainerCnv_v1 >::Base
T_AthenaPoolCustomCnvWithKey< DMTest::HAuxContainer, DMTest::HAuxContainer > Base
Definition
T_AthenaPoolAuxContainerCnv.h:48
T_AthenaPoolAuxContainerCnv::createTransientWithKey
virtual AUXSTORE * createTransientWithKey(const Token *token, const std::string &key) override
Read the persistent object and convert it to transient.
T_AthenaPoolAuxContainerCnv< DMTest::HAuxContainer, DMTest::HAuxContainerCnv_v1 >::m_tpcnvs
AthenaPoolCnvSvc::TPCnvList< T_AthenaPoolAuxContainerCnv, DMTest::HAuxContainer, TPCNVS... > m_tpcnvs
Definition
T_AthenaPoolAuxContainerCnv.h:84
T_AthenaPoolCustomCnvWithKey< AUXSTORE, AUXSTORE >::T_AthenaPoolCustomCnvWithKey
T_AthenaPoolCustomCnvWithKey(ISvcLocator *pSvcLocator, const char *name=nullptr)
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition
Token.h:22
copyThinned.h
Helper to copy an object while applying thinning.
Generated on
for ATLAS Offline Software by
1.17.0