\section{Stack  Class Template Reference}
\label{class_Stack}\index{Stack@{Stack}}
{\tt \#include $<$stack.h$>$}

Inheritance diagram for Stack\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=48pt]{class_Stack_inherit_graph}
\end{center}
\end{figure}
Collaboration diagram for Stack:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=106pt]{class_Stack_coll_graph}
\end{center}
\end{figure}
\subsection*{Public Methods}
\begin{CompactItemize}
\item 
void {\bf Push} (const T \&data)
\item 
void {\bf Push} (const Stack$<$ T $>$ \&stk)
\item 
T {\bf Pop} ()
\item 
const T\& {\bf Peek} () const
\item 
const Stack$<$T$>$\& {\bf operator+=} (const Stack$<$ T $>$ \&stk)
\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
Stack$<$T$>$ {\bf operator+} (Stack$<$ T $>$ x, const Stack$<$ T $>$ \&y)
\end{CompactItemize}
\subsubsection*{template$<$class T$>$  class Stack}



\subsection{Member Function Documentation}
\index{Stack@{Stack}!Peek@{Peek}}
\index{Peek@{Peek}!Stack@{Stack}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ const T \& Stack$<$T$>$::Peek () const\hspace{0.3cm}{\tt  [inline]}}\label{class_Stack_a3}




Definition at line 22 of file stack.h.

Referenced by Id\-Gen::Peek().\footnotesize\begin{verbatim}00022                                       { return Get(0); }
00023 \end{verbatim}\normalsize 
\index{Stack@{Stack}!Pop@{Pop}}
\index{Pop@{Pop}!Stack@{Stack}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ T Stack$<$T$>$::Pop ()\hspace{0.3cm}{\tt  [inline]}}\label{class_Stack_a2}




Definition at line 21 of file stack.h.

Referenced by Id\-Gen::Get(), and df\_\-iterator::operator++().\footnotesize\begin{verbatim}00021                         { return RemoveFromFront(); }
00022 \end{verbatim}\normalsize 
\index{Stack@{Stack}!Push@{Push}}
\index{Push@{Push}!Stack@{Stack}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ void Stack$<$T$>$::Push (const Stack$<$ T $>$ \& {\em stk})\hspace{0.3cm}{\tt  [inline]}}\label{class_Stack_a1}




Definition at line 20 of file stack.h.\footnotesize\begin{verbatim}00020                                                { AddToFront(stk); }
00021 \end{verbatim}\normalsize 
\index{Stack@{Stack}!Push@{Push}}
\index{Push@{Push}!Stack@{Stack}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ void Stack$<$T$>$::Push (const T \& {\em data})\hspace{0.3cm}{\tt  [inline]}}\label{class_Stack_a0}




Definition at line 19 of file stack.h.

Referenced by Id\-Gen::Free(), df\_\-iterator::operator++(), and operator+=().\footnotesize\begin{verbatim}00019                                          { AddToFront(data); }
00020 \end{verbatim}\normalsize 
\index{Stack@{Stack}!operator+=@{operator+=}}
\index{operator+=@{operator+=}!Stack@{Stack}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ const Stack$<$ T $>$ \& Stack$<$T$>$::operator+=$<$T$>$ (const Stack$<$ T $>$ \& {\em stk})\hspace{0.3cm}{\tt  [inline]}}\label{class_Stack_a4}




Definition at line 23 of file stack.h.\footnotesize\begin{verbatim}00024                   { Push(stk); return *this; }
00025 \end{verbatim}\normalsize 


\subsection{Friends And Related Function Documentation}
\index{Stack@{Stack}!operator+@{operator+}}
\index{operator+@{operator+}!Stack@{Stack}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ Stack$<$ T $>$ operator+$<$T$>$ (Stack$<$ T $>$ {\em x}, const Stack$<$ T $>$ \& {\em y})\hspace{0.3cm}{\tt  [friend]}}\label{class_Stack_l0}




Definition at line 26 of file stack.h.\footnotesize\begin{verbatim}00027                   { return x+=y; }
00028 \end{verbatim}\normalsize 


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