\section{KJS::Identifier Class Reference}
\label{classKJS_1_1Identifier}\index{KJS::Identifier@{KJS::Identifier}}
Represents an {\bf Identifier}{\rm (p.\,\pageref{classKJS_1_1Identifier})} for a Javascript object.  


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

Collaboration diagram for KJS::Identifier:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=72pt]{classKJS_1_1Identifier__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Identifier} ()
\item 
{\bf Identifier} (const char $\ast$s)
\item 
{\bf Identifier} (const {\bf UChar} $\ast$s, int length)\label{classKJS_1_1Identifier_a2}

\item 
{\bf Identifier} (const {\bf UString} \&s)\label{classKJS_1_1Identifier_a3}

\item 
const {\bf UString} \& {\bf ustring} () const 
\item 
DOM::DOMString {\bf string} () const \label{classKJS_1_1Identifier_a5}

\item 
{\bf QString} {\bf qstring} () const 
\item 
const {\bf UChar} $\ast$ {\bf data} () const 
\item 
int {\bf size} () const 
\item 
const char $\ast$ {\bf ascii} () const 
\item 
bool {\bf is\-Null} () const 
\item 
bool {\bf is\-Empty} () const 
\item 
unsigned long {\bf to\-ULong} (bool $\ast$ok) const \label{classKJS_1_1Identifier_a12}

\item 
unsigned {\bf to\-Strict\-UInt32} (bool $\ast$ok) const \label{classKJS_1_1Identifier_a13}

\item 
unsigned {\bf to\-Array\-Index} (bool $\ast$ok) const \label{classKJS_1_1Identifier_a14}

\item 
double {\bf to\-Double} () const \label{classKJS_1_1Identifier_a15}

\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static {\bf Identifier} {\bf from} (unsigned y)\label{classKJS_1_1Identifier_e0}

\item 
static const {\bf Identifier} \& {\bf null} ()
\item 
static void {\bf remove} (UString::Rep $\ast$)\label{classKJS_1_1Identifier_e2}

\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf Property\-Map}\label{classKJS_1_1Identifier_n0}

\item 
bool {\bf operator==} (const {\bf Identifier} \&, const {\bf Identifier} \&)\label{classKJS_1_1Identifier_n1}

\item 
bool {\bf operator!=} (const {\bf Identifier} \&, const {\bf Identifier} \&)\label{classKJS_1_1Identifier_n2}

\item 
bool {\bf operator==} (const {\bf Identifier} \&, const char $\ast$)\label{classKJS_1_1Identifier_n3}

\end{CompactItemize}


\subsection{Detailed Description}
Represents an {\bf Identifier}{\rm (p.\,\pageref{classKJS_1_1Identifier})} for a Javascript object. 



Definition at line 32 of file identifier.h.

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


Creates an empty identifier. 



Definition at line 38 of file identifier.h.\index{KJS::Identifier@{KJS::Identifier}!Identifier@{Identifier}}
\index{Identifier@{Identifier}!KJS::Identifier@{KJS::Identifier}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KJS::Identifier::Identifier (const char $\ast$ {\em s})\hspace{0.3cm}{\tt  [inline]}}\label{classKJS_1_1Identifier_a1}


Creates an identifier with the name of the string 

\footnotesize\begin{verbatim} KJS::Identifier method("someJSMethod");
\end{verbatim}
\normalsize
. 



Definition at line 45 of file identifier.h.

\subsection{Member Function Documentation}
\index{KJS::Identifier@{KJS::Identifier}!ustring@{ustring}}
\index{ustring@{ustring}!KJS::Identifier@{KJS::Identifier}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf UString}\& KJS::Identifier::ustring () const\hspace{0.3cm}{\tt  [inline]}}\label{classKJS_1_1Identifier_a4}


returns a {\bf UString}{\rm (p.\,\pageref{classKJS_1_1UString})} of the identifier 



Definition at line 52 of file identifier.h.

Referenced by KJS::Reference::get\-Value().\index{KJS::Identifier@{KJS::Identifier}!qstring@{qstring}}
\index{qstring@{qstring}!KJS::Identifier@{KJS::Identifier}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KJS::Identifier::qstring () const}\label{classKJS_1_1Identifier_a6}


returns a {\bf QString} of the identifier 

\index{KJS::Identifier@{KJS::Identifier}!data@{data}}
\index{data@{data}!KJS::Identifier@{KJS::Identifier}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf UChar}$\ast$ KJS::Identifier::data () const\hspace{0.3cm}{\tt  [inline]}}\label{classKJS_1_1Identifier_a7}


returns a {\bf UChar}{\rm (p.\,\pageref{structKJS_1_1UChar})} pointer to the string of the identifier with a size defined by {\bf size()}{\rm (p.\,\pageref{classKJS_1_1Identifier_a8})}. 



Definition at line 62 of file identifier.h.\index{KJS::Identifier@{KJS::Identifier}!size@{size}}
\index{size@{size}!KJS::Identifier@{KJS::Identifier}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KJS::Identifier::size () const\hspace{0.3cm}{\tt  [inline]}}\label{classKJS_1_1Identifier_a8}


The size of the {\bf UChar}{\rm (p.\,\pageref{structKJS_1_1UChar})} string returned. 



Definition at line 66 of file identifier.h.\index{KJS::Identifier@{KJS::Identifier}!ascii@{ascii}}
\index{ascii@{ascii}!KJS::Identifier@{KJS::Identifier}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ KJS::Identifier::ascii () const\hspace{0.3cm}{\tt  [inline]}}\label{classKJS_1_1Identifier_a9}


Char $\ast$ of the identifier's string. 



Definition at line 71 of file identifier.h.\index{KJS::Identifier@{KJS::Identifier}!isNull@{isNull}}
\index{isNull@{isNull}!KJS::Identifier@{KJS::Identifier}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KJS::Identifier::is\-Null () const\hspace{0.3cm}{\tt  [inline]}}\label{classKJS_1_1Identifier_a10}


Returns the identfiers state of being unset. 



Definition at line 78 of file identifier.h.

Referenced by KJS::Reference::get\-Property\-Name().\index{KJS::Identifier@{KJS::Identifier}!isEmpty@{isEmpty}}
\index{isEmpty@{isEmpty}!KJS::Identifier@{KJS::Identifier}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KJS::Identifier::is\-Empty () const\hspace{0.3cm}{\tt  [inline]}}\label{classKJS_1_1Identifier_a11}


Returns that the identifiers string is set, but is empty. 



Definition at line 82 of file identifier.h.\index{KJS::Identifier@{KJS::Identifier}!null@{null}}
\index{null@{null}!KJS::Identifier@{KJS::Identifier}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf Identifier} \& KJS::Identifier::null ()\hspace{0.3cm}{\tt  [static]}}\label{classKJS_1_1Identifier_e1}


Creates an empty {\bf Identifier}{\rm (p.\,\pageref{classKJS_1_1Identifier})}. 



Definition at line 301 of file identifier.cpp.

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