\hypertarget{classPush}{
\section{Push Class Reference}
\label{classPush}\index{Push@{Push}}
}


\hyperlink{classPush}{Push} operation.  




{\ttfamily \#include $<$instruction.hh$>$}

Inheritance diagram for Push:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classPush}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classPush_a3812b30715e7eaa64c40dfa157b99458}{Push} (\hyperlink{classElement}{Element} $\ast$e)
\begin{DoxyCompactList}\small\item\em \hyperlink{classElement}{Element} is owned by \hyperlink{classPush}{Push}. \item\end{DoxyCompactList}\item 
\hypertarget{classPush_ae2601f920eea138e360a8f7fb1d4a791}{
{\bfseries INSTR\_\-VISITABLE} ()}
\label{classPush_ae2601f920eea138e360a8f7fb1d4a791}

\item 
const \hyperlink{classElement}{Element} \& \hyperlink{classPush_ac99895c3f64a6c8909eecb2be49f6ca9}{elem} () const 
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classPush_a72acbcb16df2289ee12a7f5ab500fb8a}{
\hyperlink{classElement}{Element} $\ast$ {\bfseries \_\-elem}}
\label{classPush_a72acbcb16df2289ee12a7f5ab500fb8a}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{classPush}{Push} operation. Pushes a single element on \hyperlink{protocolthe-p}{the} stack.

The \hyperlink{classPush}{Push} instruction owns \hyperlink{protocolthe-p}{the} element. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classPush_a3812b30715e7eaa64c40dfa157b99458}{
\index{Push@{Push}!Push@{Push}}
\index{Push@{Push}!Push@{Push}}
\subsubsection[{Push}]{\setlength{\rightskip}{0pt plus 5cm}Push::Push (
\begin{DoxyParamCaption}
\item[{{\bf Element} $\ast$}]{e}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classPush_a3812b30715e7eaa64c40dfa157b99458}


\hyperlink{classElement}{Element} is owned by \hyperlink{classPush}{Push}. 

Caller must not delete element.


\begin{DoxyParams}{Parameters}
{\em e} & element associated with push. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{classPush_ac99895c3f64a6c8909eecb2be49f6ca9}{
\index{Push@{Push}!elem@{elem}}
\index{elem@{elem}!Push@{Push}}
\subsubsection[{elem}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf Element}\& Push::elem (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classPush_ac99895c3f64a6c8909eecb2be49f6ca9}
\begin{DoxyReturn}{Returns}
element associated with push. 
\end{DoxyReturn}


The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/policy/backend/instruction.hh\end{DoxyCompactItemize}
