\section{KSortable\-Value\-List$<$ T, Key $>$ Class Template Reference}
\label{classKSortableValueList}\index{KSortableValueList@{KSortableValueList}}
KSortable\-Value\-List is a special {\bf QValue\-List} for {\bf KSortable\-Item}{\rm (p.\,\pageref{classKSortableItem})}.  


{\tt \#include $<$ksortablevaluelist.h$>$}

Inheritance diagram for KSortable\-Value\-List$<$ T, Key $>$:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=184pt]{classKSortableValueList__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KSortable\-Value\-List$<$ T, Key $>$:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=129pt]{classKSortableValueList__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
void {\bf insert} (Key i, const T \&t)
\item 
T \& {\bf operator[$\,$]} (Key i)
\item 
const T \& {\bf operator[$\,$]} (Key i) const 
\item 
void {\bf sort} ()
\end{CompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class T, class Key = int$>$ class KSortable\-Value\-List$<$ T, Key $>$}

KSortable\-Value\-List is a special {\bf QValue\-List} for {\bf KSortable\-Item}{\rm (p.\,\pageref{classKSortableItem})}. 

It includes convenience operators to get the first value of the {\bf KSortable\-Item}{\rm (p.\,\pageref{classKSortableItem})} and a method to sort all items. 



Definition at line 130 of file ksortablevaluelist.h.

\subsection{Member Function Documentation}
\index{KSortableValueList@{KSortable\-Value\-List}!insert@{insert}}
\index{insert@{insert}!KSortableValueList@{KSortable\-Value\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T, class Key = int$>$ void {\bf KSortable\-Value\-List}$<$ T, Key $>$::insert (Key {\em i}, const T \& {\em t})\hspace{0.3cm}{\tt  [inline]}}\label{classKSortableValueList_a0}


Insert a {\bf KSortable\-Item}{\rm (p.\,\pageref{classKSortableItem})} with the given values. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em i}]the first value \item[{\em t}]the second value \end{description}
\end{Desc}


Definition at line 138 of file ksortablevaluelist.h.\index{KSortableValueList@{KSortable\-Value\-List}!operator[]@{operator[]}}
\index{operator[]@{operator[]}!KSortableValueList@{KSortable\-Value\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T, class Key = int$>$ T\& {\bf KSortable\-Value\-List}$<$ T, Key $>$::operator[$\,$] (Key {\em i})\hspace{0.3cm}{\tt  [inline]}}\label{classKSortableValueList_a1}


Returns the first value of the {\bf KSortable\-Item}{\rm (p.\,\pageref{classKSortableItem})} at the given position. 

\begin{Desc}
\item[Returns:]the first value of the {\bf KSortable\-Item}{\rm (p.\,\pageref{classKSortableItem})} \end{Desc}


Definition at line 147 of file ksortablevaluelist.h.\index{KSortableValueList@{KSortable\-Value\-List}!operator[]@{operator[]}}
\index{operator[]@{operator[]}!KSortableValueList@{KSortable\-Value\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T, class Key = int$>$ const T\& {\bf KSortable\-Value\-List}$<$ T, Key $>$::operator[$\,$] (Key {\em i}) const\hspace{0.3cm}{\tt  [inline]}}\label{classKSortableValueList_a2}


Returns the first value of the {\bf KSortable\-Item}{\rm (p.\,\pageref{classKSortableItem})} at the given position. 

\begin{Desc}
\item[Returns:]the first value of the {\bf KSortable\-Item}{\rm (p.\,\pageref{classKSortableItem})} \end{Desc}


Definition at line 155 of file ksortablevaluelist.h.\index{KSortableValueList@{KSortable\-Value\-List}!sort@{sort}}
\index{sort@{sort}!KSortableValueList@{KSortable\-Value\-List}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T, class Key = int$>$ void {\bf KSortable\-Value\-List}$<$ T, Key $>$::sort ()\hspace{0.3cm}{\tt  [inline]}}\label{classKSortableValueList_a3}


Sorts the KSortable\-Items. 



Definition at line 162 of file ksortablevaluelist.h.

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
ksortablevaluelist.h\end{CompactItemize}
