\hypertarget{classMribLookup}{
\section{MribLookup Class Reference}
\label{classMribLookup}\index{MribLookup@{MribLookup}}
}


The basic entry in \hyperlink{protocolthe-p}{the} \hyperlink{classMribTable}{MribTable} lookup tree.  




{\ttfamily \#include $<$mrib\_\-table.hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classMribLookup_acb74514793efbbb798ce979ed52f0a16}{MribLookup} (\hyperlink{classMribLookup}{MribLookup} $\ast$parent)
\begin{DoxyCompactList}\small\item\em Constructor for a given parent entry. \item\end{DoxyCompactList}\item 
\hypertarget{classMribLookup_aaad26165265cc3910d8b59752aa42a14}{
\hyperlink{classMribLookup_aaad26165265cc3910d8b59752aa42a14}{$\sim$MribLookup} ()}
\label{classMribLookup_aaad26165265cc3910d8b59752aa42a14}

\begin{DoxyCompactList}\small\item\em Destructor. \item\end{DoxyCompactList}\item 
\hyperlink{classMrib}{Mrib} $\ast$ \hyperlink{classMribLookup_a651045558891806f4ebb5a6b65deea5c}{mrib} () const 
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} corresponding \hyperlink{classMrib}{Mrib} entry. \item\end{DoxyCompactList}\item 
void \hyperlink{classMribLookup_a0699849c9c353975946c68126c7e4e2f}{set\_\-mrib} (\hyperlink{classMrib}{Mrib} $\ast$v)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} corresponding \hyperlink{classMrib}{Mrib} entry. \item\end{DoxyCompactList}\item 
\hyperlink{classMribLookup}{MribLookup} $\ast$ \hyperlink{classMribLookup_a8c69c4abd23cf6eec662e2ac70b93044}{parent} ()
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} parent \hyperlink{classMribLookup}{MribLookup} entry. \item\end{DoxyCompactList}\item 
void \hyperlink{classMribLookup_aef464fa46e748f7efc0788ad4e22d586}{set\_\-parent} (\hyperlink{classMribLookup}{MribLookup} $\ast$v)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} parent \hyperlink{classMribLookup}{MribLookup} entry. \item\end{DoxyCompactList}\item 
\hyperlink{classMribLookup}{MribLookup} $\ast$ \hyperlink{classMribLookup_a21033d8641762c22caf95e5585a0791c}{left\_\-child} ()
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} left child \hyperlink{classMribLookup}{MribLookup} entry. \item\end{DoxyCompactList}\item 
void \hyperlink{classMribLookup_ae46d96f72a5fa668b2aeb6250abb28d1}{set\_\-left\_\-child} (\hyperlink{classMribLookup}{MribLookup} $\ast$v)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} left child \hyperlink{classMribLookup}{MribLookup} entry. \item\end{DoxyCompactList}\item 
\hyperlink{classMribLookup}{MribLookup} $\ast$ \hyperlink{classMribLookup_a3bb57879ff87f9fbcda2488776a82c1f}{right\_\-child} ()
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} right child \hyperlink{classMribLookup}{MribLookup} entry. \item\end{DoxyCompactList}\item 
void \hyperlink{classMribLookup_a55fac48a8ba081163e71be87bd8d5039}{set\_\-right\_\-child} (\hyperlink{classMribLookup}{MribLookup} $\ast$v)
\begin{DoxyCompactList}\small\item\em Set \hyperlink{protocolthe-p}{the} right child \hyperlink{classMribLookup}{MribLookup} entry. \item\end{DoxyCompactList}\item 
\hyperlink{classMribLookup}{MribLookup} $\ast$ \hyperlink{classMribLookup_ae57f3e660a4da619940710d97f260f96}{get\_\-next} () const 
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} next \hyperlink{classMribLookup}{MribLookup} entry. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classMribLookup_a65a5675cd65c5a9968658fea2c533a7c}{
\hyperlink{classMribLookup}{MribLookup} $\ast$ {\bfseries \_\-parent}}
\label{classMribLookup_a65a5675cd65c5a9968658fea2c533a7c}

\item 
\hypertarget{classMribLookup_a11b657384aa9de5efd582d996ca8c742}{
\hyperlink{classMribLookup}{MribLookup} $\ast$ {\bfseries \_\-left\_\-child}}
\label{classMribLookup_a11b657384aa9de5efd582d996ca8c742}

\item 
\hypertarget{classMribLookup_a9ccfa4ff4d7438f185106b88da49e885}{
\hyperlink{classMribLookup}{MribLookup} $\ast$ {\bfseries \_\-right\_\-child}}
\label{classMribLookup_a9ccfa4ff4d7438f185106b88da49e885}

\item 
\hypertarget{classMribLookup_a31c4255f9d23c4396f91c8fbd72dfd07}{
\hyperlink{classMrib}{Mrib} $\ast$ {\bfseries \_\-mrib}}
\label{classMribLookup_a31c4255f9d23c4396f91c8fbd72dfd07}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
The basic entry in \hyperlink{protocolthe-p}{the} \hyperlink{classMribTable}{MribTable} lookup tree. 

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


Constructor for a given parent entry. 


\begin{DoxyParams}{Parameters}
{\em parent} & \hyperlink{protocolthe-p}{the} parent entry. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{classMribLookup_ae57f3e660a4da619940710d97f260f96}{
\index{MribLookup@{MribLookup}!get\_\-next@{get\_\-next}}
\index{get\_\-next@{get\_\-next}!MribLookup@{MribLookup}}
\subsubsection[{get\_\-next}]{\setlength{\rightskip}{0pt plus 5cm}{\bf MribLookup} $\ast$ MribLookup::get\_\-next (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}
\label{classMribLookup_ae57f3e660a4da619940710d97f260f96}


Get \hyperlink{protocolthe-p}{the} next \hyperlink{classMribLookup}{MribLookup} entry. 

The ordering of \hyperlink{protocolthe-p}{the} entries is \char`\"{}depth-\/first search\char`\"{}, where \hyperlink{protocolthe-p}{the} nodes are returned in \hyperlink{protocolthe-p}{the} following order: (a) \hyperlink{protocolthe-p}{the} parent node; (b) \hyperlink{protocolthe-p}{the} left-\/child node and all nodes within its subtree; (c) \hyperlink{protocolthe-p}{the} right-\/child node and all nodes within its subtree;

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} next \hyperlink{classMribLookup}{MribLookup} entry if exists, otherwise NULL. 
\end{DoxyReturn}
\hypertarget{classMribLookup_a21033d8641762c22caf95e5585a0791c}{
\index{MribLookup@{MribLookup}!left\_\-child@{left\_\-child}}
\index{left\_\-child@{left\_\-child}!MribLookup@{MribLookup}}
\subsubsection[{left\_\-child}]{\setlength{\rightskip}{0pt plus 5cm}{\bf MribLookup}$\ast$ MribLookup::left\_\-child (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classMribLookup_a21033d8641762c22caf95e5585a0791c}


Get \hyperlink{protocolthe-p}{the} left child \hyperlink{classMribLookup}{MribLookup} entry. 

Note that \hyperlink{protocolthe-p}{the} previous value of \hyperlink{protocolthe-p}{the} left child is overwritten.

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} left child \hyperlink{classMribLookup}{MribLookup} entry. 
\end{DoxyReturn}
\hypertarget{classMribLookup_a651045558891806f4ebb5a6b65deea5c}{
\index{MribLookup@{MribLookup}!mrib@{mrib}}
\index{mrib@{mrib}!MribLookup@{MribLookup}}
\subsubsection[{mrib}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Mrib}$\ast$ MribLookup::mrib (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classMribLookup_a651045558891806f4ebb5a6b65deea5c}


Get \hyperlink{protocolthe-p}{the} corresponding \hyperlink{classMrib}{Mrib} entry. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} corresponding \hyperlink{classMrib}{Mrib} entry if exists, otherwise NULL. 
\end{DoxyReturn}
\hypertarget{classMribLookup_a8c69c4abd23cf6eec662e2ac70b93044}{
\index{MribLookup@{MribLookup}!parent@{parent}}
\index{parent@{parent}!MribLookup@{MribLookup}}
\subsubsection[{parent}]{\setlength{\rightskip}{0pt plus 5cm}{\bf MribLookup}$\ast$ MribLookup::parent (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classMribLookup_a8c69c4abd23cf6eec662e2ac70b93044}


Get \hyperlink{protocolthe-p}{the} parent \hyperlink{classMribLookup}{MribLookup} entry. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} parent \hyperlink{classMribLookup}{MribLookup} entry. 
\end{DoxyReturn}
\hypertarget{classMribLookup_a3bb57879ff87f9fbcda2488776a82c1f}{
\index{MribLookup@{MribLookup}!right\_\-child@{right\_\-child}}
\index{right\_\-child@{right\_\-child}!MribLookup@{MribLookup}}
\subsubsection[{right\_\-child}]{\setlength{\rightskip}{0pt plus 5cm}{\bf MribLookup}$\ast$ MribLookup::right\_\-child (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classMribLookup_a3bb57879ff87f9fbcda2488776a82c1f}


Get \hyperlink{protocolthe-p}{the} right child \hyperlink{classMribLookup}{MribLookup} entry. 

\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} right child \hyperlink{classMribLookup}{MribLookup} entry. 
\end{DoxyReturn}
\hypertarget{classMribLookup_ae46d96f72a5fa668b2aeb6250abb28d1}{
\index{MribLookup@{MribLookup}!set\_\-left\_\-child@{set\_\-left\_\-child}}
\index{set\_\-left\_\-child@{set\_\-left\_\-child}!MribLookup@{MribLookup}}
\subsubsection[{set\_\-left\_\-child}]{\setlength{\rightskip}{0pt plus 5cm}void MribLookup::set\_\-left\_\-child (
\begin{DoxyParamCaption}
\item[{{\bf MribLookup} $\ast$}]{v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classMribLookup_ae46d96f72a5fa668b2aeb6250abb28d1}


Set \hyperlink{protocolthe-p}{the} left child \hyperlink{classMribLookup}{MribLookup} entry. 


\begin{DoxyParams}{Parameters}
{\em v} & \hyperlink{protocolthe-p}{the} left child \hyperlink{classMribLookup}{MribLookup} to assign to this entry. \\
\hline
\end{DoxyParams}
\hypertarget{classMribLookup_a0699849c9c353975946c68126c7e4e2f}{
\index{MribLookup@{MribLookup}!set\_\-mrib@{set\_\-mrib}}
\index{set\_\-mrib@{set\_\-mrib}!MribLookup@{MribLookup}}
\subsubsection[{set\_\-mrib}]{\setlength{\rightskip}{0pt plus 5cm}void MribLookup::set\_\-mrib (
\begin{DoxyParamCaption}
\item[{{\bf Mrib} $\ast$}]{v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classMribLookup_a0699849c9c353975946c68126c7e4e2f}


Set \hyperlink{protocolthe-p}{the} corresponding \hyperlink{classMrib}{Mrib} entry. 

Note that \hyperlink{protocolthe-p}{the} previous value of \hyperlink{protocolthe-p}{the} corresponding \hyperlink{classMrib}{Mrib} entry is overwritten.


\begin{DoxyParams}{Parameters}
{\em v} & \hyperlink{protocolthe-p}{the} value of \hyperlink{protocolthe-p}{the} corresponding \hyperlink{classMrib}{Mrib} entry. \\
\hline
\end{DoxyParams}
\hypertarget{classMribLookup_aef464fa46e748f7efc0788ad4e22d586}{
\index{MribLookup@{MribLookup}!set\_\-parent@{set\_\-parent}}
\index{set\_\-parent@{set\_\-parent}!MribLookup@{MribLookup}}
\subsubsection[{set\_\-parent}]{\setlength{\rightskip}{0pt plus 5cm}void MribLookup::set\_\-parent (
\begin{DoxyParamCaption}
\item[{{\bf MribLookup} $\ast$}]{v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classMribLookup_aef464fa46e748f7efc0788ad4e22d586}


Set \hyperlink{protocolthe-p}{the} parent \hyperlink{classMribLookup}{MribLookup} entry. 

Note that \hyperlink{protocolthe-p}{the} previous value of \hyperlink{protocolthe-p}{the} parent is overwritten.


\begin{DoxyParams}{Parameters}
{\em v} & \hyperlink{protocolthe-p}{the} parent \hyperlink{classMribLookup}{MribLookup} to assign to this entry. \\
\hline
\end{DoxyParams}
\hypertarget{classMribLookup_a55fac48a8ba081163e71be87bd8d5039}{
\index{MribLookup@{MribLookup}!set\_\-right\_\-child@{set\_\-right\_\-child}}
\index{set\_\-right\_\-child@{set\_\-right\_\-child}!MribLookup@{MribLookup}}
\subsubsection[{set\_\-right\_\-child}]{\setlength{\rightskip}{0pt plus 5cm}void MribLookup::set\_\-right\_\-child (
\begin{DoxyParamCaption}
\item[{{\bf MribLookup} $\ast$}]{v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classMribLookup_a55fac48a8ba081163e71be87bd8d5039}


Set \hyperlink{protocolthe-p}{the} right child \hyperlink{classMribLookup}{MribLookup} entry. 

Note that \hyperlink{protocolthe-p}{the} previous value of \hyperlink{protocolthe-p}{the} right child is overwritten.


\begin{DoxyParams}{Parameters}
{\em v} & \hyperlink{protocolthe-p}{the} right child \hyperlink{classMribLookup}{MribLookup} to assign to this entry. \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/mrt/mrib\_\-table.hh\item 
/home/greearb/git/xorp.ct.github/xorp/mrt/mrib\_\-table.cc\end{DoxyCompactItemize}
