ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
AthenaPOOL
AthenaPoolCnvSvc
src
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
12
#include "
AthenaPoolCnvSvc/TPCnvElt.h
"
13
#include "
AthenaPoolCnvSvc/exceptions.h
"
14
#include "
StorageSvc/DbReflex.h
"
15
#include "
StorageSvc/DbTypeInfo.h
"
16
17
#include "
AthenaKernel/getMessageSvc.h
"
18
#include "GaudiKernel/MsgStream.h"
19
#include "GaudiKernel/System.h"
20
#include "
DataModelRoot/RootType.h
"
21
22
23
namespace
AthenaPoolCnvSvc
{
24
25
32
Guid
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.h
Exceptions that can be thrown from AthenaPoolCnvSvc.
DbReflex.h
DbTypeInfo.h
RootType.h
RootType
TTypeAdapter RootType
Definition
RootType.h:211
TPCnvElt.h
Helper for calling a TP converter from an Athena converter.
Guid
This class provides a encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number).
Definition
Guid.h:25
pool::DbReflex::guid
static Guid guid(const RootType &id)
Determine Guid (normalized string form) from reflection type.
pool::DbTypeInfo::typeName
static const std::string typeName(const std::type_info &typ)
Access type name by type identifier from RTTI.
getMessageSvc.h
singleton-like access to IMessageSvc via open function and helper
AthenaPoolCnvSvc
Definition
Database/AthenaPOOL/AthenaPoolCnvSvc/AthenaPoolCnvSvc/debug.h:26
AthenaPoolCnvSvc::guidFromTypeinfo
Guid guidFromTypeinfo(const std::type_info &ti)
Given a type_info, get the corresponding pool guid.
Definition
TPCnvElt.cxx:32
Generated on
for ATLAS Offline Software by
1.17.0