ATLAS Offline Software
Loading...
Searching...
No Matches
Control
AthToolSupport
AsgTools
Root
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).
6
#include "
AsgTools/AsgToolMacros.h
"
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
AsgToolMacros.h
asg
Definition
DataHandleTestTool.h:28
asg::ptrToString
std::string ptrToString(const void *p)
Definition
AsgToolMacros.cxx:14
Generated on
for ATLAS Offline Software by
1.14.0