ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaExamples
AthExThinning
src
AthExFatObjectCnv.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
// AthExFatObjectCnv.h
8
// Header file for class AthExFatObjectCnv
9
// Author: S.Binet<binet@cern.ch>
11
#ifndef ATHEXTHINNING_AthExFATOBJECTCNV_H
12
#define ATHEXTHINNING_AthExFATOBJECTCNV_H
13
14
// STL includes
15
16
17
// AthenaPoolCnvSvc includes
18
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
19
20
// AthExThinning includes
21
#include "
AthExThinning/AthExFatObject.h
"
22
#include "
AthExThinning/AthExFatObject_p1.h
"
23
24
// Forward declaration
25
26
// the latest persistent representation type of DataCollection:
27
typedef
AthExFatObject_p1
AthExFatObject_PERS
;
28
29
class
AthExFatObjectCnv
:
public
T_AthenaPoolCustomCnv
<
30
AthExFatObject,
31
AthExFatObject_PERS
32
>
33
34
{
35
36
// make the factory for this converter our friend
37
friend
class
CnvFactory
<
AthExFatObjectCnv
>;
38
40
// Protected methods:
42
protected
:
43
46
public
:
47
AthExFatObjectCnv
(ISvcLocator* svcloc);
48
protected
:
49
52
virtual
AthExFatObject_PERS
*
53
createPersistent
(
AthExFatObject
* transCont );
54
57
virtual
AthExFatObject
*
createTransient
(
const
Token
* token);
58
60
// Protected data:
62
protected
:
63
};
64
68
69
#endif
//> ATHEXTHINNING_ATHEXFATOBJECTCNV_H
70
AthExFatObject_PERS
AthExFatObject_p1 AthExFatObject_PERS
Definition
AthExFatObjectCnv.h:27
AthExFatObject.h
AthExFatObject_p1.h
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
AthExFatObjectCnv::AthExFatObjectCnv
AthExFatObjectCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
Definition
AthExFatObjectCnv.cxx:36
AthExFatObjectCnv::createTransient
virtual AthExFatObject * createTransient(const Token *token)
Build the transient representation from a persistent one.
Definition
AthExFatObjectCnv.cxx:59
AthExFatObjectCnv::createPersistent
virtual AthExFatObject_PERS * createPersistent(AthExFatObject *transCont)
Build the persistent representation from the transient one.
Definition
AthExFatObjectCnv.cxx:48
AthExFatObject_p1
Definition
AthExFatObject_p1.h:23
AthExFatObject
Definition
AthExFatObject.h:29
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