ATLAS Offline Software
Loading...
Searching...
No Matches
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
33
34
36 : virtual public ::IInterface
37{
39 // Public methods:
41 public:
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
uint32_t CLID
The Class ID type.
TTypeAdapter RootType
Definition RootType.h:211
Define macros for attributes used to control the static checker.
a simple interface to interact with the Reflex dictionaries and abstract/workaround a few ROOT bugs.
DeclareInterfaceID(IDictLoaderSvc, 1, 0)
virtual const RootType load_type(CLID clid, bool recursive=false)=0
retrieve a RootType by name (auto)loading the dictionary by any necessary means.
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.
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.
virtual ~IDictLoaderSvc()
Destructor:
virtual bool has_type(CLID clid)=0
check a Reflex dictionary exists for a given type
virtual bool has_type(const std::type_info &typeinfo)=0
check a Reflex dictionary exists for a given type
virtual bool has_type(const std::string &type_name)=0
check a Reflex dictionary exists for a given type