ATLAS Offline Software
Loading...
Searching...
No Matches
TPCnvElt.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
10
11
14#include "StorageSvc/DbReflex.h"
16
18#include "GaudiKernel/MsgStream.h"
19#include "GaudiKernel/System.h"
21
22
23namespace AthenaPoolCnvSvc {
24
25
32Guid guidFromTypeinfo (const std::type_info& ti)
33{
34 RootType temp = RootType(ti);
35 return pool::DbReflex::guid ((temp) ? temp : RootType(pool::DbTypeInfo::typeName(ti)));
36}
37
38
39} // namespace AthenaPoolCnvSvc
Exceptions that can be thrown from AthenaPoolCnvSvc.
TTypeAdapter RootType
Definition RootType.h:211
Helper for calling a TP converter from an Athena converter.
This class provides a encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number).
Definition Guid.h:25
static Guid guid(const RootType &id)
Determine Guid (normalized string form) from reflection type.
static const std::string typeName(const std::type_info &typ)
Access type name by type identifier from RTTI.
singleton-like access to IMessageSvc via open function and helper
Guid guidFromTypeinfo(const std::type_info &ti)
Given a type_info, get the corresponding pool guid.
Definition TPCnvElt.cxx:32