#include <ustring.h>
Public Methods | |
| UCharReference & | operator= (UChar c) |
| UCharReference & | operator= (char c) |
| unsigned short | unicode () const |
| unsigned char | low () const |
| unsigned char | high () const |
| UChar | toLower () const |
| UChar | toUpper () const |
UCharReference is the dynamic counterpart of UChar. It's used when characters retrieved via index from a UString are used in an assignment expression (and therefore can't be treated as being const):
UString s("hello world");
s[0] = 'H';
If that sounds confusing your best bet is to simply forget about the existance of this class and treat is as being identical to UChar.
Definition at line 121 of file ustring.h.
|
|
Definition at line 144 of file ustring.h. References KJS::UChar::uc. |
|
|
Definition at line 140 of file ustring.h. References KJS::UChar::uc. |
|
|
Same operator as above except the argument that it takes. Definition at line 132 of file ustring.h. References operator=(). |
|
|
Set the referenced character to c. Referenced by operator=(). |
|
|
Definition at line 148 of file ustring.h. References KJS::UChar::toLower(). |
|
|
Definition at line 152 of file ustring.h. References KJS::UChar::toUpper(). |
|
|
Definition at line 136 of file ustring.h. References KJS::UChar::unicode(). |
1.2.18