include/stringmgr.h File Reference

#include <defs.h>
#include <swbuf.h>
#include <utilstr.h>
Include dependency graph for stringmgr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StringMgr

Functions

SWBuftoupperstr (SWBuf &b)
char * toupperstr (char *t, unsigned int max=0)
char * toupperstr_utf8 (char *t, unsigned int max=0)

Function Documentation

SWBuf& toupperstr ( SWBuf b  )  [inline]

Converts an SWBuf filled with UTF-8 to upper case

Parameters:
b SWBuf to change to upper case
Returns:
b for convenience

Definition at line 108 of file stringmgr.h.

00108                                    {
00109     char *utf8 = 0;
00110     stdstr(&utf8, b.c_str(), 2);
00111     toupperstr(utf8, (unsigned int)strlen(utf8)*2);
00112     b = utf8;
00113     delete [] utf8;
00114     return b;
00115 }

char* toupperstr ( char *  t,
unsigned int  max = 0 
) [inline]

Definition at line 93 of file stringmgr.h.

00093                                                        {
00094     return StringMgr::getSystemStringMgr()->upperUTF8(t, max);
00095 }

char* toupperstr_utf8 ( char *  t,
unsigned int  max = 0 
) [inline]

Definition at line 97 of file stringmgr.h.

00097                                                             {
00098     return StringMgr::getSystemStringMgr()->upperUTF8(t, max);
00099 }


Generated on 18 Mar 2013 for The SWORD Project by  doxygen 1.6.1