/
lasersquad
/
LogEngine2
Обзор
Документация
Войти
/
lasersquad
/
LogEngine2
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
external/cppunit/extensions/TypeInfoHelper.h
27 строк
689 B
lasersquad0
init
24 янв 2024, 00:12
24 янв 2024, 00:12
8cf8180
Код
Авторство
О чём код?
#ifndef CPPUNIT_TYPEINFOHELPER_H #define CPPUNIT_TYPEINFOHELPER_H #include <cppunit/Portability.h> #include <typeinfo> #include <string> CPPUNIT_NS_BEGIN /**! \brief Helper to use type_info. */ class CPPUNIT_API TypeInfoHelper { public: /*! \brief 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 ); }; CPPUNIT_NS_END #endif // CPPUNIT_TYPEINFOHELPER_H