KJS::UChar Struct Reference
Unicode character. More...
#include <ustring.h>
Public Member Functions | |
UChar () | |
Construct a character with value 0. | |
UChar (unsigned char h, unsigned char l) | |
Construct a character with the value denoted by the arguments. | |
UChar (unsigned short u) | |
Construct a character with the given value. | |
UChar (const UCharReference &c) | |
unsigned char | high () const |
unsigned char | low () const |
unsigned short | unicode () const |
UChar | toLower () const |
UChar | toUpper () const |
Static Public Attributes | |
UChar | null |
A static instance of UChar(0). | |
Friends | |
class | UCharReference |
class | UString |
bool | operator== (const UChar &c1, const UChar &c2) |
bool | operator== (const UString &s1, const char *s2) |
bool | operator< (const UString &s1, const UString &s2) |
Detailed Description
Unicode character.UChar represents a 16 bit Unicode character. It's internal data representation is compatible to XChar2b and QChar. It's therefore possible to exchange data with X and Qt with shallow copies.
Definition at line 51 of file ustring.h.
Constructor & Destructor Documentation
|
Construct a character with value 0.
|
|
Construct a character with the value denoted by the arguments.
|
|
Construct a character with the given value.
|
Member Function Documentation
|
|
|
Definition at line 75 of file ustring.h. Referenced by KJS::UString::ascii(). |
|
Definition at line 79 of file ustring.h. Referenced by KJS::UCharReference::unicode(). |
|
Definition at line 131 of file ustring.cpp. References UChar(). Referenced by KJS::UCharReference::toLower(). |
|
Definition at line 140 of file ustring.cpp. References UChar(). Referenced by KJS::UCharReference::toUpper(). |
Member Data Documentation
|
A static instance of UChar(0).
Definition at line 121 of file ustring.cpp. |
The documentation for this struct was generated from the following files: