| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

UtilString Namespace Reference


Functions

bool atob (const char *s)
bool atob (const char *s, bool &isvalid)
int cmp_nocase (const std::string &s1, const std::string &s2)
int cmp_wildcard (const std::string &s, const std::string &w)
void MakePrintable (const char *in, std::string &out)
void StringTok (std::vector< std::string > &ls, const std::string &str, const std::string &tok)
bool IsBool (const char *s)
bool IsInt (const char *s)
bool IsFloat (const char *s)
std::string ToLower (const std::string &str)
std::string ToUpper (const std::string &str)
template<class T>
std::string ToString (const T &t, std::ios_base &(*f)(std::ios_base &)=std::dec)

Function Documentation

bool UtilString::atob ( const char *  s  ) 

bool UtilString::atob ( const char *  s,
bool &  isvalid 
)

int UtilString::cmp_nocase ( const std::string &  s1,
const std::string &  s2 
)

int UtilString::cmp_wildcard ( const std::string &  s,
const std::string &  w 
)

void UtilString::MakePrintable ( const char *  in,
std::string &  out 
)

void UtilString::StringTok ( std::vector< std::string > &  ls,
const std::string &  str,
const std::string &  tok 
)

bool UtilString::IsBool ( const char *  s  ) 

bool UtilString::IsInt ( const char *  s  ) 

bool UtilString::IsFloat ( const char *  s  ) 

std::string UtilString::ToLower ( const std::string &  str  ) 

std::string UtilString::ToUpper ( const std::string &  str  ) 

template<class T>
std::string UtilString::ToString ( const T &  t,
std::ios_base &(*)(std::ios_base &)  f = std::dec 
)

Definition at line 53 of file UtilString.h.

00053                                                                             {
00054     std::ostringstream oss;
00055     oss << f << t;
00056     return oss.str();
00057   }

| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:15:49 2011 for DatabaseInterface by doxygen 1.4.7