ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
AthenaPOOL
AthenaPoolCnvSvc
src
AthenaRootSerializeSvc.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ATHENAROOTSERIALIZESVC_H
6
#define ATHENAROOTSERIALIZESVC_H
7
12
13
#include "
AthenaBaseComps/AthService.h
"
14
#include "
AthenaKernel/IAthenaSerializeSvc.h
"
15
19
class
AthenaRootSerializeSvc
:
public
extends<AthService, IAthenaSerializeSvc> {
20
// Allow the factory class access to the constructor
21
friend
class
SvcFactory
<
AthenaRootSerializeSvc
>;
22
23
public
:
25
AthenaRootSerializeSvc
(
const
std::string& name, ISvcLocator* pSvcLocator);
27
virtual
~AthenaRootSerializeSvc
();
28
30
virtual
StatusCode
initialize
()
override
;
31
32
virtual
void
*
serialize
(
const
void
*
object
,
const
RootType
& cltype,
size_t
& nbytes)
const override
;
33
34
virtual
void
*
deserialize
(
void
* buffer,
size_t
& nbytes,
const
RootType
& cltype)
const override
;
35
};
36
37
#endif
AthService.h
IAthenaSerializeSvc.h
RootType
TTypeAdapter RootType
Definition
RootType.h:211
AthenaRootSerializeSvc::initialize
virtual StatusCode initialize() override
Gaudi Service Interface method implementations:
Definition
AthenaRootSerializeSvc.cxx:25
AthenaRootSerializeSvc::deserialize
virtual void * deserialize(void *buffer, size_t &nbytes, const RootType &cltype) const override
Definition
AthenaRootSerializeSvc.cxx:46
AthenaRootSerializeSvc::serialize
virtual void * serialize(const void *object, const RootType &cltype, size_t &nbytes) const override
Definition
AthenaRootSerializeSvc.cxx:36
AthenaRootSerializeSvc::AthenaRootSerializeSvc
AthenaRootSerializeSvc(const std::string &name, ISvcLocator *pSvcLocator)
Standard Service Constructor.
Definition
AthenaRootSerializeSvc.cxx:16
AthenaRootSerializeSvc::~AthenaRootSerializeSvc
virtual ~AthenaRootSerializeSvc()
Destructor.
Definition
AthenaRootSerializeSvc.cxx:21
SvcFactory
Definition
AthCnvSvc.h:28
Generated on
for ATLAS Offline Software by
1.17.0