\section{Const\-Iterator  Class Reference}
\label{class_ConstIterator}\index{ConstIterator@{Const\-Iterator}}
Collaboration diagram for Const\-Iterator:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=113pt]{class_ConstIterator_coll_graph}
\end{center}
\end{figure}
\subsection*{Public Methods}
\begin{CompactItemize}
\item 
void {\bf Reset} ()
\item 
const T\& {\bf operator $\ast$} ()
\item 
{\bf operator int} () const
\item 
const Const\-Iterator\& {\bf operator++} ()
\item 
void {\bf Copy} (const Const\-Iterator \&it)
\item 
const Const\-Iterator\& {\bf operator=} (const Const\-Iterator \&it)
\item 
{\bf Const\-Iterator} ()
\item 
{\bf Const\-Iterator} (const Const\-Iterator \&it)
\item 
{\bf $\sim$Const\-Iterator} ()
\end{CompactItemize}
\subsection*{Private Methods}
\begin{CompactItemize}
\item 
{\bf Const\-Iterator} (const {\bf DLList}$<$ T $>$ \&dll)
\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
{\bf DLList\-Rep}$<$T$>$$\ast$ {\bf Lst}
\item 
const {\bf DLList\-Node}$<$T$>$$\ast$ {\bf Hop}
\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf DLList$<$ T $>$}
\end{CompactItemize}


\subsection{Constructor \& Destructor Documentation}
\index{ConstIterator@{Const\-Iterator}!ConstIterator@{ConstIterator}}
\index{ConstIterator@{ConstIterator}!ConstIterator@{Const\-Iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Const\-Iterator::Const\-Iterator ()\hspace{0.3cm}{\tt  [inline]}}\label{class_ConstIterator_a6}




Definition at line 69 of file dlliter.inc.\footnotesize\begin{verbatim}00069                                 { Lst = 0; Hop = 0; }
00070 \end{verbatim}\normalsize 
\index{ConstIterator@{Const\-Iterator}!ConstIterator@{ConstIterator}}
\index{ConstIterator@{ConstIterator}!ConstIterator@{Const\-Iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Const\-Iterator::Const\-Iterator (const Const\-Iterator \& {\em it})\hspace{0.3cm}{\tt  [inline]}}\label{class_ConstIterator_a7}




Definition at line 70 of file dlliter.inc.\footnotesize\begin{verbatim}00071                   { Lst = 0; Hop = 0; Copy(it); }
00072 \end{verbatim}\normalsize 
\index{ConstIterator@{Const\-Iterator}!~ConstIterator@{$\sim$ConstIterator}}
\index{~ConstIterator@{$\sim$ConstIterator}!ConstIterator@{Const\-Iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Const\-Iterator::$\sim$Const\-Iterator ()\hspace{0.3cm}{\tt  [inline]}}\label{class_ConstIterator_a8}




Definition at line 72 of file dlliter.inc.\footnotesize\begin{verbatim}00073                   { if(Lst) Lst->Dereference(); Lst=0; Hop = 0; }
00074 \end{verbatim}\normalsize 
\index{ConstIterator@{Const\-Iterator}!ConstIterator@{ConstIterator}}
\index{ConstIterator@{ConstIterator}!ConstIterator@{Const\-Iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Const\-Iterator::Const\-Iterator (const {\bf DLList}$<$ T $>$ \& {\em dll})\hspace{0.3cm}{\tt  [inline, private]}}\label{class_ConstIterator_c0}




Definition at line 75 of file dlliter.inc.\footnotesize\begin{verbatim}00076                   { 
00077                     Lst = dll.the_rep; 
00078                     if(Lst) Lst->Reference();
00079                     Reset(); 
00080 \end{verbatim}\normalsize 


\subsection{Member Function Documentation}
\index{ConstIterator@{Const\-Iterator}!Copy@{Copy}}
\index{Copy@{Copy}!ConstIterator@{Const\-Iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Const\-Iterator::Copy (const Const\-Iterator \& {\em it})\hspace{0.3cm}{\tt  [inline]}}\label{class_ConstIterator_a4}




Definition at line 55 of file dlliter.inc.

Referenced by Const\-Iterator(), and operator=().\footnotesize\begin{verbatim}00056                   { 
00057                     if(Lst != it.Lst)
00058                       { 
00059                         if(Lst) Lst->Dereference();
00060                         Lst = it.Lst; 
00061                         if(Lst) Lst->Reference();
00062                       }
00063 \end{verbatim}\normalsize 
\index{ConstIterator@{Const\-Iterator}!Reset@{Reset}}
\index{Reset@{Reset}!ConstIterator@{Const\-Iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Const\-Iterator::Reset ()\hspace{0.3cm}{\tt  [inline]}}\label{class_ConstIterator_a0}




Definition at line 50 of file dlliter.inc.

Referenced by Const\-Iterator().\footnotesize\begin{verbatim}00050                              { Hop = Lst->Head; }
00051 \end{verbatim}\normalsize 
\index{ConstIterator@{Const\-Iterator}!operator *@{operator $\ast$}}
\index{operator *@{operator $\ast$}!ConstIterator@{Const\-Iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const T \& Const\-Iterator::operator $\ast$ ()\hspace{0.3cm}{\tt  [inline]}}\label{class_ConstIterator_a1}




Definition at line 51 of file dlliter.inc.\footnotesize\begin{verbatim}00051                                        { return Hop->Data; }
00052 \end{verbatim}\normalsize 
\index{ConstIterator@{Const\-Iterator}!operator int@{operator int}}
\index{operator int@{operator int}!ConstIterator@{Const\-Iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Const\-Iterator::operator int () const\hspace{0.3cm}{\tt  [inline]}}\label{class_ConstIterator_a2}




Definition at line 52 of file dlliter.inc.\footnotesize\begin{verbatim}00052                                       { return Hop!=0; }
00053 \end{verbatim}\normalsize 
\index{ConstIterator@{Const\-Iterator}!operator++@{operator++}}
\index{operator++@{operator++}!ConstIterator@{Const\-Iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const Const\-Iterator \& Const\-Iterator::operator++ ()\hspace{0.3cm}{\tt  [inline]}}\label{class_ConstIterator_a3}




Definition at line 53 of file dlliter.inc.\footnotesize\begin{verbatim}00054                   { if(Hop) Hop = Hop->Next; return *this; }
00055 \end{verbatim}\normalsize 
\index{ConstIterator@{Const\-Iterator}!operator=@{operator=}}
\index{operator=@{operator=}!ConstIterator@{Const\-Iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const Const\-Iterator \& Const\-Iterator::operator= (const Const\-Iterator \& {\em it})\hspace{0.3cm}{\tt  [inline]}}\label{class_ConstIterator_a5}




Definition at line 66 of file dlliter.inc.\footnotesize\begin{verbatim}00067                   { Copy(it); return *this; }
00068 \end{verbatim}\normalsize 


\subsection{Friends And Related Function Documentation}
\index{ConstIterator@{Const\-Iterator}!DLList< T >@{DLList$<$ T $>$}}
\index{DLList< T >@{DLList$<$ T $>$}!ConstIterator@{Const\-Iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}class {\bf DLList}\hspace{0.3cm}{\tt  [friend]}}\label{class_ConstIterator_l0}




Definition at line 48 of file dlliter.inc.

\subsection{Member Data Documentation}
\index{ConstIterator@{Const\-Iterator}!Hop@{Hop}}
\index{Hop@{Hop}!ConstIterator@{Const\-Iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf DLList\-Node}$<$ T $>$ $\ast$ Const\-Iterator::Hop\hspace{0.3cm}{\tt  [private]}}\label{class_ConstIterator_o1}




Definition at line 82 of file dlliter.inc.\index{ConstIterator@{Const\-Iterator}!Lst@{Lst}}
\index{Lst@{Lst}!ConstIterator@{Const\-Iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DLList\-Rep}$<$ T $>$ $\ast$ Const\-Iterator::Lst\hspace{0.3cm}{\tt  [private]}}\label{class_ConstIterator_o0}




Definition at line 81 of file dlliter.inc.

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
{\bf dlliter.inc}\end{CompactItemize}
