ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaKernel
AthenaKernel
IDictLoaderSvc.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// IDictLoaderSvc.h
8
// Header file for class IDictLoaderSvc
9
// Author: S.Binet<binet@cern.ch>
11
#ifndef ATHENAKERNEL_IDICTLOADERSVC_H
12
#define ATHENAKERNEL_IDICTLOADERSVC_H 1
13
22
23
// STL includes
24
#include <string>
25
#include <typeinfo>
26
27
// FrameWork includes
28
#include "GaudiKernel/IInterface.h"
29
#include "GaudiKernel/ClassID.h"
30
31
#include "
DataModelRoot/RootType.h
"
32
#include "
CxxUtils/checker_macros.h
"
33
34
35
class
IDictLoaderSvc
36
:
virtual
public
::IInterface
37
{
39
// Public methods:
41
public
:
42
DeclareInterfaceID
(
IDictLoaderSvc
, 1, 0);
43
46
virtual
~IDictLoaderSvc
();
47
49
// Non-const methods:
51
54
virtual
55
bool
has_type
(
const
std::string& type_name) = 0;
56
59
virtual
60
bool
has_type
(
const
std::type_info& typeinfo) = 0;
61
64
virtual
65
bool
has_type
(
CLID
clid) = 0;
66
71
virtual
72
const
RootType
load_type
(
const
std::string& type_name,
bool
recursive =
false
) = 0;
73
80
virtual
81
const
RootType
load_type
(
const
std::type_info& typeinfo,
bool
recursive =
false
) = 0;
82
87
virtual
88
const
RootType
load_type
(
CLID
clid,
bool
recursive =
false
) = 0;
89
90
};
91
92
#endif
//> !ATHENAKERNEL_IDICTLOADERSVC_H
CLID
uint32_t CLID
The Class ID type.
Definition
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
RootType.h
RootType
TTypeAdapter RootType
Definition
RootType.h:211
checker_macros.h
Define macros for attributes used to control the static checker.
IDictLoaderSvc
a simple interface to interact with the Reflex dictionaries and abstract/workaround a few ROOT bugs.
Definition
IDictLoaderSvc.h:37
IDictLoaderSvc::DeclareInterfaceID
DeclareInterfaceID(IDictLoaderSvc, 1, 0)
IDictLoaderSvc::load_type
virtual const RootType load_type(CLID clid, bool recursive=false)=0
retrieve a RootType by name (auto)loading the dictionary by any necessary means.
IDictLoaderSvc::load_type
virtual const RootType load_type(const std::string &type_name, bool recursive=false)=0
retrieve a RootType by name (auto)loading the dictionary by any necessary means.
IDictLoaderSvc::load_type
virtual const RootType load_type(const std::type_info &typeinfo, bool recursive=false)=0
retrieve a RootType by std::type_info (auto)loading the dictionary by any necessary means.
IDictLoaderSvc::~IDictLoaderSvc
virtual ~IDictLoaderSvc()
Destructor:
Definition
IDictLoaderSvc.cxx:18
IDictLoaderSvc::has_type
virtual bool has_type(CLID clid)=0
check a Reflex dictionary exists for a given type
IDictLoaderSvc::has_type
virtual bool has_type(const std::type_info &typeinfo)=0
check a Reflex dictionary exists for a given type
IDictLoaderSvc::has_type
virtual bool has_type(const std::string &type_name)=0
check a Reflex dictionary exists for a given type
Generated on
for ATLAS Offline Software by
1.17.0