ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaExamples
AthExThinning
src
AthExElephantinoCnv.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// AthExElephantinoCnv.h
8
// Header file for class AthExElephantinoCnv
9
// Author: S.Binet<binet@cern.ch>
11
#ifndef ATHEXTHINNING_AthExELEPHANTINOCNV_H
12
#define ATHEXTHINNING_AthExELEPHANTINOCNV_H
13
14
// STL includes
15
16
17
// AthenaPoolCnvSvc includes
18
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
19
20
// AthExThinning includes
21
#include "
AthExThinning/AthExElephantino.h
"
22
#include "
AthExThinning/AthExElephantino_p1.h
"
23
24
// Forward declaration
25
26
// the latest persistent representation type of DataCollection:
27
typedef
AthExElephantino_p1
AthExElephantino_PERS
;
28
29
class
AthExElephantinoCnv
:
public
T_AthenaPoolCustomCnv
<
30
AthExElephantino,
31
AthExElephantino_PERS
32
>
33
34
{
35
36
// make the factory for this converter our friend
37
friend
class
CnvFactory
<
AthExElephantinoCnv
>;
38
40
// Protected methods:
42
protected
:
43
46
public
:
47
AthExElephantinoCnv
(ISvcLocator* svcloc);
48
protected
:
49
52
virtual
AthExElephantino_PERS
*
53
createPersistent
(
AthExElephantino
* transCont );
54
57
virtual
AthExElephantino
*
createTransient
(
const
Token
* token);
58
60
// Protected data:
62
protected
:
63
};
64
68
69
#endif
//> ATHEXTHINNING_AthExELEPHANTINOCNV_H
70
AthExElephantino_PERS
AthExElephantino_p1 AthExElephantino_PERS
Definition
AthExElephantinoCnv.h:27
AthExElephantino.h
AthExElephantino_p1.h
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
AthExElephantinoCnv::AthExElephantinoCnv
AthExElephantinoCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
Definition
AthExElephantinoCnv.cxx:36
AthExElephantinoCnv::createPersistent
virtual AthExElephantino_PERS * createPersistent(AthExElephantino *transCont)
Build the persistent representation from the transient one.
Definition
AthExElephantinoCnv.cxx:48
AthExElephantinoCnv::createTransient
virtual AthExElephantino * createTransient(const Token *token)
Build the transient representation from a persistent one.
Definition
AthExElephantinoCnv.cxx:59
AthExElephantino_p1
Definition
AthExElephantino_p1.h:22
AthExElephantino
object with 4 legs, so it is best modeled with a vector of ElementLink.
Definition
AthExElephantino.h:33
CnvFactory
Abstract factory to create the converter.
Definition
ToyConverter.h:16
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition
T_AthenaPoolCustomCnv.h:129
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition
Token.h:22
Generated on
for ATLAS Offline Software by
1.17.0