CppUnit project page FAQ

TypeInfoHelper Class Reference

! More...

#include <TypeInfoHelper.h>

List of all members.

Static Public Member Functions

static std::string getClassName (const std::type_info &info)
 Get the class name of the specified type_info.

Detailed Description

!

Helper to use type_info.


Member Function Documentation

CPPUNIT_NS_BEGIN std::string TypeInfoHelper::getClassName ( const std::type_info &  info  )  [static]

Get the class name of the specified type_info.

Parameters:
info Info which the class name is extracted from.
Returns:
The string returned by type_info::name() without the "class" prefix. If the name is not prefixed by "class", it is returned as this.

The documentation for this class was generated from the following files:

Send comments to:
CppUnit Developers