![]() |
ATLAS Offline Software
|
#include <AthDictLoaderSvc.h>
Public Member Functions | |
| AthDictLoaderSvc (const std::string &name, ISvcLocator *pSvcLocator) | |
| Constructor with parameters: | |
| virtual | ~AthDictLoaderSvc () |
| Destructor: | |
| virtual StatusCode | initialize () override |
| Gaudi Service Implementation. | |
| virtual StatusCode | finalize () override |
| virtual bool | has_type (const std::string &type_name) override |
check a Reflex dictionary exists for a given type | |
| virtual bool | has_type (const std::type_info &typeinfo) override |
check a Reflex dictionary exists for a given type | |
| virtual bool | has_type (CLID clid) override |
check a Reflex dictionary exists for a given type | |
| virtual const RootType | load_type (const std::string &type_name, bool recursive=false) override |
retrieve a Reflex::Type by name (auto)loading the dictionary by any necessary means. | |
| virtual const RootType | load_type (const std::type_info &typeinfo, bool recursive=false) override |
retrieve a Reflex::Type by std::type_info (auto)loading the dictionary by any necessary means. | |
| virtual const RootType | load_type (CLID clid, bool recursive=false) override |
retrieve a Reflex::Type by name (auto)loading the dictionary by any necessary means. | |
Private Types | |
| using | Memo_t = std::unordered_set<std::string> |
Private Member Functions | |
| AthDictLoaderSvc () | |
| Default constructor: | |
| void | load_recursive (const RootType &typ) |
| void | load_recursive1 (const std::string &tnam, Memo_t &memo) |
| void | load_recursive1 (const RootType &typ, Memo_t &memo) |
Private Attributes | |
| const Ath::DsoDb * | m_dsodb |
| dictionary of all known (reflex) types | |
| ServiceHandle< IClassIDSvc > | m_clidSvc |
handle to a IClassIDSvc to handle loading of types by CLID | |
| ServiceHandle< ITPCnvSvc > | m_tpCnvSvc |
Definition at line 34 of file AthDictLoaderSvc.h.
|
private |
Definition at line 117 of file AthDictLoaderSvc.h.
| AthDictLoaderSvc::AthDictLoaderSvc | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Constructor with parameters:
Definition at line 38 of file AthDictLoaderSvc.cxx.
|
virtual |
|
private |
Default constructor:
|
overridevirtual |
Definition at line 70 of file AthDictLoaderSvc.cxx.
|
overridevirtual |
check a Reflex dictionary exists for a given type
Definition at line 103 of file AthDictLoaderSvc.cxx.
|
overridevirtual |
check a Reflex dictionary exists for a given type
Definition at line 79 of file AthDictLoaderSvc.cxx.
|
overridevirtual |
check a Reflex dictionary exists for a given type
Definition at line 95 of file AthDictLoaderSvc.cxx.
|
overridevirtual |
Gaudi Service Implementation.
Definition at line 54 of file AthDictLoaderSvc.cxx.
Definition at line 204 of file AthDictLoaderSvc.cxx.
Definition at line 222 of file AthDictLoaderSvc.cxx.
Definition at line 211 of file AthDictLoaderSvc.cxx.
retrieve a Reflex::Type by name (auto)loading the dictionary by any necessary means.
If recursive is true, then recursively load contained types.
Definition at line 166 of file AthDictLoaderSvc.cxx.
|
overridevirtual |
retrieve a Reflex::Type by name (auto)loading the dictionary by any necessary means.
If recursive is true, then recursively load contained types.
Definition at line 130 of file AthDictLoaderSvc.cxx.
|
overridevirtual |
retrieve a Reflex::Type by std::type_info (auto)loading the dictionary by any necessary means.
This method is preferred over the above one as it is guaranteed to succeed IF the dictionary for that type has been generated. If recursive is true, then recursively load contained types.
Definition at line 153 of file AthDictLoaderSvc.cxx.
|
private |
handle to a IClassIDSvc to handle loading of types by CLID
Definition at line 112 of file AthDictLoaderSvc.h.
|
private |
dictionary of all known (reflex) types
Definition at line 108 of file AthDictLoaderSvc.h.
|
private |
Definition at line 114 of file AthDictLoaderSvc.h.