ATLAS Offline Software
Loading...
Searching...
No Matches
AthContainers/AthContainers/ClassName.icc
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.icc 581165 2014-02-03 10:42:54Z krasznaa $
8#ifndef ATHCONTAINERS_CLASSNAME_ICC
9#define ATHCONTAINERS_CLASSNAME_ICC
10
11// A little sanity check:
12#ifndef XAOD_STANDALONE
13#error "ClassName.icc is not to be used outside of Athena!"
14#endif
15
16// Local include(s):
17#include "AthContainers/tools/error.h"
18
19template< class T >
20std::string ClassName< T >::name() {
21
22 return AthContainers_detail::typeinfoName( typeid( T ) );
23}
24
25#endif // ATHCONTAINERS_CLASSNAME_ICC