\hypertarget{classSubnetRouteRef}{
\section{SubnetRouteRef$<$ A $>$ Class Template Reference}
\label{classSubnetRouteRef}\index{SubnetRouteRef@{SubnetRouteRef}}
}


a class to hold a reference to a \hyperlink{classSubnetRoute}{SubnetRoute}  




{\ttfamily \#include $<$subnet\_\-route.hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classSubnetRouteRef_a1e39f715b0235228a866d315557d1b32}{
{\bfseries SubnetRouteRef} (\hyperlink{classSubnetRoute}{SubnetRoute}$<$ A $>$ $\ast$route)}
\label{classSubnetRouteRef_a1e39f715b0235228a866d315557d1b32}

\item 
\hypertarget{classSubnetRouteRef_a15c3218c48d7044ca2d454fd07de3eb8}{
{\bfseries SubnetRouteRef} (const \hyperlink{classSubnetRouteRef}{SubnetRouteRef}$<$ A $>$ \&ref)}
\label{classSubnetRouteRef_a15c3218c48d7044ca2d454fd07de3eb8}

\item 
\hypertarget{classSubnetRouteRef_a58e0a26454e4638d0d2cb1cc493acdc3}{
\hyperlink{classSubnetRoute}{SubnetRoute}$<$ A $>$ $\ast$ {\bfseries route} () const }
\label{classSubnetRouteRef_a58e0a26454e4638d0d2cb1cc493acdc3}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classSubnetRouteRef_a95c8ac31e83b9b47ab906739e064523a}{
\hyperlink{classSubnetRoute}{SubnetRoute}$<$ A $>$ $\ast$ {\bfseries \_\-route}}
\label{classSubnetRouteRef_a95c8ac31e83b9b47ab906739e064523a}

\end{DoxyCompactItemize}


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

a class to hold a reference to a \hyperlink{classSubnetRoute}{SubnetRoute} \hyperlink{classSubnetRouteRef}{SubnetRouteRef} holds a reference to a \hyperlink{classSubnetRoute}{SubnetRoute}. When it is deleted or goes out of scope, \hyperlink{protocolthe-p}{the} SubnetRoute's reference count will be decreased, and \hyperlink{protocolthe-p}{the} \hyperlink{classSubnetRoute}{SubnetRoute} may be deleted if \hyperlink{protocolthe-p}{the} reference count reaches zero. 

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