struct UChar

Unicode character. More...

Full nameKJS::UChar
Definition#include <ustring.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


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.

 UChar () : hi(0), lo(0)

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 >> 8), lo(u & 0x00ff)

Construct a character with the given value.

Parameters:

 UChar (const UCharReference &c)

unsigned char  high ()

[const]

Returns: The higher byte of the character.

unsigned char  low ()

[const]

Returns: The lower byte of the character.

unsigned short  unicode ()

[const]

Returns: the 16 bit Unicode value of the character

UChar  toLower ()

[const]

Returns: The character converted to lower case.

UChar  toUpper ()

[const]

Returns: The character converted to upper case.

static UChar null

A static instance of UChar(0).


Generated by: baudens@ke.mandrakesoft.com on Thu Oct 26 17:36:53 2000, using kdoc 2.0a40.