ATLAS Offline Software
Control
AthContainers
AthContainers
AthContainers/AthContainers/ClassName.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id: ClassName.h 581165 2014-02-03 10:42:54Z krasznaa $
8
#ifndef ATHCONTAINERS_CLASSNAME_H
9
#define ATHCONTAINERS_CLASSNAME_H
10
11
#ifndef XAOD_STANDALONE
12
13
// Get the code from AthenaKernel:
14
#include "
AthenaKernel/ClassName.h
"
15
16
#else
17
18
// STL include(s):
19
#include <string>
20
35
template
<
class
T >
36
class
ClassName
{
37
38
public
:
40
static
std::string
name
();
41
42
};
// class ClassName
43
44
// Include the implementation:
45
#include "ClassName.icc"
46
47
#endif // not XAOD_STANDALONE
48
49
#endif // not ATHCONTAINERS_CLASSNAME_H
ClassName.h
An interface for getting the name of a class as a string.
ClassName
An interface for getting the name of a class as a string.
Definition:
AthenaKernel/AthenaKernel/ClassName.h:33
ClassName::name
static std::string name()
Return the name of class T as a string.
Generated on Thu Nov 7 2024 21:11:56 for ATLAS Offline Software by
1.8.18