ATLAS Offline Software
Loading...
Searching...
No Matches
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 */
11
12
13#ifndef ATHENAPOOLCNVSVC_T_AUXCONTAINERCOPYTPCNV_H
14#define ATHENAPOOLCNVSVC_T_AUXCONTAINERCOPYTPCNV_H
15
16
20#include "GaudiKernel/MsgStream.h"
21#include <stdexcept>
22
23
32template <class NEWTYPE, class OLDTYPE>
34 : public T_AthenaPoolTPCnvConstBase< NEWTYPE, OLDTYPE >
35{
36public:
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
53
54
55#endif // not ATHENAPOOLCNVSVC_T_AUXCONTAINERCOPYTPCNV_H
An interface for getting the name of a class as a string.
TPConverterConstBase< TRANS, PERS > T_AthenaPoolTPCnvConstBase
Convert aux container version by generic copy.
virtual void persToTrans(const OLDTYPE *oldObj, NEWTYPE *newObj, MsgStream &log) const override
Function converting from the old type to the current one.
virtual void transToPers(const NEWTYPE *, OLDTYPE *, MsgStream &log) const override
Dummy function inherited from the base class.
Helper to copy an aux store while applying thinning.