\hypertarget{classRouteCmd}{
\section{RouteCmd$<$ A $>$ Class Template Reference}
\label{classRouteCmd}\index{RouteCmd@{RouteCmd}}
}


The idealised command to execute.  




{\ttfamily \#include $<$spt.hh$>$}

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum {\bfseries Cmd} \{ {\bfseries ADD}, 
{\bfseries DELETE}, 
{\bfseries REPLACE}
 \}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classRouteCmd_a9a13a128ce8c52897c1814bf6c1a3dc1}{
{\bfseries RouteCmd} (Cmd cmd, A node, A nexthop, A prevhop, int weight=0, bool next\_\-hop\_\-changed=false, bool weight\_\-changed=false)}
\label{classRouteCmd_a9a13a128ce8c52897c1814bf6c1a3dc1}

\item 
\hypertarget{classRouteCmd_a73dff80d8950d032ac55cae7f9c099b6}{
Cmd {\bfseries cmd} () const }
\label{classRouteCmd_a73dff80d8950d032ac55cae7f9c099b6}

\item 
\hypertarget{classRouteCmd_aba420cd276fa6c6a6810f8453d6f32a7}{
const A \& {\bfseries node} () const }
\label{classRouteCmd_aba420cd276fa6c6a6810f8453d6f32a7}

\item 
\hypertarget{classRouteCmd_a7a1d79e9f973f84654e6f8beecaba049}{
const A \& {\bfseries nexthop} () const }
\label{classRouteCmd_a7a1d79e9f973f84654e6f8beecaba049}

\item 
\hypertarget{classRouteCmd_aef69cb417b9a4d07ab4e3a6856742673}{
const A \& {\bfseries prevhop} () const }
\label{classRouteCmd_aef69cb417b9a4d07ab4e3a6856742673}

\item 
\hypertarget{classRouteCmd_af81cab8d58f20d9d29989c3e3df3da23}{
int {\bfseries weight} () const }
\label{classRouteCmd_af81cab8d58f20d9d29989c3e3df3da23}

\item 
\hypertarget{classRouteCmd_a97d0cbd03c623198e1e7bd84ef7be135}{
bool {\bfseries next\_\-hop\_\-changed} () const }
\label{classRouteCmd_a97d0cbd03c623198e1e7bd84ef7be135}

\item 
\hypertarget{classRouteCmd_ad48dbc53e0079420a87fe9523ab2e1ca}{
bool {\bfseries weight\_\-changed} () const }
\label{classRouteCmd_ad48dbc53e0079420a87fe9523ab2e1ca}

\item 
\hypertarget{classRouteCmd_a8fdf5ec84657d3c1d1af51f2ee91e7ba}{
bool {\bfseries operator==} (const \hyperlink{classRouteCmd}{RouteCmd} \&lhs)}
\label{classRouteCmd_a8fdf5ec84657d3c1d1af51f2ee91e7ba}

\item 
\hypertarget{classRouteCmd_a5acd9a9cfed1d26ed9b78cb670627e12}{
string {\bfseries c} () const }
\label{classRouteCmd_a5acd9a9cfed1d26ed9b78cb670627e12}

\item 
\hypertarget{classRouteCmd_aedd9b774dd45044bcb609ce5715be20c}{
string {\bfseries str} () const }
\label{classRouteCmd_aedd9b774dd45044bcb609ce5715be20c}

\item 
\hypertarget{classRouteCmd_a568c561bffd2fa3f896193edab8e585c}{
{\footnotesize template$<$$>$ }\\string {\bfseries str} () const}
\label{classRouteCmd_a568c561bffd2fa3f896193edab8e585c}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classRouteCmd_a19a8e3caf14959b8f99fce3dcbb0344d}{
Cmd {\bfseries \_\-cmd}}
\label{classRouteCmd_a19a8e3caf14959b8f99fce3dcbb0344d}

\item 
\hypertarget{classRouteCmd_a73e932e144c0a90413cd89cc027b9138}{
A {\bfseries \_\-node}}
\label{classRouteCmd_a73e932e144c0a90413cd89cc027b9138}

\item 
\hypertarget{classRouteCmd_acde1b64843433713dc8e4e9932a26ff7}{
A {\bfseries \_\-nexthop}}
\label{classRouteCmd_acde1b64843433713dc8e4e9932a26ff7}

\item 
\hypertarget{classRouteCmd_a2a67fe67a621994612eb7cde9e9bc2d6}{
A {\bfseries \_\-prevhop}}
\label{classRouteCmd_a2a67fe67a621994612eb7cde9e9bc2d6}

\item 
\hypertarget{classRouteCmd_ac32e87da24a5bd49e4a8cea753ecd8eb}{
int {\bfseries \_\-weight}}
\label{classRouteCmd_ac32e87da24a5bd49e4a8cea753ecd8eb}

\item 
\hypertarget{classRouteCmd_ab0ec760b8e6d8875c0b9a26437f56157}{
bool {\bfseries \_\-next\_\-hop\_\-changed}}
\label{classRouteCmd_ab0ec760b8e6d8875c0b9a26437f56157}

\item 
\hypertarget{classRouteCmd_ac3c101d8c925c98f1f4c7972899efd4c}{
bool {\bfseries \_\-weight\_\-changed}}
\label{classRouteCmd_ac3c101d8c925c98f1f4c7972899efd4c}

\end{DoxyCompactItemize}


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

The idealised command to execute. 

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