stringutil.h File Reference

#include <string>
#include <vector>
#include <ctime>

Go to the source code of this file.

Functions

std::string toString (bool b)
std::string toString (int n)
std::string toString (unsigned n)
std::string toString (double n)
std::string lowercase (const std::string &s)
int toPosInt (const std::string &s)
unsigned toUnsigned (const std::string &s)
unsigned long toUnsignedLong (const std::string &s)
double toDouble (const std::string &s)
bool toBool (const std::string &s)
void splitString (const std::string &s, char delim, std::vector< std::string > &v)
std::string stripLeadingWS (const std::string &s)
std::string stripLineComment (const std::string &s, char delim= '#')
std::string stripTrailingWS (const std::string &s)
std::string stripApostrophe (const std::string &s)


Function Documentation

std::string lowercase const std::string &  s  ) 
 

void splitString const std::string &  s,
char  delim,
std::vector< std::string > &  v
 

std::string stripApostrophe const std::string &  s  ) 
 

std::string stripLeadingWS const std::string &  s  ) 
 

std::string stripLineComment const std::string &  s,
char  delim = '#'
 

std::string stripTrailingWS const std::string &  s  ) 
 

bool toBool const std::string &  s  ) 
 

double toDouble const std::string &  s  ) 
 

int toPosInt const std::string &  s  ) 
 

std::string toString double  n  ) 
 

std::string toString unsigned  n  ) 
 

std::string toString int  n  ) 
 

std::string toString bool  b  ) 
 

unsigned toUnsigned const std::string &  s  ) 
 

unsigned long toUnsignedLong const std::string &  s  ) 
 


Generated on Mon Mar 27 09:27:19 2006 for Powersave Daemon by  doxygen 1.4.6