#include <ustring.h>

Public Member Functions

 UChar ()
 UChar (unsigned char h, unsigned char l)
 UChar (char u)
 UChar (unsigned char u)
 UChar (unsigned short u)
unsigned char high () const
unsigned char low () const
unsigned short unicode () const

Public Attributes

unsigned short uc

Detailed Description

Unicode character.

UChar represents a 16 bit Unicode character. Its 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 70 of file ustring.h.

Constructor & Destructor Documentation

KJS::UChar::UChar ( )

Construct a character with uninitialized value.

Definition at line 115 of file ustring.h.

KJS::UChar::UChar ( unsigned char  h,
unsigned char  l 

Construct a character with the value denoted by the arguments.

hhigher byte
llower byte

Definition at line 116 of file ustring.h.

KJS::UChar::UChar ( char  u)

Construct a character with the given value.

u16 bit Unicode value

Definition at line 117 of file ustring.h.

Member Function Documentation

unsigned char KJS::UChar::high ( ) const
The higher byte of the character.

Definition at line 91 of file ustring.h.

unsigned char KJS::UChar::low ( ) const
The lower byte of the character.

Definition at line 99 of file ustring.h.

unsigned short KJS::UChar::unicode ( ) const
the 16 bit Unicode value of the character

Definition at line 107 of file ustring.h.

The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Aug 3 2020 22:59:29 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.