struct UChar
|
Unicode character.
More... |
|
|
Public Methods
- UChar () : hi(0), lo(0)
- UChar (unsigned char h , unsigned char l) : hi(h), lo(l)
- UChar (unsigned short u) : hi(u & 0xff00), lo(u & 0x00ff)
- unsigned short unicode () const
Public Members
- unsigned char hi
- unsigned char lo
- static UChar null
Detailed Description
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.
Construct a character with value 0.
UChar (unsigned char h , unsigned char l) : hi(h), lo(l)
|
Construct a character with the value denoted by the arguments.
Parameters:
UChar (unsigned short u) : hi(u & 0xff00), lo(u & 0x00ff)
|
Construct a character with the given value.
Parameters:
unsigned short unicode ()
|
[const]
Returns: the 16 bit Unicode value of the character
The higher byte of the character.
The lower byte of the character.
A static instance of UChar(0).
Generated by: root@porky.devel.redhat.com on Wed May 10 08:57:04 2000, using kdoc 2.0a35. |