/
lasersquad
/
LogEngine2
Обзор
Документация
Войти
/
lasersquad
/
LogEngine2
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
external/cppunit/tools/StringTools.h
34 строки
720 B
lasersquad0
init
24 янв 2024, 00:12
24 янв 2024, 00:12
8cf8180
Код
Авторство
О чём код?
#ifndef CPPUNIT_TOOLS_STRINGTOOLS_H #define CPPUNIT_TOOLS_STRINGTOOLS_H #include <cppunit/Portability.h> #include <string> #include <vector> CPPUNIT_NS_BEGIN /*! \brief Tool functions to manipulate string. */ struct StringTools { typedef std::vector<std::string> Strings; static std::string CPPUNIT_API toString( int value ); static std::string CPPUNIT_API toString( double value ); static Strings CPPUNIT_API split( const std::string &text, char separator ); static std::string CPPUNIT_API wrap( const std::string &text, int wrapColumn = CPPUNIT_WRAP_COLUMN ); }; CPPUNIT_NS_END #endif // CPPUNIT_TOOLS_STRINGTOOLS_H