Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ATHENAKERNEL_CLIDREGISTRY_H
6 # define ATHENAKERNEL_CLIDREGISTRY_H
14 #include "GaudiKernel/ClassID.h"
37 typedef std::tuple <
unsigned long,
43 template <
unsigned long CLID>
44 static bool addEntry(
const std::type_info& ti,
46 const std::string& typeInfoName);
63 static bool addEntry (
unsigned long clid,
64 const std::type_info& ti,
66 const std::string& typeInfoName);
73 template <
unsigned long CLID>
76 const std::string& typeInfoName) {
78 "CLID out of CLIDRegistry range");
85 #endif // ATHENAKERNEL_CLIDREGISTRY_H
static CLIDVector_t newEntries()
returns an iterator range over the entries added since last time newEntries was called
const unsigned long MINCLID
static CLID typeinfoToCLID(const std::type_info &ti)
Return the CLID corresponding to a type_info.
static bool addEntry(const std::type_info &ti, const char *typeName, const std::string &typeInfoName)
to be called by the CLASS_DEFS
static const std::type_info * CLIDToTypeinfo(CLID clid)
Translate between CLID and type_info.
const unsigned long MAXCLID
2**31 - 1
std::tuple< unsigned long, std::string, std::string > tuple_t
static bool hasNewEntries()
registry accessors (used by ClassIDSvc)
uint32_t CLID
The Class ID type.
a static registry of CLID->typeName entries. NOT for general use. Use ClassIDSvc instead.
static CLIDRegistryImpl & impl()
std::vector< tuple_t > CLIDVector_t