Google

Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

StringUtils Namespace Reference

< a collection of useful string functions. More...


Functions

void strip ( std::string& str )
 strips a string.

template<classT> std::string x2s ( T t )
 converts anything to a string.

template<classT> T s2x ( const std::string& s )
 extract anything from a string.

std::strstream& operator>> ( std::strstream& in, bool& w )
 reads a boolean value from a strstream.

bool isnum ( const std::string& s )
 returns true if the string is a number.

void toupper ( std::string &s )
 converts a string to upper case.


Detailed Description

< a collection of useful string functions.


Function Documentation

bool StringUtils::isnum ( const std::string & s )
 

returns true if the string is a number.

std::strstream & StringUtils::operator>> ( std::strstream & in,
bool & w )
 

reads a boolean value from a strstream.

template<classT>
T StringUtils::s2x ( const std::string & s )
 

extract anything from a string.

void StringUtils::strip ( std::string & str )
 

strips a string.

void StringUtils::toupper ( std::string & s ) [inline]
 

converts a string to upper case.

template<classT>
std::string StringUtils::x2s ( T what )
 

converts anything to a string.


LeoArg (C) under the terms of the GPL by King Leo (Martin Oberzalek)
Documentation created by Doxygen 1.2.2