ATLAS Offline Software
Database
AthenaPOOL
AthenaPoolCnvSvc
AthenaPoolCnvSvc
T_AuxContainerCopyTPCnv.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
* Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration.
4
*/
13
#ifndef ATHENAPOOLCNVSVC_T_AUXCONTAINERCOPYTPCNV_H
14
#define ATHENAPOOLCNVSVC_T_AUXCONTAINERCOPYTPCNV_H
15
16
17
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
18
#include "
AthContainers/tools/copyAuxStoreThinned.h
"
19
#include "
AthenaKernel/ClassName.h
"
20
#include "GaudiKernel/MsgStream.h"
21
#include <stdexcept>
22
23
32
template
<
class
NEWTYPE,
class
OLDTYPE>
33
class
T_AuxContainerCopyTPCnv
34
:
public
T_AthenaPoolTPCnvConstBase
< NEWTYPE, OLDTYPE >
35
{
36
public
:
37
using
T_AthenaPoolTPCnvConstBase< NEWTYPE, OLDTYPE >::transToPers
;
38
using
T_AthenaPoolTPCnvConstBase< NEWTYPE, OLDTYPE >::persToTrans
;
39
40
42
virtual
void
persToTrans
(
const
OLDTYPE* oldObj,
43
NEWTYPE* newObj,
44
MsgStream&
log
)
const override
;
46
virtual
void
transToPers
(
const
NEWTYPE*,
47
OLDTYPE*,
48
MsgStream&
log
)
const override
;
49
};
50
51
52
#include "
AthenaPoolCnvSvc/T_AuxContainerCopyTPCnv.icc
"
53
54
55
#endif // not ATHENAPOOLCNVSVC_T_AUXCONTAINERCOPYTPCNV_H
T_AuxContainerCopyTPCnv::transToPers
virtual void transToPers(const NEWTYPE *, OLDTYPE *, MsgStream &log) const override
Dummy function inherited from the base class.
copyAuxStoreThinned.h
Helper to copy an aux store while applying thinning.
ClassName.h
An interface for getting the name of a class as a string.
T_AthenaPoolTPConverter.h
T_AuxContainerCopyTPCnv
Convert aux container version by generic copy.
Definition:
T_AuxContainerCopyTPCnv.h:35
T_AuxContainerCopyTPCnv.icc
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
TPConverterConstBase
Definition:
TPConverter.h:776
T_AuxContainerCopyTPCnv::persToTrans
virtual void persToTrans(const OLDTYPE *oldObj, NEWTYPE *newObj, MsgStream &log) const override
Function converting from the old type to the current one.
Generated on Fri Jan 10 2025 21:18:17 for ATLAS Offline Software by
1.8.18