CppUnit project page FAQ

StringTools.h
Go to the documentation of this file.
1 #ifndef CPPUNIT_TOOLS_STRINGTOOLS_H
2 #define CPPUNIT_TOOLS_STRINGTOOLS_H
3 
4 #include <cppunit/Portability.h>
5 #include <string>
7 
8 
10 
11 
15 {
16 
17  typedef CppUnitVector<std::string> Strings;
18 
19  static std::string CPPUNIT_API toString( int value );
20 
21  static std::string CPPUNIT_API toString( double value );
22 
23  static Strings CPPUNIT_API split( const std::string &text,
24  char separator );
25 
26  static std::string CPPUNIT_API wrap( const std::string &text,
27  int wrapColumn = CPPUNIT_WRAP_COLUMN );
28 
29 };
30 
31 
33 
34 #endif // CPPUNIT_TOOLS_STRINGTOOLS_H

Send comments to:
CppUnit Developers