CppUnit project page FAQ CppUnit home page

StringTools Struct Reference

Tool functions to manipulate string. More...

#include <StringTools.h>

List of all members.

Public Types

typedef CppUnitVector
< std::string > 
Strings

Static Public Member Functions

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)


Detailed Description

Tool functions to manipulate string.

Member Typedef Documentation

typedef CppUnitVector<std::string> StringTools::Strings


Member Function Documentation

StringTools::Strings StringTools::split ( const std::string &  text,
char  separator 
) [static]

std::string StringTools::toString ( double  value  )  [static]

CPPUNIT_NS_BEGIN std::string StringTools::toString ( int  value  )  [static]

std::string StringTools::wrap ( const std::string &  text,
int  wrapColumn = CPPUNIT_WRAP_COLUMN 
) [static]


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

SourceForge Logo hosts this site. Send comments to:
CppUnit Developers