\hypertarget{classNaryInstr}{
\section{NaryInstr Class Reference}
\label{classNaryInstr}\index{NaryInstr@{NaryInstr}}
}


An N-\/ary operation.  




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

Inheritance diagram for NaryInstr:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classNaryInstr}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classNaryInstr_a3f8a08242fe4c8b24ebc46165eaffb4a}{NaryInstr} (\hyperlink{classOper}{Oper} $\ast$op)
\begin{DoxyCompactList}\small\item\em Caller must not delete / modify operation. \item\end{DoxyCompactList}\item 
\hypertarget{classNaryInstr_a230faf47f01574d14a7abcc4df3b4fbc}{
{\bfseries INSTR\_\-VISITABLE} ()}
\label{classNaryInstr_a230faf47f01574d14a7abcc4df3b4fbc}

\item 
const \hyperlink{classOper}{Oper} \& \hyperlink{classNaryInstr_aefffba0d3efb4cf9216b83d1c7f3e7fe}{op} () const 
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classNaryInstr_a9d149dcdf42cf75a41c007a916c22853}{
\hyperlink{classOper}{Oper} $\ast$ {\bfseries \_\-op}}
\label{classNaryInstr_a9d149dcdf42cf75a41c007a916c22853}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
An N-\/ary operation. Arguments are \hyperlink{protocolthe-p}{the} N top-\/most elements of \hyperlink{protocolthe-p}{the} stack. Top-\/most argument is first. Thus elements have to be pushed on stack in reverse order.

Operation will pop N elements from \hyperlink{protocolthe-p}{the} stack. 

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


Caller must not delete / modify operation. 


\begin{DoxyParams}{Parameters}
{\em op} & operation of this instruction \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{classNaryInstr_aefffba0d3efb4cf9216b83d1c7f3e7fe}{
\index{NaryInstr@{NaryInstr}!op@{op}}
\index{op@{op}!NaryInstr@{NaryInstr}}
\subsubsection[{op}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf Oper}\& NaryInstr::op (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classNaryInstr_aefffba0d3efb4cf9216b83d1c7f3e7fe}
\begin{DoxyReturn}{Returns}
operation associated with this instruction. 
\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}
