\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=69pt]{structKJS_1_1UChar__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf UChar} ()
\item 
{\bf UChar} (char u)\label{structKJS_1_1UChar_a1}

\item 
{\bf UChar} (unsigned char u)\label{structKJS_1_1UChar_a2}

\item 
{\bf UChar} (unsigned char h, unsigned char l)
\item 
{\bf UChar} (unsigned short u)
\item 
{\bf UChar} (const {\bf UChar\-Reference} \&c)\label{structKJS_1_1UChar_a5}

\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*{Public Attributes}
\begin{CompactItemize}
\item 
unsigned short {\bf uc}\label{structKJS_1_1UChar_o0}

\end{CompactItemize}
\subsection*{Static Public Attributes}
\begin{CompactItemize}
\item 
static {\bf UChar} {\bf null}
\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 uninitialized value. 



Definition at line 99 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 char {\em h}, unsigned char {\em l})\hspace{0.3cm}{\tt  [inline]}}\label{structKJS_1_1UChar_a3}


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 100 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_a4}


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 103 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_a6}


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


Definition at line 73 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_a7}


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


Definition at line 77 of file ustring.h.\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_a8}


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


Definition at line 81 of file ustring.h.\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_a9}


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


Definition at line 131 of file ustring.cpp.\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_a10}


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


Definition at line 140 of file ustring.cpp.

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). 



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