\hypertarget{classIsOfProtocol}{
\section{IsOfProtocol$<$ A $>$ Class Template Reference}
\label{classIsOfProtocol}\index{IsOfProtocol@{IsOfProtocol}}
}


\hyperlink{classProtocol}{Protocol} Policy class.  




{\ttfamily \#include $<$redist\_\-policy.hh$>$}

Inheritance diagram for IsOfProtocol$<$ A $>$:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classIsOfProtocol}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIsOfProtocol_a3dc6fb5fddbba15b8efcc2621d31c554}{
{\bfseries IsOfProtocol} (const \hyperlink{classProtocol}{Protocol} \&p)}
\label{classIsOfProtocol_a3dc6fb5fddbba15b8efcc2621d31c554}

\item 
bool \hyperlink{classIsOfProtocol_ac7ba5a6258565ab03178dc8909da4150}{accept} (const \hyperlink{classIPRouteEntry}{IPRouteEntry}$<$ A $>$ \&ipr) const 
\begin{DoxyCompactList}\small\item\em Determine whether route should be accepted for redistribution. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classIsOfProtocol_a259fae2b407004cb215f0760f55acb3f}{
\hyperlink{classProtocol}{Protocol} {\bfseries \_\-protocol}}
\label{classIsOfProtocol_a259fae2b407004cb215f0760f55acb3f}

\end{DoxyCompactItemize}


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

\hyperlink{classProtocol}{Protocol} Policy class. Accepts route update from a specific routing protocol. 

\subsection{Member Function Documentation}
\hypertarget{classIsOfProtocol_ac7ba5a6258565ab03178dc8909da4150}{
\index{IsOfProtocol@{IsOfProtocol}!accept@{accept}}
\index{accept@{accept}!IsOfProtocol@{IsOfProtocol}}
\subsubsection[{accept}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename A $>$ bool {\bf IsOfProtocol}$<$ A $>$::accept (
\begin{DoxyParamCaption}
\item[{const {\bf IPRouteEntry}$<$ A $>$ \&}]{ipr}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classIsOfProtocol_ac7ba5a6258565ab03178dc8909da4150}


Determine whether route should be accepted for redistribution. 


\begin{DoxyParams}{Parameters}
{\em ipr} & route to be examined.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if route should be accepted for redistribution, false otherwise. 
\end{DoxyReturn}


Implements \hyperlink{classRedistPolicy_ad03b1f6793a4a39f224e4e368e03e550}{RedistPolicy$<$ A $>$}.



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