.TH "KJS::UChar" 3 "28 Jan 2004" "kjs Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KJS::UChar \- Unicode character.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <ustring.h>\fP
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBUChar\fP ()"
.br
.RI "\fIConstruct a character with value 0. \fP"
.ti -1c
.RI "\fBUChar\fP (unsigned char h, unsigned char l)"
.br
.RI "\fIConstruct a character with the value denoted by the arguments. \fP"
.ti -1c
.RI "\fBUChar\fP (unsigned short u)"
.br
.RI "\fIConstruct a character with the given value. \fP"
.ti -1c
.RI "\fBUChar\fP (const  \fBUCharReference\fP &c)"
.br
.ti -1c
.RI "unsigned char \fBhigh\fP () const "
.br
.ti -1c
.RI "unsigned char \fBlow\fP () const "
.br
.ti -1c
.RI "unsigned short \fBunicode\fP () const "
.br
.ti -1c
.RI "\fBUChar\fP \fBtoLower\fP () const "
.br
.ti -1c
.RI "\fBUChar\fP \fBtoUpper\fP () const "
.br
.in -1c
.SS "Static Public Attributes"

.in +1c
.ti -1c
.RI "\fBUChar\fP \fBnull\fP"
.br
.RI "\fIA static instance of UChar(0). \fP"
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBUCharReference\fP"
.br
.ti -1c
.RI "class \fBUString\fP"
.br
.ti -1c
.RI "bool \fBoperator==\fP (const  \fBUChar\fP &c1, const  \fBUChar\fP &c2)"
.br
.ti -1c
.RI "bool \fBoperator==\fP (const  \fBUString\fP &s1, const  char *s2)"
.br
.ti -1c
.RI "bool \fBoperator<\fP (const  \fBUString\fP &s1, const  \fBUString\fP &s2)"
.br
.in -1c
.SH "Detailed Description"
.PP 
Unicode character. 

\fBUChar\fP represents a 16 bit Unicode character. It's internal data representation is compatible to XChar2b and \fBQChar\fP. It's therefore possible to exchange data with X and \fBQt\fP with shallow copies. 
.PP
Definition at line 51 of file ustring.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KJS::UChar::UChar ()\fC [inline]\fP"
.PP
Construct a character with value 0. Definition at line 103 of file ustring.h.
.PP
Referenced by toLower(), and toUpper().
.SS "KJS::UChar::UChar (unsigned char h, unsigned char l)\fC [inline]\fP"
.PP
Construct a character with the value denoted by the arguments. \fBParameters:\fP
.RS 4
\fIh\fP higher byte 
.br
\fIl\fP lower byte 
.RE
.PP
Definition at line 104 of file ustring.h.
.SS "KJS::UChar::UChar (unsigned short u)\fC [inline]\fP"
.PP
Construct a character with the given value. \fBParameters:\fP
.RS 4
\fIu\fP 16 bit Unicode value 
.RE
.PP
Definition at line 105 of file ustring.h.
.SH "Member Function Documentation"
.PP 
.SS "unsigned char KJS::UChar::high () const\fC [inline]\fP"
.PP
\fBReturns:\fP
.RS 4
The higher byte of the character. 
.RE
.PP
Definition at line 71 of file ustring.h.
.SS "unsigned char KJS::UChar::low () const\fC [inline]\fP"
.PP
\fBReturns:\fP
.RS 4
The lower byte of the character. 
.RE
.PP
Definition at line 75 of file ustring.h.
.PP
Referenced by KJS::UString::ascii().
.SS "unsigned short KJS::UChar::unicode () const\fC [inline]\fP"
.PP
\fBReturns:\fP
.RS 4
the 16 bit Unicode value of the character 
.RE
.PP
Definition at line 79 of file ustring.h.
.PP
Referenced by KJS::UCharReference::unicode().
.SS "\fBUChar\fP UChar::toLower () const"
.PP
\fBReturns:\fP
.RS 4
The character converted to lower case. 
.RE
.PP
Definition at line 131 of file ustring.cpp.
.PP
References UChar().
.PP
Referenced by KJS::UCharReference::toLower().
.SS "\fBUChar\fP UChar::toUpper () const"
.PP
\fBReturns:\fP
.RS 4
The character converted to upper case. 
.RE
.PP
Definition at line 140 of file ustring.cpp.
.PP
References UChar().
.PP
Referenced by KJS::UCharReference::toUpper().
.SH "Member Data Documentation"
.PP 
.SS "\fBUChar\fP \fBUChar::null\fP\fC [static]\fP"
.PP
A static instance of UChar(0). Definition at line 121 of file ustring.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for kjs Library from the source code.
