\hypertarget{classPushSet}{
\section{PushSet Class Reference}
\label{classPushSet}\index{PushSet@{PushSet}}
}


\hyperlink{classPush}{Push} a set on \hyperlink{protocolthe-p}{the} stack.  




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

Inheritance diagram for PushSet:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classPushSet}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classPushSet_a1b218bf6615a43da2bbc7758fbdfef2f}{PushSet} (const string \&setid)
\item 
\hypertarget{classPushSet_a5c50bd879073e6ab1d6313a1d30e4b89}{
{\bfseries INSTR\_\-VISITABLE} ()}
\label{classPushSet_a5c50bd879073e6ab1d6313a1d30e4b89}

\item 
const string \& \hyperlink{classPushSet_a0400f095d4af25f93bd19e1e10f75f34}{setid} () const 
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classPushSet_a3d9ebf4305f34806ef4bcd0b98cd8d3d}{
string {\bfseries \_\-setid}}
\label{classPushSet_a3d9ebf4305f34806ef4bcd0b98cd8d3d}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{classPush}{Push} a set on \hyperlink{protocolthe-p}{the} stack. The difference with a normal push, is that \hyperlink{protocolthe-p}{the} operation does does not own \hyperlink{protocolthe-p}{the} set element, but only contains \hyperlink{protocolthe-p}{the} label of \hyperlink{protocolthe-p}{the} set. The \hyperlink{classSetManager}{SetManager} will match \hyperlink{protocolthe-p}{the} set label with \hyperlink{protocolthe-p}{the} actual element. \mbox{[}It is much like containing a pointer, and \hyperlink{protocolthe-p}{the} \hyperlink{classSetManager}{SetManager} deals with dereference\mbox{]}.

\hyperlink{classSetManager}{SetManager} acts similar to \hyperlink{classVarRW}{VarRW} \mbox{[}almost like a symbol-\/table\mbox{]}. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classPushSet_a1b218bf6615a43da2bbc7758fbdfef2f}{
\index{PushSet@{PushSet}!PushSet@{PushSet}}
\index{PushSet@{PushSet}!PushSet@{PushSet}}
\subsubsection[{PushSet}]{\setlength{\rightskip}{0pt plus 5cm}PushSet::PushSet (
\begin{DoxyParamCaption}
\item[{const string \&}]{setid}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classPushSet_a1b218bf6615a43da2bbc7758fbdfef2f}

\begin{DoxyParams}{Parameters}
{\em setid} & name of \hyperlink{protocolthe-p}{the} set. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{classPushSet_a0400f095d4af25f93bd19e1e10f75f34}{
\index{PushSet@{PushSet}!setid@{setid}}
\index{setid@{setid}!PushSet@{PushSet}}
\subsubsection[{setid}]{\setlength{\rightskip}{0pt plus 5cm}const string\& PushSet::setid (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classPushSet_a0400f095d4af25f93bd19e1e10f75f34}
\begin{DoxyReturn}{Returns}
name of \hyperlink{protocolthe-p}{the} set. 
\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}
