ATLAS Offline Software
IAthenaRootStreamerSvc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ATHENAPOOLSERVICES_IATHENAROOTSTREAMERSVC_H
6 #define ATHENAPOOLSERVICES_IATHENAROOTSTREAMERSVC_H
7 
17 //<<<<<< INCLUDES >>>>>>
18 
19 #include "GaudiKernel/IService.h"
20 
21 #include <string>
22 
23 //<<<<<< CLASS DECLARATIONS >>>>>>
24 
26 
36 static const InterfaceID IID_IAthenaRootStreamerSvc("IAthenaRootStreamerSvc", 2 , 0);
37 
38 
39 class IAthenaRootStreamerSvc : virtual public IService
40 {
41 public:
42 
44  static const InterfaceID& interfaceID();
45 
51  virtual StatusCode AddStreamer(const std::string& converter_classname, bool adopt=true) = 0;
52 
58  virtual StatusCode AddStreamer(T_AthenaRootConverterBase *converter, bool adopt=true) = 0;
59 
62  virtual StatusCode AdoptStreamerForClass(const std::string& class_name) = 0;
63 
66 };
67 
68 
69 
70 inline const InterfaceID&
72 {
73  return IID_IAthenaRootStreamerSvc;
74 }
75 
76 
77 
78 #endif
T_AthenaRootConverterBase
Definition: T_AthenaRootConverter.h:17
IAthenaRootStreamerSvc::AdoptStreamerForClass
virtual StatusCode AdoptStreamerForClass(const std::string &class_name)=0
Adopt ROOT custom streamer for a given class.
IAthenaRootStreamerSvc
Gaudi style interface to Athena ROOT streamer service.
Definition: IAthenaRootStreamerSvc.h:40
IAthenaRootStreamerSvc::interfaceID
static const InterfaceID & interfaceID()
Retrieve interface ID.
Definition: IAthenaRootStreamerSvc.h:71
IAthenaRootStreamerSvc::AddStreamer
virtual StatusCode AddStreamer(T_AthenaRootConverterBase *converter, bool adopt=true)=0
Create (or exetend) ROOT streamer Class name for which the streamer is added is extracted from the co...
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IAthenaRootStreamerSvc::AdoptAllStreamers
virtual StatusCode AdoptAllStreamers()=0
Adopt all ROOT streamers known to the service.
python.DetectStreamerInfoChanges.class_name
class_name
Definition: DetectStreamerInfoChanges.py:57
IAthenaRootStreamerSvc::AddStreamer
virtual StatusCode AddStreamer(const std::string &converter_classname, bool adopt=true)=0
Create (or exetend) ROOT streamer Class name for which the streamer is added is extracted from the co...