\hypertarget{classSubnetRouteConstRef}{
\section{SubnetRouteConstRef$<$ A $>$ Class Template Reference}
\label{classSubnetRouteConstRef}\index{SubnetRouteConstRef@{SubnetRouteConstRef}}
}


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




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

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

\item 
\hypertarget{classSubnetRouteConstRef_aeacf7460742078fede71740a73137e7c}{
{\bfseries SubnetRouteConstRef} (const \hyperlink{classSubnetRouteConstRef}{SubnetRouteConstRef}$<$ A $>$ \&ref)}
\label{classSubnetRouteConstRef_aeacf7460742078fede71740a73137e7c}

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

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

\end{DoxyCompactItemize}


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

a class to hold a const reference to a \hyperlink{classSubnetRoute}{SubnetRoute} \hyperlink{classSubnetRouteRef}{SubnetRouteRef} holds a const 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}
