\hypertarget{classPolicyTableExport}{
\section{PolicyTableExport$<$ A $>$ Class Template Reference}
\label{classPolicyTableExport}\index{PolicyTableExport@{PolicyTableExport}}
}


Export policy tables match neighbor in a different way.  




{\ttfamily \#include $<$route\_\-table\_\-policy\_\-ex.hh$>$}

Inheritance diagram for PolicyTableExport$<$ A $>$:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classPolicyTableExport}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classPolicyTableExport_aa9171e2b33432577280bb75f8bd9941b}{PolicyTableExport} (const string \&tablename, const Safi \&safi, \hyperlink{classBGPRouteTable}{BGPRouteTable}$<$ A $>$ $\ast$parent, \hyperlink{classPolicyFilters}{PolicyFilters} \&pfs, const string \&neighbor, const A \&self)
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classPolicyTableExport_a2296549cd7c4b1f9ef15e8e87122cdb6}{
void {\bfseries init\_\-varrw} ()}
\label{classPolicyTableExport_a2296549cd7c4b1f9ef15e8e87122cdb6}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classPolicyTableExport_a36e70112fb6bfbac4b3ed8ad63a75a0d}{
const string {\bfseries \_\-neighbor}}
\label{classPolicyTableExport_a36e70112fb6bfbac4b3ed8ad63a75a0d}

\end{DoxyCompactItemize}


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

Export policy tables match neighbor in a different way. Export tables will supply a specialized varrw which will match neighbor against \hyperlink{protocolthe-p}{the} peer which \hyperlink{protocolthe-p}{the} advertisement is about to be sent out, rather than \hyperlink{protocolthe-p}{the} originating peer. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classPolicyTableExport_aa9171e2b33432577280bb75f8bd9941b}{
\index{PolicyTableExport@{PolicyTableExport}!PolicyTableExport@{PolicyTableExport}}
\index{PolicyTableExport@{PolicyTableExport}!PolicyTableExport@{PolicyTableExport}}
\subsubsection[{PolicyTableExport}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class A $>$ {\bf PolicyTableExport}$<$ A $>$::{\bf PolicyTableExport} (
\begin{DoxyParamCaption}
\item[{const string \&}]{tablename, }
\item[{const Safi \&}]{safi, }
\item[{{\bf BGPRouteTable}$<$ A $>$ $\ast$}]{parent, }
\item[{{\bf PolicyFilters} \&}]{pfs, }
\item[{const string \&}]{neighbor, }
\item[{const A \&}]{self}
\end{DoxyParamCaption}
)}}
\label{classPolicyTableExport_aa9171e2b33432577280bb75f8bd9941b}

\begin{DoxyParams}{Parameters}
{\em tablename} & name of \hyperlink{protocolthe-p}{the} table. \\
\hline
{\em safi} & \hyperlink{protocolthe-p}{the} safe. \\
\hline
{\em parent} & parent table. \\
\hline
{\em pfs} & a reference to \hyperlink{protocolthe-p}{the} global policy filters. \\
\hline
{\em neighbor} & \hyperlink{protocolthe-p}{the} id of \hyperlink{protocolthe-p}{the} peer on this output branch. \\
\hline
\end{DoxyParams}


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