StringUtils(3)

NAME
StringUtils - < a collection of useful string functions.

SYNOPSIS

  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.

AUTHOR

Generated automatically by Doxygen for LeoArg from the source code.