ATLAS Offline Software
Loading...
Searching...
No Matches
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:
15
16#else
17
18// STL include(s):
19#include <string>
20
35template< class T >
36class ClassName {
37
38public:
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
An interface for getting the name of a class as a string.
An interface for getting the name of a class as a string.
static std::string name()
Return the name of class T as a string.