ATLAS Offline Software
|
a static registry of CLID->typeName entries. NOT for general use. Use ClassIDSvc instead. More...
#include <CLIDRegistry.h>
Public Types | |
typedef std::tuple< unsigned long, std::string, std::string > | tuple_t |
typedef std::vector< tuple_t > | CLIDVector_t |
Static Public Member Functions | |
template<unsigned long CLID> | |
static bool | addEntry (const std::type_info &ti, const char *typeName, const std::string &typeInfoName) |
to be called by the CLASS_DEFS More... | |
static bool | hasNewEntries () |
registry accessors (used by ClassIDSvc) More... | |
static CLIDVector_t | newEntries () |
returns an iterator range over the entries added since last time newEntries was called More... | |
static const std::type_info * | CLIDToTypeinfo (CLID clid) |
Translate between CLID and type_info. More... | |
static CLID | typeinfoToCLID (const std::type_info &ti) |
Return the CLID corresponding to a type_info . More... | |
static bool | addEntry (unsigned long clid, const std::type_info &ti, const char *typeName, const std::string &typeInfoName) |
Out-of-line part of addEntry(). More... | |
Static Private Member Functions | |
static CLIDRegistryImpl & | impl () |
a static registry of CLID->typeName entries. NOT for general use. Use ClassIDSvc instead.
Definition at line 35 of file CLIDRegistry.h.
typedef std::vector< tuple_t > CLIDRegistry::CLIDVector_t |
Definition at line 40 of file CLIDRegistry.h.
typedef std::tuple<unsigned long, std::string, std::string> CLIDRegistry::tuple_t |
Definition at line 39 of file CLIDRegistry.h.
|
static |
|
static |
Out-of-line part of addEntry().
Definition at line 155 of file CLIDRegistry.cxx.
Translate between CLID and type_info.
Return the type_info
corresponding to a CLID.
clid | The CLID to find. |
Returns the corresponding type_info
or nullptr.
Definition at line 136 of file CLIDRegistry.cxx.
|
static |
registry accessors (used by ClassIDSvc)
are there new entries since last call? Does not move the entries ptr
Definition at line 111 of file CLIDRegistry.cxx.
|
staticprivate |
Definition at line 123 of file CLIDRegistry.cxx.
|
static |
returns an iterator range over the entries added since last time newEntries was called
Definition at line 117 of file CLIDRegistry.cxx.
Return the CLID corresponding to a type_info
.
ti | The type_info to find. |
Returns the corresponding CLID
or CLID_NULL.
Definition at line 148 of file CLIDRegistry.cxx.