\section{KJS::UChar Struct Reference}
\label{structKJS_1_1UChar}\index{KJS::UChar@{KJS::UChar}}
Unicode character.  


{\tt \#include $<$ustring.h$>$}

Collaboration diagram for KJS::UChar:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=75pt]{structKJS_1_1UChar__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf UChar} ()
\begin{CompactList}\small\item\em Construct a character with value 0. \item\end{CompactList}\item 
{\bf UChar} (unsigned char h, unsigned char l)
\begin{CompactList}\small\item\em Construct a character with the value denoted by the arguments. \item\end{CompactList}\item 
{\bf UChar} (unsigned short u)
\begin{CompactList}\small\item\em Construct a character with the given value. \item\end{CompactList}\item 
{\bf UChar} (const  {\bf UChar\-Reference} \&c)\label{structKJS_1_1UChar_a3}

\item 
unsigned char {\bf high} () const 
\item 
unsigned char {\bf low} () const 
\item 
unsigned short {\bf unicode} () const 
\item 
{\bf UChar} {\bf to\-Lower} () const 
\item 
{\bf UChar} {\bf to\-Upper} () const 
\end{CompactItemize}
\subsection*{Static Public Attributes}
\begin{CompactItemize}
\item 
{\bf UChar} {\bf null}
\begin{CompactList}\small\item\em A static instance of UChar(0). \item\end{CompactList}\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf UChar\-Reference}\label{structKJS_1_1UChar_n0}

\item 
class {\bf UString}\label{structKJS_1_1UChar_n1}

\item 
bool {\bf operator==} (const  {\bf UChar} \&c1, const  {\bf UChar} \&c2)\label{structKJS_1_1UChar_n2}

\item 
bool {\bf operator==} (const  {\bf UString} \&s1, const  char $\ast$s2)\label{structKJS_1_1UChar_n3}

\item 
bool {\bf operator$<$} (const  {\bf UString} \&s1, const  {\bf UString} \&s2)\label{structKJS_1_1UChar_n4}

\end{CompactItemize}


\subsection{Detailed Description}
Unicode character. 

{\bf UChar}{\rm (p.\,\pageref{structKJS_1_1UChar})} represents a 16 bit Unicode character. It's internal data representation is compatible to XChar2b and {\bf QChar}. It's therefore possible to exchange data with X and {\bf Qt} with shallow copies. 



Definition at line 51 of file ustring.h.

\subsection{Constructor \& Destructor Documentation}
\index{KJS::UChar@{KJS::UChar}!UChar@{UChar}}
\index{UChar@{UChar}!KJS::UChar@{KJS::UChar}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KJS::UChar::UChar ()\hspace{0.3cm}{\tt  [inline]}}\label{structKJS_1_1UChar_a0}


Construct a character with value 0. 



Definition at line 103 of file ustring.h.

Referenced by to\-Lower(), and to\-Upper().\index{KJS::UChar@{KJS::UChar}!UChar@{UChar}}
\index{UChar@{UChar}!KJS::UChar@{KJS::UChar}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KJS::UChar::UChar (unsigned char {\em h}, unsigned char {\em l})\hspace{0.3cm}{\tt  [inline]}}\label{structKJS_1_1UChar_a1}


Construct a character with the value denoted by the arguments. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em h}]higher byte \item[{\em l}]lower byte \end{description}
\end{Desc}


Definition at line 104 of file ustring.h.\index{KJS::UChar@{KJS::UChar}!UChar@{UChar}}
\index{UChar@{UChar}!KJS::UChar@{KJS::UChar}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KJS::UChar::UChar (unsigned short {\em u})\hspace{0.3cm}{\tt  [inline]}}\label{structKJS_1_1UChar_a2}


Construct a character with the given value. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em u}]16 bit Unicode value \end{description}
\end{Desc}


Definition at line 105 of file ustring.h.

\subsection{Member Function Documentation}
\index{KJS::UChar@{KJS::UChar}!high@{high}}
\index{high@{high}!KJS::UChar@{KJS::UChar}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned char KJS::UChar::high () const\hspace{0.3cm}{\tt  [inline]}}\label{structKJS_1_1UChar_a4}


\begin{Desc}
\item[Returns:]The higher byte of the character. \end{Desc}


Definition at line 71 of file ustring.h.\index{KJS::UChar@{KJS::UChar}!low@{low}}
\index{low@{low}!KJS::UChar@{KJS::UChar}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned char KJS::UChar::low () const\hspace{0.3cm}{\tt  [inline]}}\label{structKJS_1_1UChar_a5}


\begin{Desc}
\item[Returns:]The lower byte of the character. \end{Desc}


Definition at line 75 of file ustring.h.

Referenced by KJS::UString::ascii().\index{KJS::UChar@{KJS::UChar}!unicode@{unicode}}
\index{unicode@{unicode}!KJS::UChar@{KJS::UChar}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned short KJS::UChar::unicode () const\hspace{0.3cm}{\tt  [inline]}}\label{structKJS_1_1UChar_a6}


\begin{Desc}
\item[Returns:]the 16 bit Unicode value of the character \end{Desc}


Definition at line 79 of file ustring.h.

Referenced by KJS::UChar\-Reference::unicode().\index{KJS::UChar@{KJS::UChar}!toLower@{toLower}}
\index{toLower@{toLower}!KJS::UChar@{KJS::UChar}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf UChar} UChar::to\-Lower () const}\label{structKJS_1_1UChar_a7}


\begin{Desc}
\item[Returns:]The character converted to lower case. \end{Desc}


Definition at line 131 of file ustring.cpp.

References UChar().

Referenced by KJS::UChar\-Reference::to\-Lower().\index{KJS::UChar@{KJS::UChar}!toUpper@{toUpper}}
\index{toUpper@{toUpper}!KJS::UChar@{KJS::UChar}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf UChar} UChar::to\-Upper () const}\label{structKJS_1_1UChar_a8}


\begin{Desc}
\item[Returns:]The character converted to upper case. \end{Desc}


Definition at line 140 of file ustring.cpp.

References UChar().

Referenced by KJS::UChar\-Reference::to\-Upper().

\subsection{Member Data Documentation}
\index{KJS::UChar@{KJS::UChar}!null@{null}}
\index{null@{null}!KJS::UChar@{KJS::UChar}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf UChar} {\bf UChar::null}\hspace{0.3cm}{\tt  [static]}}\label{structKJS_1_1UChar_s0}


A static instance of UChar(0). 



Definition at line 121 of file ustring.cpp.

The documentation for this struct was generated from the following files:\begin{CompactItemize}
\item 
ustring.h\item 
ustring.cpp\end{CompactItemize}
