\section{KJS::Completion Class Reference}
\label{classKJS_1_1Completion}\index{KJS::Completion@{KJS::Completion}}
{\bf Completion}{\rm (p.\,\pageref{classKJS_1_1Completion})} objects are used to convey the return status and value from functions. Handle for a {\bf Completion}{\rm (p.\,\pageref{classKJS_1_1Completion})} type.  


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

Inheritance diagram for KJS::Completion:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=63pt]{classKJS_1_1Completion__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KJS::Completion:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=63pt]{classKJS_1_1Completion__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Completion} (Compl\-Type c=Normal, const  {\bf Value} \&v={\bf Value}(), const  {\bf UString} \&t={\bf UString::null})\label{classKJS_1_1Completion_a0}

\item 
{\bf Completion} (Completion\-Imp $\ast$v)\label{classKJS_1_1Completion_a1}

\item 
{\bf Completion} (const  {\bf Completion} \&v)\label{classKJS_1_1Completion_a2}

\item 
{\bf Completion} \& {\bf operator=} (const  {\bf Completion} \&v)\label{classKJS_1_1Completion_a4}

\item 
Compl\-Type {\bf compl\-Type} () const \label{classKJS_1_1Completion_a5}

\item 
{\bf Value} {\bf value} () const \label{classKJS_1_1Completion_a6}

\item 
{\bf UString} {\bf target} () const \label{classKJS_1_1Completion_a7}

\item 
bool {\bf is\-Value\-Completion} () const \label{classKJS_1_1Completion_a8}

\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Completion} {\bf dynamic\-Cast} (const  {\bf Value} \&v)
\begin{CompactList}\small\item\em Converts a {\bf Value}{\rm (p.\,\pageref{classKJS_1_1Value})} into an {\bf Completion}{\rm (p.\,\pageref{classKJS_1_1Completion})}. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
{\bf Completion}{\rm (p.\,\pageref{classKJS_1_1Completion})} objects are used to convey the return status and value from functions. Handle for a {\bf Completion}{\rm (p.\,\pageref{classKJS_1_1Completion})} type. 

See Function\-Imp::execute()

\begin{Desc}
\item[See also:]{\bf Function\-Imp}{\rm (p.\,\pageref{classKJS_1_1FunctionImp})}\end{Desc}




Definition at line 248 of file types.h.

\subsection{Member Function Documentation}
\index{KJS::Completion@{KJS::Completion}!dynamicCast@{dynamicCast}}
\index{dynamicCast@{dynamicCast}!KJS::Completion@{KJS::Completion}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Completion} Completion::dynamic\-Cast (const {\bf Value} \& {\em v})\hspace{0.3cm}{\tt  [static]}}\label{classKJS_1_1Completion_e0}


Converts a {\bf Value}{\rm (p.\,\pageref{classKJS_1_1Value})} into an {\bf Completion}{\rm (p.\,\pageref{classKJS_1_1Completion})}. 

If the value's type is not Completion\-Type, a null object will be returned (i.e. one with it's internal pointer set to 0). If you do not know for sure whether the value is of type Completion\-Type, you should check the {\bf is\-Null}{\rm (p.\,\pageref{classKJS_1_1Value_a6})}() methods afterwards before calling any methods on the returned value.

\begin{Desc}
\item[Returns:]The value converted to an {\bf Completion}{\rm (p.\,\pageref{classKJS_1_1Completion})} \end{Desc}


Definition at line 311 of file types.cpp.

References KJS::Value::imp(), KJS::Value::is\-Null(), and KJS::Value::type().

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