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:
hhigher byte
llower byte

 UChar (unsigned short u) : hi(u & 0xff00), lo(u & 0x00ff)

Construct a character with the given value.

Parameters:
u16 bit Unicode value

unsigned short  unicode ()

[const]

Returns: the 16 bit Unicode value of the character

unsigned char hi

The higher byte of the character.

unsigned char lo

The lower byte of the character.

static UChar null

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.