KJS::UChar Struct Reference
Unicode character.
More...
#include <ustring.h>
List of all members.
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
KJS::UChar::UChar |
( |
|
) |
[inline] |
|
|
Construct a character with uninitialized value.
Definition at line 99 of file ustring.h. |
KJS::UChar::UChar |
( |
unsigned char |
h, |
|
|
unsigned char |
l |
|
) |
[inline] |
|
|
Construct a character with the value denoted by the arguments.
- Parameters:
-
| h | higher byte |
| l | lower byte |
Definition at line 100 of file ustring.h. |
KJS::UChar::UChar |
( |
unsigned short |
u |
) |
[inline] |
|
|
Construct a character with the given value.
- Parameters:
-
Definition at line 103 of file ustring.h. |
Member Function Documentation
unsigned char KJS::UChar::high |
( |
|
) |
const [inline] |
|
|
- Returns:
- The higher byte of the character.
Definition at line 73 of file ustring.h. |
unsigned char KJS::UChar::low |
( |
|
) |
const [inline] |
|
|
- Returns:
- The lower byte of the character.
Definition at line 77 of file ustring.h. |
unsigned short KJS::UChar::unicode |
( |
|
) |
const [inline] |
|
|
- Returns:
- the 16 bit Unicode value of the character
Definition at line 81 of file ustring.h. |
UChar UChar::toLower |
( |
|
) |
const |
|
UChar UChar::toUpper |
( |
|
) |
const |
|
Member Data Documentation
|
A static instance of UChar(0).
|
The documentation for this struct was generated from the following files:
This file is part of the documentation for kjs Library Version 3.2.3.