typeinfohelper.h

来自「开发源代码的CPU卡的COS源程序。」· C头文件 代码 · 共 32 行

H
32
字号
#ifndef CPPUNIT_TYPEINFOHELPER_H#define CPPUNIT_TYPEINFOHELPER_H#include <cppunit/Portability.h>#if CPPUNIT_USE_TYPEINFO_NAME#include <typeinfo>namespace CppUnit {  /** Helper to use type_info.   */  class CPPUNIT_API TypeInfoHelper  {  public:    /** Get the class name of the specified type_info.     * \param info Info which the class name is extracted from.     * \return The string returned by type_info::name() without     *         the "class" prefix. If the name is not prefixed     *         by "class", it is returned as this.     */    static std::string getClassName( const std::type_info &info );  };}  // namespace CppUnit#endif#endif  // CPPUNIT_TYPEINFOHELPER_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?