ATLAS Offline Software
safe_clid.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 
3 /*
4  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5 */
6 
31 #ifndef ATHENAKERNEL_SAFECLID_H
32 #define ATHENAKERNEL_SAFECLID_H
33 
34 
35 #include "GaudiKernel/ClassID.h"
36 
37 
38 namespace SG {
39 
40 
46 template <class T>
47 constexpr CLID safe_clid();
48 
49 
50 } // namespace SG
51 
52 
54 
55 
56 #endif // not ATHENAKERNEL_SAFECLID_H
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
safe_clid.icc
SG::safe_clid
constexpr CLID safe_clid()
Return the class ID of T, or CLID_NULL if it doesn't have one.
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47