|
ATLAS Offline Software
|
Go to the documentation of this file.
20 #ifndef XAOD_STANDALONE
26 #include <unordered_map>
30 using AthContainers_detail::lock_guard;
39 typedef std::unordered_map<const std::type_info*, DVLInfoBase*>
60 const std::type_info& elt_tinfo)
62 m_elt_tinfo (elt_tinfo)
65 if (s_dvl_tinfo_map == 0)
67 (*s_dvl_tinfo_map)[&
tinfo] =
this;
82 if (
i != s_dvl_tinfo_map->end())
88 #ifdef XAOD_STANDALONE
JetConstituentVector::iterator iterator
struct DataModel_detail::dvlmapdel s_dvlmapdel
const std::type_info & tinfo() const
Return the type_info for the container.
static CLID typeinfoToCLID(const std::type_info &ti)
Return the CLID corresponding to a type_info.
DVLInfoBase(const std::type_info &tinfo, const std::type_info &elt_tinfo)
Constructor.
static const std::type_info * CLIDToTypeinfo(CLID clid)
Translate between CLID and type_info.
Holder to implement conversion copies for DataVector/DataList.
CLID clid() const
Return the CLID for the container.
const std::type_info & m_tinfo
The type_info of the container.
std::unordered_map< const std::type_info *, DVLInfoBase * > dvl_tinfo_map_t
Maps from tinfo pointers and CLID to DVLInfo instances.
static DVLInfoBase * find(const std::type_info &tinfo)
Find the DVLInfo for the container tinfo.
uint32_t CLID
The Class ID type.
a static registry of CLID->typeName entries. NOT for general use. Use ClassIDSvc instead.
dvl_tinfo_map_t *s_dvl_tinfo_map ATLAS_THREAD_SAFE