\section{U\-T\-I\-L\-:\-:L\-C\-Warning Class Reference}
\label{classUTIL_1_1LCWarning}\index{U\-T\-I\-L\-::\-L\-C\-Warning@{U\-T\-I\-L\-::\-L\-C\-Warning}}


Utility class to show warnings in L\-C\-I\-O.  




{\ttfamily \#include $<$U\-T\-I\-L/\-L\-C\-Warning.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf register\-Warning} (const std\-::string \&id, const std\-::string \&txt, int max=10)
\begin{DoxyCompactList}\small\item\em register a new warning \end{DoxyCompactList}\item 
void {\bf print\-Warning} (const std\-::string \&id)\label{classUTIL_1_1LCWarning_afe810c1d02fcd0a391e550599dd51ef3}

\begin{DoxyCompactList}\small\item\em print the warning text associated to the given id \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static {\bf L\-C\-Warning} \& {\bfseries get\-Instance} ()\label{classUTIL_1_1LCWarning_ae252fe3617b5c951d7dab2256fafa979}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Utility class to show warnings in L\-C\-I\-O. 

The maximum amount of warnings printed is configurable and per default set to 10.

Warnings are shown one last time when application ends.

\begin{DoxyAuthor}{Author}
engels 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}


\subsection{Member Function Documentation}
\index{U\-T\-I\-L\-::\-L\-C\-Warning@{U\-T\-I\-L\-::\-L\-C\-Warning}!register\-Warning@{register\-Warning}}
\index{register\-Warning@{register\-Warning}!UTIL::LCWarning@{U\-T\-I\-L\-::\-L\-C\-Warning}}
\subsubsection[{register\-Warning}]{\setlength{\rightskip}{0pt plus 5cm}void U\-T\-I\-L\-::\-L\-C\-Warning\-::register\-Warning (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{id, }
\item[{const std\-::string \&}]{txt, }
\item[{int}]{max = {\ttfamily 10}}
\end{DoxyParamCaption}
)}\label{classUTIL_1_1LCWarning_a6aff7b4321cd3afd163c5362dbb6ab4b}


register a new warning 

id = \char`\"{}a\-\_\-unique\-\_\-string\-\_\-to\-\_\-identify\-\_\-the\-\_\-warning\char`\"{} txt = \char`\"{}the world will end tomorrow, leave the room immediately and go get some fun ;)\char`\"{} max = the maximum amount of times to display the warning 

The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
L\-C\-Warning.\-h\item 
L\-C\-Warning.\-cc\end{DoxyCompactItemize}
