\section{marlin\-:\-:Parser Class Reference}
\label{classmarlin_1_1Parser}\index{marlin\-::\-Parser@{marlin\-::\-Parser}}


Simple parser class for Marlin.  




{\ttfamily \#include $<$Parser.\-h$>$}

Inheritance diagram for marlin\-:\-:Parser\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classmarlin_1_1Parser}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bfseries Parser} (const std\-::string \&file\-Name)\label{classmarlin_1_1Parser_a787e9d6c02858ceb61b6ec7c09fdc56f}

\item 
{\bf String\-Parameters} $\ast$ {\bf get\-Parameters} (const std\-::string \&section\-Name) const \label{classmarlin_1_1Parser_ac1344984cb254c233c9f0ff4ae9dc558}

\begin{DoxyCompactList}\small\item\em Return the \doxyref{String\-Parameters}{p.}{classmarlin_1_1StringParameters} defined for this section of the steering file. \end{DoxyCompactList}\item 
void {\bf set\-Cmd\-Line\-Parameters} (const Command\-Line\-Parameters\-Map \&)\label{classmarlin_1_1Parser_a9ad829041900bf3ac4d04898e5e4c1da}

\begin{DoxyCompactList}\small\item\em set command line parameters \end{DoxyCompactList}\item 
void {\bf parse} ()\label{classmarlin_1_1Parser_a796847899c1fbcd36edd2c4f149e19f9}

\begin{DoxyCompactList}\small\item\em Parse the input file. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
int {\bf read\-Next\-Valid\-Line} (std\-::string \&str, std\-::istream \&stream)\label{classmarlin_1_1Parser_ab6bb5038a5d92c778aba06801b2baec8}

\begin{DoxyCompactList}\small\item\em Helper method that reads the next line from a stream that is not empty or starts with a '\#'. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
String\-Parameters\-Map {\bfseries \-\_\-map}\label{classmarlin_1_1Parser_ac9bd724f13cd1817d2c0fb3c63b68dce}

\item 
{\bf String\-Parameters} $\ast$ {\bfseries \-\_\-current}\label{classmarlin_1_1Parser_a435303b8c025e0e4964b011699a3a5e8}

\item 
std\-::string {\bfseries \-\_\-file\-Name}\label{classmarlin_1_1Parser_a104b008bdad372631fd7a9270b5dd3c2}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Simple parser class for Marlin. 

Creates Parameter objects for all sections in a steering file defined by enclosing \par
 .begin Section\-Name \par
 .end \par
 Parameters are defined for every line that doesn't start with \#. The first string is the name of the parameter (key) the rest of the line is interpreted as the list of values separated by whitespace. Values from multiple lines starting with the same name/key are appended to the corresponding list.

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

\end{DoxyVersion}
\begin{DoxyParagraph}{Id\-:}
\doxyref{Parser.\-h}{p.}{Parser_8h_source},v 1.\-3 2005-\/10-\/11 12\-:56\-:28 gaede Exp 
\end{DoxyParagraph}


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