\section{KJS::String Class Reference}
\label{classKJS_1_1String}\index{KJS::String@{KJS::String}}
Represents an primitive {\bf Null}{\rm (p.\,\pageref{classKJS_1_1Null})} value.  


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

Inheritance diagram for KJS::String:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=49pt]{classKJS_1_1String__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KJS::String:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=59pt]{classKJS_1_1String__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf String} (const  {\bf UString} \&s=\char`\"{}\char`\"{})\label{classKJS_1_1String_a0}

\item 
{\bf String} (const  {\bf String} \&v)\label{classKJS_1_1String_a1}

\item 
{\bf String} \& {\bf operator=} (const  {\bf String} \&v)\label{classKJS_1_1String_a3}

\item 
{\bf UString} {\bf value} () const \label{classKJS_1_1String_a4}

\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
{\bf String} {\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 String}{\rm (p.\,\pageref{classKJS_1_1String})}. \item\end{CompactList}\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf String\-Imp}\label{classKJS_1_1String_n0}

\end{CompactItemize}


\subsection{Detailed Description}
Represents an primitive {\bf Null}{\rm (p.\,\pageref{classKJS_1_1Null})} value. 



Definition at line 365 of file value.h.

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


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

If the value's type is not String\-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 String\-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 a {\bf String}{\rm (p.\,\pageref{classKJS_1_1String})} \end{Desc}


Definition at line 444 of file value.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 
value.h\item 
value.cpp\end{CompactItemize}
