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#include <typeinfo>
7#include <string>
8
9 CPPUNIT_NS_BEGIN
10
13 class CPPUNIT_API TypeInfoHelper
14 {
15 public:
22 static std::string getClassName( const std::type_info &info );
23 };
24
25 CPPUNIT_NS_END
26
27#endif // CPPUNIT_TYPEINFOHELPER_H
CPPUNIT_API
#define CPPUNIT_API
Definition CppUnitApi.h:27
Portability.h
CPPUNIT_NS_END
#define CPPUNIT_NS_END
Definition Portability.h:106
CPPUNIT_NS_BEGIN
#define CPPUNIT_NS_BEGIN
Definition Portability.h:105
TypeInfoHelper
!
Definition TypeInfoHelper.h:14
TypeInfoHelper::getClassName
static std::string getClassName(const std::type_info &info)
Get the class name of the specified type_info.
Definition TypeInfoHelper.cpp:15

| Send comments to: CppUnit Developers