\hypertarget{classMreGsKey}{
\section{MreGsKey Class Reference}
\label{classMreGsKey}\index{MreGsKey@{MreGsKey}}
}


Class for (S,G) lookup key (Group-\/first, Source-\/second priority).  




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

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classMreGsKey_a4c680058c42564951b543e2c197028ae}{MreGsKey} (const \hyperlink{classSourceGroup}{SourceGroup} \&source\_\-group)
\begin{DoxyCompactList}\small\item\em Constructor for a given \hyperlink{classSourceGroup}{SourceGroup} entry. \item\end{DoxyCompactList}\item 
const \hyperlink{classSourceGroup}{SourceGroup} \& \hyperlink{classMreGsKey_a7b1772fc213eae7cd42afaad03d06a19}{source\_\-group} () const 
\begin{DoxyCompactList}\small\item\em Get \hyperlink{protocolthe-p}{the} corresponding \hyperlink{classSourceGroup}{SourceGroup} entry. \item\end{DoxyCompactList}\item 
bool \hyperlink{classMreGsKey_ac598adc530c651e8d4f81c691eefb34d}{operator$<$} (const \hyperlink{classMreGsKey}{MreGsKey} \&other) const 
\begin{DoxyCompactList}\small\item\em Less-\/Than Operator. \item\end{DoxyCompactList}\item 
bool \hyperlink{classMreGsKey_a2b7b1b6d3f91920c9d353a6b844cca8f}{operator==} (const \hyperlink{classMreGsKey}{MreGsKey} \&other) const 
\begin{DoxyCompactList}\small\item\em Equality Operator. \item\end{DoxyCompactList}\item 
\hypertarget{classMreGsKey_a8c20beb824075a7ec1dc1fee23b906aa}{
\hyperlink{classMreGsKey}{MreGsKey} \& {\bfseries operator=} (const \hyperlink{classMreGsKey}{MreGsKey} \&rhs)}
\label{classMreGsKey_a8c20beb824075a7ec1dc1fee23b906aa}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classMreGsKey_a8b4e2264e091d324e52f55ae71f50831}{
const \hyperlink{classSourceGroup}{SourceGroup} $\ast$ {\bfseries \_\-source\_\-group}}
\label{classMreGsKey_a8b4e2264e091d324e52f55ae71f50831}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Class for (S,G) lookup key (Group-\/first, Source-\/second priority). 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classMreGsKey_a4c680058c42564951b543e2c197028ae}{
\index{MreGsKey@{MreGsKey}!MreGsKey@{MreGsKey}}
\index{MreGsKey@{MreGsKey}!MreGsKey@{MreGsKey}}
\subsubsection[{MreGsKey}]{\setlength{\rightskip}{0pt plus 5cm}MreGsKey::MreGsKey (
\begin{DoxyParamCaption}
\item[{const {\bf SourceGroup} \&}]{source\_\-group}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classMreGsKey_a4c680058c42564951b543e2c197028ae}


Constructor for a given \hyperlink{classSourceGroup}{SourceGroup} entry. 


\begin{DoxyParams}{Parameters}
{\em source\_\-group} & a reference to \hyperlink{protocolthe-p}{the} corresponding (S,G) entry. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{classMreGsKey_ac598adc530c651e8d4f81c691eefb34d}{
\index{MreGsKey@{MreGsKey}!operator$<$@{operator$<$}}
\index{operator$<$@{operator$<$}!MreGsKey@{MreGsKey}}
\subsubsection[{operator$<$}]{\setlength{\rightskip}{0pt plus 5cm}bool MreGsKey::operator$<$ (
\begin{DoxyParamCaption}
\item[{const {\bf MreGsKey} \&}]{other}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classMreGsKey_ac598adc530c651e8d4f81c691eefb34d}


Less-\/Than Operator. 


\begin{DoxyParams}{Parameters}
{\em other} & \hyperlink{protocolthe-p}{the} right-\/hand operand to compare against.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} left-\/hand operand is numerically smaller than \hyperlink{protocolthe-p}{the} right-\/hand operand. 
\end{DoxyReturn}
\hypertarget{classMreGsKey_a2b7b1b6d3f91920c9d353a6b844cca8f}{
\index{MreGsKey@{MreGsKey}!operator==@{operator==}}
\index{operator==@{operator==}!MreGsKey@{MreGsKey}}
\subsubsection[{operator==}]{\setlength{\rightskip}{0pt plus 5cm}bool MreGsKey::operator== (
\begin{DoxyParamCaption}
\item[{const {\bf MreGsKey} \&}]{other}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classMreGsKey_a2b7b1b6d3f91920c9d353a6b844cca8f}


Equality Operator. 


\begin{DoxyParams}{Parameters}
{\em other} & \hyperlink{protocolthe-p}{the} right-\/hand operand to compare against. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} left-\/hand operand is numerically same as \hyperlink{protocolthe-p}{the} right-\/hand operand. 
\end{DoxyReturn}
\hypertarget{classMreGsKey_a7b1772fc213eae7cd42afaad03d06a19}{
\index{MreGsKey@{MreGsKey}!source\_\-group@{source\_\-group}}
\index{source\_\-group@{source\_\-group}!MreGsKey@{MreGsKey}}
\subsubsection[{source\_\-group}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf SourceGroup}\& MreGsKey::source\_\-group (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classMreGsKey_a7b1772fc213eae7cd42afaad03d06a19}


Get \hyperlink{protocolthe-p}{the} corresponding \hyperlink{classSourceGroup}{SourceGroup} entry. 

\begin{DoxyReturn}{Returns}
a reference to \hyperlink{protocolthe-p}{the} corresponding (S,G) entry. 
\end{DoxyReturn}


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