\section{base\_\-iterator  Class Reference}
\label{class_base_iterator}\index{base_iterator@{base\_\-iterator}}
Inheritance diagram for base\_\-iterator\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=127pt]{class_base_iterator_inherit_graph}
\end{center}
\end{figure}
Collaboration diagram for base\_\-iterator:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=114pt]{class_base_iterator_coll_graph}
\end{center}
\end{figure}
\subsection*{Public Methods}
\begin{CompactItemize}
\item 
{\bf base\_\-iterator} (int reverse=0)
\item 
{\bf base\_\-iterator} (const base\_\-iterator \&bi)
\item 
void {\bf Reverse} ()
\item 
const base\_\-iterator\& {\bf operator=} (const base\_\-iterator \&bi)
\item 
int {\bf bad} () const
\item 
virtual {\bf $\sim$base\_\-iterator} ()
\item 
virtual void {\bf reset} ()
\item 
virtual {\bf operator int} () const
\item 
virtual const base\_\-iterator\& {\bf operator++} ()
\item 
virtual int {\bf operator $\ast$} () const
\end{CompactItemize}
\subsection*{Protected Methods}
\begin{CompactItemize}
\item 
int {\bf Invalid} (int vndx) const
\item 
{\bf base\_\-iterator} ({\bf sd\-Graph}$<$ DT, WT $>$ $\ast$g, int vndx, int reverse=0)
\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
{\bf sd\-Graph}$<$DT,WT$>$$\ast$ {\bf G}
\item 
int {\bf vstart}
\item 
int {\bf vid}
\item 
int {\bf rev}
\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf sd\-Graph$<$ DT, WT $>$}
\end{CompactItemize}


\subsection{Constructor \& Destructor Documentation}
\index{base_iterator@{base\_\-iterator}!base_iterator@{base\_\-iterator}}
\index{base_iterator@{base\_\-iterator}!base_iterator@{base\_\-iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}base\_\-iterator::base\_\-iterator ({\bf sd\-Graph}$<$ DT, WT $>$ $\ast$ {\em g}, int {\em vndx}, int {\em reverse} = 0)\hspace{0.3cm}{\tt  [inline, protected]}}\label{class_base_iterator_b1}




Definition at line 23 of file sdgiter.inc.\footnotesize\begin{verbatim}00024                   { 
00025                     G=g; 
00026                     vstart = Invalid(vndx) ? -1 : vndx;
00027                     rev=reverse; 
00028                     reset();
00029 \end{verbatim}\normalsize 
\index{base_iterator@{base\_\-iterator}!base_iterator@{base\_\-iterator}}
\index{base_iterator@{base\_\-iterator}!base_iterator@{base\_\-iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}base\_\-iterator::base\_\-iterator (int {\em reverse} = 0)\hspace{0.3cm}{\tt  [inline]}}\label{class_base_iterator_a0}




Definition at line 31 of file sdgiter.inc.\footnotesize\begin{verbatim}00032                   { G=0; vstart=-1; vid=-1; rev=reverse; }
00033 \end{verbatim}\normalsize 
\index{base_iterator@{base\_\-iterator}!base_iterator@{base\_\-iterator}}
\index{base_iterator@{base\_\-iterator}!base_iterator@{base\_\-iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}base\_\-iterator::base\_\-iterator (const base\_\-iterator \& {\em bi})\hspace{0.3cm}{\tt  [inline]}}\label{class_base_iterator_a1}




Definition at line 33 of file sdgiter.inc.\footnotesize\begin{verbatim}00034                   { G=bi.G; vstart=bi.vstart; vid=bi.vid; rev=bi.rev; }
00035 \end{verbatim}\normalsize 
\index{base_iterator@{base\_\-iterator}!~base_iterator@{$\sim$base\_\-iterator}}
\index{~base_iterator@{$\sim$base\_\-iterator}!base_iterator@{base\_\-iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}base\_\-iterator::$\sim$base\_\-iterator ()\hspace{0.3cm}{\tt  [inline, virtual]}}\label{class_base_iterator_a5}




Definition at line 46 of file sdgiter.inc.\footnotesize\begin{verbatim}00046                                          { /*empty*/ }
00047 \end{verbatim}\normalsize 


\subsection{Member Function Documentation}
\index{base_iterator@{base\_\-iterator}!Invalid@{Invalid}}
\index{Invalid@{Invalid}!base_iterator@{base\_\-iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int base\_\-iterator::Invalid (int {\em vndx}) const\hspace{0.3cm}{\tt  [inline, protected]}}\label{class_base_iterator_b0}




Definition at line 20 of file sdgiter.inc.

Referenced by base\_\-iterator().\footnotesize\begin{verbatim}00021                   { return (!G || (vndx<0) || (vndx>=G->NumV)) ? 1 : 0; }
00022 \end{verbatim}\normalsize 
\index{base_iterator@{base\_\-iterator}!Reverse@{Reverse}}
\index{Reverse@{Reverse}!base_iterator@{base\_\-iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void base\_\-iterator::Reverse ()\hspace{0.3cm}{\tt  [inline]}}\label{class_base_iterator_a2}




Definition at line 35 of file sdgiter.inc.\footnotesize\begin{verbatim}00035                                { rev = rev ? 0 : 1; }
00036 \end{verbatim}\normalsize 
\index{base_iterator@{base\_\-iterator}!bad@{bad}}
\index{bad@{bad}!base_iterator@{base\_\-iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int base\_\-iterator::bad () const\hspace{0.3cm}{\tt  [inline]}}\label{class_base_iterator_a4}




Definition at line 43 of file sdgiter.inc.

Referenced by path\_\-iterator::operator++(), bf\_\-iterator::reset(), df\_\-iterator::reset(), and neighbor\_\-iterator::reset().\footnotesize\begin{verbatim}00044                   { return (!G || vstart<0); }
00045 \end{verbatim}\normalsize 
\index{base_iterator@{base\_\-iterator}!operator *@{operator $\ast$}}
\index{operator *@{operator $\ast$}!base_iterator@{base\_\-iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int base\_\-iterator::operator $\ast$ () const\hspace{0.3cm}{\tt  [inline, virtual]}}\label{class_base_iterator_a9}




Reimplemented in {\bf neighbor\_\-iterator} {\rm (p.\,\pageref{class_neighbor_iterator_a6})}, {\bf df\_\-iterator} {\rm (p.\,\pageref{class_df_iterator_a8})}, and {\bf bf\_\-iterator} {\rm (p.\,\pageref{class_bf_iterator_a8})}.

Definition at line 50 of file sdgiter.inc.\footnotesize\begin{verbatim}00050                                                { return vid; }
00051 \end{verbatim}\normalsize 
\index{base_iterator@{base\_\-iterator}!operator int@{operator int}}
\index{operator int@{operator int}!base_iterator@{base\_\-iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}base\_\-iterator::operator int () const\hspace{0.3cm}{\tt  [inline, virtual]}}\label{class_base_iterator_a7}




Reimplemented in {\bf neighbor\_\-iterator} {\rm (p.\,\pageref{class_neighbor_iterator_a4})}, {\bf df\_\-iterator} {\rm (p.\,\pageref{class_df_iterator_a5})}, and {\bf bf\_\-iterator} {\rm (p.\,\pageref{class_bf_iterator_a5})}.

Definition at line 48 of file sdgiter.inc.\footnotesize\begin{verbatim}00048                                               { return (vid!=-1); }
00049 \end{verbatim}\normalsize 
\index{base_iterator@{base\_\-iterator}!operator++@{operator++}}
\index{operator++@{operator++}!base_iterator@{base\_\-iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const base\_\-iterator \& base\_\-iterator::operator++ ()\hspace{0.3cm}{\tt  [inline, virtual]}}\label{class_base_iterator_a8}




Reimplemented in {\bf neighbor\_\-iterator} {\rm (p.\,\pageref{class_neighbor_iterator_a5})}, {\bf df\_\-iterator} {\rm (p.\,\pageref{class_df_iterator_a6})}, and {\bf bf\_\-iterator} {\rm (p.\,\pageref{class_bf_iterator_a6})}.

Definition at line 49 of file sdgiter.inc.\footnotesize\begin{verbatim}00049                                                           { return *this; }
00050 \end{verbatim}\normalsize 
\index{base_iterator@{base\_\-iterator}!operator=@{operator=}}
\index{operator=@{operator=}!base_iterator@{base\_\-iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const base\_\-iterator \& base\_\-iterator::operator= (const base\_\-iterator \& {\em bi})\hspace{0.3cm}{\tt  [inline]}}\label{class_base_iterator_a3}




Definition at line 36 of file sdgiter.inc.\footnotesize\begin{verbatim}00037                   {
00038                     if(this!=&bi) 
00039                       { G=bi.G; vstart=bi.vstart; vid=bi.vid; rev=bi.rev; }
00040 \end{verbatim}\normalsize 
\index{base_iterator@{base\_\-iterator}!reset@{reset}}
\index{reset@{reset}!base_iterator@{base\_\-iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void base\_\-iterator::reset ()\hspace{0.3cm}{\tt  [inline, virtual]}}\label{class_base_iterator_a6}




Reimplemented in {\bf neighbor\_\-iterator} {\rm (p.\,\pageref{class_neighbor_iterator_a3})}, {\bf df\_\-iterator} {\rm (p.\,\pageref{class_df_iterator_a4})}, and {\bf bf\_\-iterator} {\rm (p.\,\pageref{class_bf_iterator_a4})}.

Definition at line 47 of file sdgiter.inc.

Referenced by base\_\-iterator(), bf\_\-iterator::bf\_\-iterator(), df\_\-iterator::df\_\-iterator(), and neighbor\_\-iterator::neighbor\_\-iterator().\footnotesize\begin{verbatim}00047                                      { vid = vstart; }
00048 \end{verbatim}\normalsize 


\subsection{Friends And Related Function Documentation}
\index{base_iterator@{base\_\-iterator}!sdGraph< DT, WT >@{sdGraph$<$ DT, WT $>$}}
\index{sdGraph< DT, WT >@{sdGraph$<$ DT, WT $>$}!base_iterator@{base\_\-iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}class {\bf sd\-Graph}\hspace{0.3cm}{\tt  [friend]}}\label{class_base_iterator_l0}




Reimplemented in {\bf neighbor\_\-iterator} {\rm (p.\,\pageref{class_neighbor_iterator_l0})}, {\bf df\_\-iterator} {\rm (p.\,\pageref{class_df_iterator_l0})}, and {\bf bf\_\-iterator} {\rm (p.\,\pageref{class_bf_iterator_l0})}.

Definition at line 13 of file sdgiter.inc.

\subsection{Member Data Documentation}
\index{base_iterator@{base\_\-iterator}!G@{G}}
\index{G@{G}!base_iterator@{base\_\-iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf sd\-Graph}$<$ DT, WT $>$ $\ast$ base\_\-iterator::G\hspace{0.3cm}{\tt  [protected]}}\label{class_base_iterator_n0}




Definition at line 16 of file sdgiter.inc.\index{base_iterator@{base\_\-iterator}!rev@{rev}}
\index{rev@{rev}!base_iterator@{base\_\-iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int base\_\-iterator::rev\hspace{0.3cm}{\tt  [protected]}}\label{class_base_iterator_n3}




Definition at line 19 of file sdgiter.inc.\index{base_iterator@{base\_\-iterator}!vid@{vid}}
\index{vid@{vid}!base_iterator@{base\_\-iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int base\_\-iterator::vid\hspace{0.3cm}{\tt  [protected]}}\label{class_base_iterator_n2}




Definition at line 18 of file sdgiter.inc.\index{base_iterator@{base\_\-iterator}!vstart@{vstart}}
\index{vstart@{vstart}!base_iterator@{base\_\-iterator}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int base\_\-iterator::vstart\hspace{0.3cm}{\tt  [protected]}}\label{class_base_iterator_n1}




Definition at line 17 of file sdgiter.inc.

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