StringUtil.cpp File Reference

#include <cctype>
#include "StringUtil.h"

Include dependency graph for StringUtil.cpp:

Go to the source code of this file.


Namespaces

namespace  StringUtil
 ::

Functions

void StringUtil::EncodeToXml (std::string &str)
std::string StringUtil::EncodeToXmlCopy (const std::string &str)
bool StringUtil::IsPrefix (const std::string &str, const std::string &prefix)
bool StringUtil::IsSuffix (const std::string &str, const std::string &suffix)
void StringUtil::ToLower (std::string::iterator start, std::string::iterator end)
 Inplace converts each character in substring [start, end) to lower-case.
void StringUtil::ToLower (std::string &str)
 Inplace converts each character in str to lower-case.
std::string StringUtil::ToLowerCopy (const std::string &str)
void StringUtil::Trim (std::string &str)
 Inplace removes all leading and trailing whitespace from str.
std::string StringUtil::TrimCopy (const std::string &str)


Generated on Wed Jul 7 16:30:28 2010 for CS240Utils by  doxygen 1.5.8