CppUnit - The Unit Testing Library

CppUnit project page | FAQ

TypeInfoHelper.h
Go to the documentation of this file.
1 #ifndef CPPUNIT_TYPEINFOHELPER_H
2 #define CPPUNIT_TYPEINFOHELPER_H
3
4 #include <cppunit/Portability.h>
5
6 #if CPPUNIT_HAVE_RTTI
7
8 #include <typeinfo>
9 #include <string>
10
11 CPPUNIT_NS_BEGIN
12
13
16 class CPPUNIT_API TypeInfoHelper
17 {
18 public:
25 static std::string getClassName( const std::type_info &info );
26 };
27
28
29 CPPUNIT_NS_END
30
31 #endif // CPPUNIT_HAVE_RTTI
32
33 #endif // CPPUNIT_TYPEINFOHELPER_H
Portability.h
CPPUNIT_NS_END
#define CPPUNIT_NS_END
Definition: Portability.h:120
CPPUNIT_NS_BEGIN
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:119
CPPUNIT_API
#define CPPUNIT_API
Definition: CppUnitApi.h:27

| Send comments to: CppUnit Developers