\hypertarget{classNodeBin}{
\section{NodeBin Class Reference}
\label{classNodeBin}\index{NodeBin@{NodeBin}}
}


A node for a binary operation.  




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

Inheritance diagram for NodeBin:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classNodeBin}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classNodeBin_a05168799aaa0d619b5cd0d4a4bdc04f4}{NodeBin} (\hyperlink{classBinOper}{BinOper} $\ast$op, \hyperlink{classNode}{Node} $\ast$left, \hyperlink{classNode}{Node} $\ast$right, unsigned line)
\begin{DoxyCompactList}\small\item\em Caller must not delete / modify pointers. \item\end{DoxyCompactList}\item 
\hypertarget{classNodeBin_a552e71b9660506258061676f7fbde484}{
{\bfseries DEFINE\_\-VISITABLE} ()}
\label{classNodeBin_a552e71b9660506258061676f7fbde484}

\item 
const \hyperlink{classBinOper}{BinOper} \& \hyperlink{classNodeBin_a9e31c8fafb081af71794c4791ff1245f}{op} () const 
\item 
\hyperlink{classNode}{Node} \& \hyperlink{classNodeBin_a798be0ab922a9a4f6627eaac8e1eba69}{left} () const 
\item 
\hyperlink{classNode}{Node} \& \hyperlink{classNodeBin_acdd4cf32cf0be6ade913d14f999eb1de}{right} () const 
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classNodeBin_a208a98acb903db1d35957d38c554cb59}{
\hyperlink{classBinOper}{BinOper} $\ast$ {\bfseries \_\-op}}
\label{classNodeBin_a208a98acb903db1d35957d38c554cb59}

\item 
\hypertarget{classNodeBin_a77221d188f6c66573558cfe406550bec}{
\hyperlink{classNode}{Node} $\ast$ {\bfseries \_\-left}}
\label{classNodeBin_a77221d188f6c66573558cfe406550bec}

\item 
\hypertarget{classNodeBin_a89d3d8c86ebe09cf81fc950b2533c016}{
\hyperlink{classNode}{Node} $\ast$ {\bfseries \_\-right}}
\label{classNodeBin_a89d3d8c86ebe09cf81fc950b2533c016}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
A node for a binary operation. The node will thus have two children. It owns both of them. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classNodeBin_a05168799aaa0d619b5cd0d4a4bdc04f4}{
\index{NodeBin@{NodeBin}!NodeBin@{NodeBin}}
\index{NodeBin@{NodeBin}!NodeBin@{NodeBin}}
\subsubsection[{NodeBin}]{\setlength{\rightskip}{0pt plus 5cm}NodeBin::NodeBin (
\begin{DoxyParamCaption}
\item[{{\bf BinOper} $\ast$}]{op, }
\item[{{\bf Node} $\ast$}]{left, }
\item[{{\bf Node} $\ast$}]{right, }
\item[{unsigned}]{line}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classNodeBin_a05168799aaa0d619b5cd0d4a4bdc04f4}


Caller must not delete / modify pointers. 


\begin{DoxyParams}{Parameters}
{\em op} & binary operation of node. \\
\hline
{\em left} & first argument of operation. \\
\hline
{\em right} & second argument of operation. \\
\hline
{\em line} & line where node was created. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{classNodeBin_a798be0ab922a9a4f6627eaac8e1eba69}{
\index{NodeBin@{NodeBin}!left@{left}}
\index{left@{left}!NodeBin@{NodeBin}}
\subsubsection[{left}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Node}\& NodeBin::left (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classNodeBin_a798be0ab922a9a4f6627eaac8e1eba69}
\begin{DoxyReturn}{Returns}
first argument of operation. 
\end{DoxyReturn}
\hypertarget{classNodeBin_a9e31c8fafb081af71794c4791ff1245f}{
\index{NodeBin@{NodeBin}!op@{op}}
\index{op@{op}!NodeBin@{NodeBin}}
\subsubsection[{op}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf BinOper}\& NodeBin::op (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classNodeBin_a9e31c8fafb081af71794c4791ff1245f}
\begin{DoxyReturn}{Returns}
operation associated with node. 
\end{DoxyReturn}
\hypertarget{classNodeBin_acdd4cf32cf0be6ade913d14f999eb1de}{
\index{NodeBin@{NodeBin}!right@{right}}
\index{right@{right}!NodeBin@{NodeBin}}
\subsubsection[{right}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Node}\& NodeBin::right (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classNodeBin_acdd4cf32cf0be6ade913d14f999eb1de}
\begin{DoxyReturn}{Returns}
second argument of operation. 
\end{DoxyReturn}


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