|
From: Christian P. <cp...@us...> - 2005-01-10 02:36:25
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses/Util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21451/include/pclasses/Util Modified Files: StringTool.h Log Message: Added StringTool::upperCase(), StringTool::lowerCase() Index: StringTool.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/Util/StringTool.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- StringTool.h 26 Dec 2004 13:11:01 -0000 1.5 +++ StringTool.h 10 Jan 2005 02:36:16 -0000 1.6 @@ -249,6 +249,8 @@ inline const EntityMap & defaultEscapesTranslations() { + //@@fixme 050110 cproch: + // why is this a Phoenix ? could be a simple statically allocated structure? typedef ::P::Phoenix<EntityMap, StrSharingContext<EntityMap>, defaultEscapesInitializer @@ -351,6 +353,11 @@ size_t expandDollarRefsInline( std::string & buffer, const EntityMap & src ); +//! Returns a copy of the string converted to uppercase letters +std::string upperCase(const std::string& str); + +//! Returns a copy of the string converted to lowercase letters +std::string lowerCase(const std::string& str); }} // namespace P::StringTool |