\hypertarget{classRange}{
\section{Range$<$ T $>$ Class Template Reference}
\label{classRange}\index{Range@{Range}}
}


A template class for implementing linear ranges X..Y.  




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

Inheritance diagram for Range$<$ T $>$:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classRange}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classRange_a6f65c35914aeb4d5238b6acddaf40680}{
\hyperlink{classRange_a6f65c35914aeb4d5238b6acddaf40680}{Range} ()}
\label{classRange_a6f65c35914aeb4d5238b6acddaf40680}

\begin{DoxyCompactList}\small\item\em Default constructor. \item\end{DoxyCompactList}\item 
\hypertarget{classRange_a6b84fbad4f0f4a061bdcbb10df39e21e}{
\hyperlink{classRange_a6b84fbad4f0f4a061bdcbb10df39e21e}{Range} (T value)}
\label{classRange_a6b84fbad4f0f4a061bdcbb10df39e21e}

\begin{DoxyCompactList}\small\item\em Constructor from a single value. \item\end{DoxyCompactList}\item 
\hypertarget{classRange_abb72565a25f1bbba729d1fa42d2fc363}{
\hyperlink{classRange_abb72565a25f1bbba729d1fa42d2fc363}{Range} (T low, T high)}
\label{classRange_abb72565a25f1bbba729d1fa42d2fc363}

\begin{DoxyCompactList}\small\item\em Constructor from two values. \item\end{DoxyCompactList}\item 
\hypertarget{classRange_a45a1b1e8b148571bcb3cd955f46139c5}{
const T \& {\bfseries low} () const }
\label{classRange_a45a1b1e8b148571bcb3cd955f46139c5}

\item 
\hypertarget{classRange_afacabeeb3b00bb182623cafff4c4ee87}{
const T \& {\bfseries high} () const }
\label{classRange_afacabeeb3b00bb182623cafff4c4ee87}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classRange_af5c48de2d6a00a016e036c02554ab78e}{
T {\bfseries \_\-low}}
\label{classRange_af5c48de2d6a00a016e036c02554ab78e}

\item 
\hypertarget{classRange_a528e7fa45a478937e3b340e27e235be6}{
T {\bfseries \_\-high}}
\label{classRange_a528e7fa45a478937e3b340e27e235be6}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class T$>$ class Range$<$ T $>$}

A template class for implementing linear ranges X..Y. We define a linear range by its low and high inclusive boundaries. It's \hyperlink{protocolthe-p}{the} user's responisibility to ensure that \hyperlink{protocolthe-p}{the} condition (\_\-low $<$= \_\-high) always holds! 

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