\section{U\-T\-I\-L\-:\-:Collection\-Parameter\-Map Class Reference}
\label{classUTIL_1_1CollectionParameterMap}\index{U\-T\-I\-L\-::\-Collection\-Parameter\-Map@{U\-T\-I\-L\-::\-Collection\-Parameter\-Map}}


Helper class for setting and retrieving an std\-::map$<$string,int$>$ as collection parameters.  




{\ttfamily \#include $<$U\-T\-I\-L/\-Collection\-Parameter\-Map.\-h$>$}

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef std\-::map$<$ std\-::string, \\*
int $>$ {\bfseries map\-\_\-type}\label{classUTIL_1_1CollectionParameterMap_ac06322f4c0a5d72de66aeaac77f4e9e2}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Collection\-Parameter\-Map} (const std\-::string \&key\-Name, const std\-::string \&value\-Name, {\bf L\-C\-Collection} $\ast$col)\label{classUTIL_1_1CollectionParameterMap_a332e811b63bde15c1c889d48e63ab66a}

\begin{DoxyCompactList}\small\item\em Create \doxyref{Collection\-Parameter\-Map}{p.}{classUTIL_1_1CollectionParameterMap} for given collection -\/ read the collection parameters key\-Name and value\-Name if they exist. \end{DoxyCompactList}\item 
{\bf Collection\-Parameter\-Map} (const std\-::string \&key\-Name, const std\-::string \&value\-Name, const {\bf L\-C\-Collection} $\ast$col)\label{classUTIL_1_1CollectionParameterMap_adbd96bafcdcc8450251266d457780bf5}

\begin{DoxyCompactList}\small\item\em Create \doxyref{Collection\-Parameter\-Map}{p.}{classUTIL_1_1CollectionParameterMap} for given collection -\/ read the collection parameters key\-Name and value\-Name if they exist. \end{DoxyCompactList}\item 
{\bf $\sim$\-Collection\-Parameter\-Map} ()\label{classUTIL_1_1CollectionParameterMap_acf86272f5b37954010bb57e3bae9bce1}

\begin{DoxyCompactList}\small\item\em Update the collection parameters key\-Name and value\-Name when going out of scope. \end{DoxyCompactList}\item 
map\-\_\-type \& {\bf map} ()\label{classUTIL_1_1CollectionParameterMap_aa2a134131e8ab220638a1cfd0dc8eae5}

\begin{DoxyCompactList}\small\item\em The std\-::map$<$ std\-::string, int $>$. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void {\bfseries init} (const {\bf L\-C\-Collection} $\ast$col)\label{classUTIL_1_1CollectionParameterMap_a47fa2e96a4bb68d4f449c649f7a892c7}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string {\bfseries \-\_\-key\-Name}\label{classUTIL_1_1CollectionParameterMap_ad2dec4502c1a47af6396ca316101723f}

\item 
std\-::string {\bfseries \-\_\-value\-Name}\label{classUTIL_1_1CollectionParameterMap_ae3be53263e0401473630de047f30bb42}

\item 
{\bf L\-C\-Collection} $\ast$ {\bfseries \-\_\-col}\label{classUTIL_1_1CollectionParameterMap_a03ae6890ab8d9b3ff4bc00b790d04bc4}

\item 
map\-\_\-type {\bfseries \-\_\-map}\label{classUTIL_1_1CollectionParameterMap_a7708293db27ebb23a03a317bf66208eb}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Helper class for setting and retrieving an std\-::map$<$string,int$>$ as collection parameters. 

Depending on which constructor was used the collection parameters will be updated if an object of this class goes out of scope. The corresponding collection parameters will hold the current state of the map. If the a const L\-C\-Collection$\ast$ was specified (read use case) no parameters will be updated.

\begin{DoxySeeAlso}{See Also}
L\-C\-Collection\-::get\-Parameters() 

L\-C\-Parameters 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
F.\-Gaede, D\-E\-S\-Y 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{Collection\-Parameter\-Map.\-h}{p.}{CollectionParameterMap_8h_source},v 1.\-1 2008-\/05-\/30 13\-:26\-:16 gaede Exp 
\end{DoxyParagraph}


The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Collection\-Parameter\-Map.\-h\item 
Collection\-Parameter\-Map.\-cc\end{DoxyCompactItemize}
