\hypertarget{classLogTable}{
\section{LogTable$<$ A $>$ Class Template Reference}
\label{classLogTable}\index{LogTable@{LogTable}}
}


A Base for \hyperlink{classRoute}{Route} Tables that log updates.  




{\ttfamily \#include $<$rt\_\-tab\_\-log.hh$>$}

Inheritance diagram for LogTable$<$ A $>$:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classLogTable}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classLogTable_aca40b363200c0f8b8add67c5bab5f6fc}{
{\bfseries LogTable} (const string \&tablename, \hyperlink{classRouteTable}{RouteTable}$<$ A $>$ $\ast$parent)}
\label{classLogTable_aca40b363200c0f8b8add67c5bab5f6fc}

\item 
\hypertarget{classLogTable_ac01627a17e7aaedb3b4934f7bebdb452}{
int {\bfseries add\_\-route} (const \hyperlink{classIPRouteEntry}{IPRouteEntry}$<$ A $>$ \&route, \hyperlink{classRouteTable}{RouteTable}$<$ A $>$ $\ast$caller)}
\label{classLogTable_ac01627a17e7aaedb3b4934f7bebdb452}

\item 
\hypertarget{classLogTable_a6ae4063109d4031ec0c7af65213b0a87}{
int {\bfseries delete\_\-route} (const \hyperlink{classIPRouteEntry}{IPRouteEntry}$<$ A $>$ $\ast$, \hyperlink{classRouteTable}{RouteTable}$<$ A $>$ $\ast$caller)}
\label{classLogTable_a6ae4063109d4031ec0c7af65213b0a87}

\item 
\hypertarget{classLogTable_aeebf7c17f347376b539a41ca3cc72ab2}{
const \hyperlink{classIPRouteEntry}{IPRouteEntry}$<$ A $>$ $\ast$ {\bfseries lookup\_\-route} (const \hyperlink{classIPNet}{IPNet}$<$ A $>$ \&net) const }
\label{classLogTable_aeebf7c17f347376b539a41ca3cc72ab2}

\item 
\hypertarget{classLogTable_afd62cb81a8c74ef30b425f9ed452a52c}{
const \hyperlink{classIPRouteEntry}{IPRouteEntry}$<$ A $>$ $\ast$ {\bfseries lookup\_\-route} (const A \&addr) const }
\label{classLogTable_afd62cb81a8c74ef30b425f9ed452a52c}

\item 
\hypertarget{classLogTable_ab032c85eb42b1384df933982465709e0}{
\hyperlink{classRouteRange}{RouteRange}$<$ A $>$ $\ast$ {\bfseries lookup\_\-route\_\-range} (const A \&addr) const }
\label{classLogTable_ab032c85eb42b1384df933982465709e0}

\item 
\hypertarget{classLogTable_a38c21f656b0861f65c4332cd3bec256c}{
TableType {\bfseries type} () const }
\label{classLogTable_a38c21f656b0861f65c4332cd3bec256c}

\item 
\hypertarget{classLogTable_a9c2aafa570b1565d2a32621ab81b3977}{
\hyperlink{classRouteTable}{RouteTable}$<$ A $>$ $\ast$ {\bfseries parent} ()}
\label{classLogTable_a9c2aafa570b1565d2a32621ab81b3977}

\item 
\hypertarget{classLogTable_a91c36ae6df8beeb0e625447e127fbaef}{
void {\bfseries replumb} (\hyperlink{classRouteTable}{RouteTable}$<$ A $>$ $\ast$old\_\-parent, \hyperlink{classRouteTable}{RouteTable}$<$ A $>$ $\ast$new\_\-parent)}
\label{classLogTable_a91c36ae6df8beeb0e625447e127fbaef}

\item 
\hypertarget{classLogTable_ab3b27c4ec148eb174eabc3240804516d}{
string {\bfseries str} () const }
\label{classLogTable_ab3b27c4ec148eb174eabc3240804516d}

\item 
\hypertarget{classLogTable_a1ee361440d4203e483a7575e5fdb4a35}{
uint32\_\-t {\bfseries update\_\-number} () const }
\label{classLogTable_a1ee361440d4203e483a7575e5fdb4a35}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classLogTable_a62a1e68cfdb25c324ab160cb09b39f81}{
\hyperlink{classRouteTable}{RouteTable}$<$ A $>$ $\ast$ {\bfseries \_\-parent}}
\label{classLogTable_a62a1e68cfdb25c324ab160cb09b39f81}

\item 
\hypertarget{classLogTable_a892c3d7b94e327f634ee30a1887d9503}{
uint32\_\-t {\bfseries \_\-update\_\-number}}
\label{classLogTable_a892c3d7b94e327f634ee30a1887d9503}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename A$>$ class LogTable$<$ A $>$}

A Base for \hyperlink{classRoute}{Route} Tables that log updates. Users of this class specify expected updates with expect\_\-add and expect\_\-delete. As \hyperlink{protocolthe-p}{the} updates come through they are compared against those expect and generate an assertion failure if those arriving do not match those expected. An assertion failure will also occur if there are unmatched updates upon instance destruction.

This class is strictly for debugging and testing purposes. 

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