Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
IDictLoaderSvc.h
Go to the documentation of this file.
1 
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 
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"
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
IDictLoaderSvc::has_type
virtual bool has_type(const std::type_info &typeinfo)=0
check a Reflex dictionary exists for a given type
IDictLoaderSvc
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::has_type
virtual bool has_type(CLID clid)=0
check a Reflex dictionary exists for a given type
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.
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
IDictLoaderSvc::has_type
virtual bool has_type(const std::string &type_name)=0
check a Reflex dictionary exists for a given type
IDictLoaderSvc::~IDictLoaderSvc
virtual ~IDictLoaderSvc()
Destructor:
Definition: IDictLoaderSvc.cxx:18
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.
RootType.h
generateReferenceFile.recursive
recursive
Definition: generateReferenceFile.py:12
checker_macros.h
Define macros for attributes used to control the static checker.
TScopeAdapter
Definition: RootType.h:119