ATLAS Offline Software
AsgToolMacros.cxx
Go to the documentation of this file.
1 //
2 // Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 //
4 
5 // Local include(s).
7 
8 // System include(s).
9 #include <cstdio>
10 #include <string>
11 
12 namespace asg {
13 
14 std::string ptrToString (const void* p)
15 {
16  char buf[80];
17  snprintf (buf, 80, "%p", p);
18  return std::string(buf);
19 }
20 
21 } // namespace asg
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
asg
Definition: DataHandleTestTool.h:28
AsgToolMacros.h
asg::ptrToString
std::string ptrToString(const void *p)
Definition: AsgToolMacros.cxx:14