\hypertarget{structRouteInjector}{
\section{RouteInjector$<$ A $>$ Struct Template Reference}
\label{structRouteInjector}\index{RouteInjector@{RouteInjector}}
}


Unary function object to inject routes into a route database.  




{\ttfamily \#include $<$test\_\-utils.hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structRouteInjector_ab5f825a1168ba9e84cc98a05f110db30}{
{\bfseries RouteInjector} (\hyperlink{classRouteDB}{RouteDB}$<$ A $>$ \&r, const A \&my\_\-addr, const string \&ifname, const string \&vifname, uint32\_\-t cost, \hyperlink{classPeer}{Peer}$<$ A $>$ $\ast$peer)}
\label{structRouteInjector_ab5f825a1168ba9e84cc98a05f110db30}

\item 
\hypertarget{structRouteInjector_a54a9c7081924a722e1337a909f5a431a}{
void {\bfseries operator()} (const \hyperlink{classIPNet}{IPNet}$<$ A $>$ \&net)}
\label{structRouteInjector_a54a9c7081924a722e1337a909f5a431a}

\item 
\hypertarget{structRouteInjector_af61fe119a0e7b0fefc0b2647a96cf441}{
uint32\_\-t {\bfseries injected} () const }
\label{structRouteInjector_af61fe119a0e7b0fefc0b2647a96cf441}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structRouteInjector_a5a1b73c09b3cc601859b94681face5d2}{
\hyperlink{classRouteDB}{RouteDB}$<$ A $>$ \& {\bfseries \_\-r}}
\label{structRouteInjector_a5a1b73c09b3cc601859b94681face5d2}

\item 
\hypertarget{structRouteInjector_a27690f8eb48dae81aa14ed43a28cb29a}{
A {\bfseries \_\-m}}
\label{structRouteInjector_a27690f8eb48dae81aa14ed43a28cb29a}

\item 
\hypertarget{structRouteInjector_a18563ee34b1f5d37af63cfdc821e3cec}{
string {\bfseries \_\-ifname}}
\label{structRouteInjector_a18563ee34b1f5d37af63cfdc821e3cec}

\item 
\hypertarget{structRouteInjector_ae01d0fb672033ce90b3bf4b96e81e190}{
string {\bfseries \_\-vifname}}
\label{structRouteInjector_ae01d0fb672033ce90b3bf4b96e81e190}

\item 
\hypertarget{structRouteInjector_ab357b7be244bcd2795cc4aae40ac78b0}{
uint32\_\-t {\bfseries \_\-c}}
\label{structRouteInjector_ab357b7be244bcd2795cc4aae40ac78b0}

\item 
\hypertarget{structRouteInjector_a19420f154440fbb1e64857e88ffa43b9}{
\hyperlink{classPeer}{Peer}$<$ A $>$ $\ast$ {\bfseries \_\-p}}
\label{structRouteInjector_a19420f154440fbb1e64857e88ffa43b9}

\item 
\hypertarget{structRouteInjector_aa92717c681481fe3a2111f77d6d589c0}{
uint32\_\-t {\bfseries \_\-injected}}
\label{structRouteInjector_aa92717c681481fe3a2111f77d6d589c0}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename A$>$ struct RouteInjector$<$ A $>$}

Unary function object to inject routes into a route database. 

The documentation for this struct was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/rip/tests/test\_\-utils.hh\end{DoxyCompactItemize}
