ATLAS Offline Software
Control
AthContainers
Root
CompareAndPrint.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// $Id: CompareAndPrint.cxx 470529 2011-11-24 23:54:22Z ssnyder $
14
#include "
AthContainers/tools/CompareAndPrint.h
"
15
#include "
AthContainers/tools/error.h
"
16
#include <iostream>
17
18
19
namespace
DataModel_detail
{
20
26
void
CompareAndPrint::warn
(
const
std::type_info& ti,
const
void
*
f
)
const
27
{
28
std::cout <<
"DataVector ERROR: duplicated pointer found in a DataVector of "
29
<<
AthContainers_detail::typeinfoName
(ti)
30
<<
" owning its elements! "
31
<< std::hex <<
f
<< std::dec << std::endl;
32
}
33
34
}
// namespace DataModel_detail
Athena::typeinfoName
std::string typeinfoName(const std::type_info &ti)
Convert a type_info to a demangled string.
Definition:
AthenaKernel/src/ClassName.cxx:23
error.h
Helper for emitting error messages.
hist_file_dump.f
f
Definition:
hist_file_dump.py:135
CompareAndPrint.h
DataModel_detail
Definition:
CompareAndPrint.h:15
DataModel_detail::CompareAndPrint::warn
void warn(const std::type_info &ti, const void *f) const
Duplicate elements were found; print a warning.
Definition:
CompareAndPrint.cxx:26
Generated on Sun Dec 22 2024 21:08:23 for ATLAS Offline Software by
1.8.18