\hypertarget{namespace_d_d4hep_1_1_parsers}{\section{D\-D4hep\-:\-:Parsers Namespace Reference}
\label{namespace_d_d4hep_1_1_parsers}\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}}
}


Namespace for the A\-I\-D\-A detector for utilities using boost\-::spirit parsers.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{namespace_d_d4hep_1_1_parsers_a49cf20eb52b8e48550d6e3f74b94069e}{parse} (\hyperlink{class_d_d4hep_1_1_property}{Property} \&result, const std\-::string \&input)
\item 
int \hyperlink{namespace_d_d4hep_1_1_parsers_ad0d0bfb1ee52c6c6fe6000325562b1fa}{parse} (std\-::vector$<$ std\-::pair$<$ double, double $>$ $>$ \&result, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em parse the {\ttfamily bool} value \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_parsers_a300ef2062786116541bef473b809ee22}{parse} (std\-::vector$<$ std\-::pair$<$ int, int $>$ $>$ \&result, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em parse the {\ttfamily std\-::vector$<$std\-::pair$<$int,int$>$ $>$} value \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_parsers_afd6bbff0d1fc52ec885e45126f670506}{parse} (std\-::vector$<$ std\-::vector$<$ std\-::string $>$ $>$ \&result, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em parse the {\ttfamily std\-::vector$<$std\-::vector$<$std\-::string$>$ $>$} value \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_parsers_aaec3e97d2c62b4ca583b113b7c55e44c}{parse} (std\-::vector$<$ std\-::vector$<$ double $>$ $>$ \&result, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em parse the {\ttfamily std\-::vector$<$std\-::vector$<$double$>$ $>$} value \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_parsers_ac82777050fc05e43dcd2e5fa4648cfb5}{parse} (std\-::map$<$ int, int $>$ \&result, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em parse the {\ttfamily std\-::map$<$int , int$>$} value \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_parsers_a948c73c7e48e93c657c717952295ce22}{parse} (std\-::map$<$ int, double $>$ \&result, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em parse the {\ttfamily std\-::map$<$int , double$>$} value \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_parsers_a5c68b3129b287e0e4c0a8aa6c97224d2}{parse} (std\-::map$<$ std\-::string, std\-::string $>$ \&result, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em parse the {\ttfamily std\-::map$<$std\-::string , std\-::string$>$} value \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_parsers_a0bb67dd0bd4f1932c18d9fdf190b0387}{parse} (std\-::map$<$ std\-::string, int $>$ \&result, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em parse the {\ttfamily std\-::map$<$std\-::string , int$>$} value \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_parsers_a3bb4178f3175f409b144ff5629463c14}{parse} (std\-::map$<$ std\-::string, double $>$ \&result, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em parse the {\ttfamily std\-::map$<$std\-::string , double$>$} value \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_parsers_a010112afc7cbf060b08876d5d4dee7d5}{parse} (std\-::map$<$ std\-::string, std\-::vector$<$ std\-::string $>$ $>$ \&result, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em parse the {\ttfamily std\-::map$<$std\-::string , std\-::vector$<$std\-::string$>$ $>$} value \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_parsers_a0da3b1bf74df4603de3860725652b1f7}{parse} (std\-::map$<$ std\-::string, std\-::vector$<$ int $>$ $>$ \&result, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em parse the {\ttfamily std\-::map$<$std\-::string , std\-::vector$<$int$>$ $>$} value \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_parsers_a117aacde08a7caa18db156f5871ad9cf}{parse} (std\-::map$<$ std\-::string, std\-::vector$<$ double $>$ $>$ \&result, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em parse the {\ttfamily std\-::map$<$std\-::string , std\-::vector$<$double$>$ $>$} value \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_parsers_a3d922ac85001241814312a94a6ccdbc3}{parse} (std\-::map$<$ int, std\-::string $>$ \&result, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em parse the {\ttfamily std\-::map$<$int,std\-::string$>$ $>$} objects \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_parsers_a62f00a034a77a322187e7cd94418f696}{parse} (std\-::string \&name, std\-::string \&value, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em parse the {\ttfamily std\-::map$<$unsigned int,std\-::string$>$ $>$} objects \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_parsers_a2af85c2e9ae2c5ec0e91d3e992d529c2}{parse} (std\-::map$<$ std\-::string, std\-::pair$<$ double, double $>$ $>$ \&params, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em helper function, needed for implementation of map of pairs \end{DoxyCompactList}\item 
{\footnotesize template$<$class T , unsigned int N$>$ }\\int \hyperlink{namespace_d_d4hep_1_1_parsers_a3a2c641257cdea105bf397df609731f5}{parse} (\hyperlink{class_t}{T}(\&result)\mbox{[}N\mbox{]}, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em parser function for C-\/arrays \end{DoxyCompactList}\item 
{\footnotesize template$<$unsigned int N$>$ }\\int \hyperlink{namespace_d_d4hep_1_1_parsers_a6f63b6224a4074e16a6ff5d851170427}{parse} (char(\&result)\mbox{[}N\mbox{]}, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em parser function for C-\/strings \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_parsers_a7d90cf46a4c38175eed16be4cbc97d20}{parse} (R\-O\-O\-T\-::\-Math\-::\-X\-Y\-Z\-Point \&result, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em parse 3\-D-\/point \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_parsers_a55f47fe0c36c09f779f5aeefe17e9bcb}{parse} (R\-O\-O\-T\-::\-Math\-::\-X\-Y\-Z\-Vector \&result, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em parse 3\-D-\/vector \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_1_1_parsers_aa49d5f1a00fb97ffdcac92a067fc14a2}{parse} (R\-O\-O\-T\-::\-Math\-::\-Px\-Py\-Pz\-E\-Vector \&result, const std\-::string \&input)
\begin{DoxyCompactList}\small\item\em parse Px\-Py\-Pz\-E\-Vector \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Namespace for the A\-I\-D\-A detector for utilities using boost\-::spirit parsers. 

\subsection{Function Documentation}
\hypertarget{namespace_d_d4hep_1_1_parsers_a49cf20eb52b8e48550d6e3f74b94069e}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{{\bf Property} \&}]{result, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_a49cf20eb52b8e48550d6e3f74b94069e}


Definition at line 220 of file Component\-Properties.\-cpp.



References D\-D4hep\-::\-Property\-::str().



Referenced by D\-D4hep\-::\-X\-M\-L\-::\-Document\-Handler\-::create(), D\-D4hep\-::eval\-\_\-container(), D\-D4hep\-::\-Grammar$<$ T\-Y\-P\-E $>$\-::from\-String(), D\-D4hep\-::\-X\-M\-L\-::\-Document\-Handler\-::parse(), and parse().

\hypertarget{namespace_d_d4hep_1_1_parsers_ad0d0bfb1ee52c6c6fe6000325562b1fa}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{std\-::vector$<$ std\-::pair$<$ double, double $>$ $>$ \&}]{result, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_ad0d0bfb1ee52c6c6fe6000325562b1fa}


parse the {\ttfamily bool} value 

\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::\-Bool\-Grammar 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & (output) boolean result \\
\hline
{\em input} & (input) the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/12parse the {\ttfamily char} value 
\end{DoxyDate}
\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::\-Char\-Grammar 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & (output) boolean result \\
\hline
{\em input} & (input) the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/12parse the {\ttfamily int} value 
\end{DoxyDate}
\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::\-Int\-Grammar 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & (output) integer result \\
\hline
{\em input} & (input) the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/14
\end{DoxyDate}
\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::parser( int\&, const std\-::string\& ) \hyperlink{namespace_d_d4hep_1_1_parsers_a49cf20eb52b8e48550d6e3f74b94069e}{parse} the {\ttfamily double} value 

D\-D4hep\-::\-Parsers\-::\-Real\-Grammar 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & (output) double result \\
\hline
{\em input} & (input) the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/14
\end{DoxyDate}
\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::parser( double\&, const std\-::string\& ) \hyperlink{namespace_d_d4hep_1_1_parsers_a49cf20eb52b8e48550d6e3f74b94069e}{parse} the {\ttfamily std\-::string} value

D\-D4hep\-::\-Parsers\-::\-String\-Grammar 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & (output) string result \\
\hline
{\em input} & (input) the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/14parse the {\ttfamily std\-::pair$<$double,double$>$} value 
\end{DoxyDate}
\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::\-Pair\-Grammar 

D\-D4hep\-::\-Parsers\-::\-Real\-Grammar 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & (output) pair of doubles \\
\hline
{\em input} & (input) the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/14parse the {\ttfamily std\-::pair$<$int,int$>$} value
\end{DoxyDate}
\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::\-Pair\-Grammar 

D\-D4hep\-::\-Parsers\-::\-Int\-Grammar 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & (output) pair of integers \\
\hline
{\em input} & (input) the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/14parse the {\ttfamily std\-::vector$<$std\-::pair$<$double,double$>$ $>$} value 
\end{DoxyDate}
\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::\-Vector\-Grammar 

D\-D4hep\-::\-Parsers\-::\-Pair\-Grammar 

D\-D4hep\-::\-Parsers\-::\-Real\-Grammar 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & (output) vector with pairs of doubles \\
\hline
{\em input} & (input) the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/14 
\end{DoxyDate}
\hypertarget{namespace_d_d4hep_1_1_parsers_a300ef2062786116541bef473b809ee22}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{std\-::vector$<$ std\-::pair$<$ int, int $>$ $>$ \&}]{result, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_a300ef2062786116541bef473b809ee22}


parse the {\ttfamily std\-::vector$<$std\-::pair$<$int,int$>$ $>$} value 

\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::\-Vector\-Grammar 

D\-D4hep\-::\-Parsers\-::\-Pair\-Grammar 

D\-D4hep\-::\-Parsers\-::\-Int\-Grammar 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & (output) vector with pairs of int \\
\hline
{\em input} & (input) the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/14 
\end{DoxyDate}
\hypertarget{namespace_d_d4hep_1_1_parsers_afd6bbff0d1fc52ec885e45126f670506}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{std\-::vector$<$ std\-::vector$<$ std\-::string $>$ $>$ \&}]{result, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_afd6bbff0d1fc52ec885e45126f670506}


parse the {\ttfamily std\-::vector$<$std\-::vector$<$std\-::string$>$ $>$} value 

\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::\-Vector\-Grammar 

D\-D4hep\-::\-Parsers\-::\-String\-Grammar 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & (output) vector with vectors of strings \\
\hline
{\em input} & (input) the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/14 
\end{DoxyDate}
\hypertarget{namespace_d_d4hep_1_1_parsers_aaec3e97d2c62b4ca583b113b7c55e44c}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{std\-::vector$<$ std\-::vector$<$ double $>$ $>$ \&}]{result, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_aaec3e97d2c62b4ca583b113b7c55e44c}


parse the {\ttfamily std\-::vector$<$std\-::vector$<$double$>$ $>$} value 

\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::\-Vector\-Grammar 

D\-D4hep\-::\-Parsers\-::\-Real\-Grammar 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & (output) vector with vectors of doubles \\
\hline
{\em input} & (input) the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/14 
\end{DoxyDate}
\hypertarget{namespace_d_d4hep_1_1_parsers_ac82777050fc05e43dcd2e5fa4648cfb5}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{std\-::map$<$ int, int $>$ \&}]{result, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_ac82777050fc05e43dcd2e5fa4648cfb5}


parse the {\ttfamily std\-::map$<$int , int$>$} value 

\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::\-Map\-Grammar 

D\-D4hep\-::\-Parsers\-::\-Int\-Grammar 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & (output) map with integer key and double value \\
\hline
{\em input} & (input) the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/14 
\end{DoxyDate}
\hypertarget{namespace_d_d4hep_1_1_parsers_a948c73c7e48e93c657c717952295ce22}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{std\-::map$<$ int, double $>$ \&}]{result, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_a948c73c7e48e93c657c717952295ce22}


parse the {\ttfamily std\-::map$<$int , double$>$} value 

\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::\-Map\-Grammar 

D\-D4hep\-::\-Parsers\-::\-Int\-Grammar 

D\-D4hep\-::\-Parsers\-::\-Real\-Grammar 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & (output) map with integer key and double value \\
\hline
{\em input} & (input) the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/14 
\end{DoxyDate}
\hypertarget{namespace_d_d4hep_1_1_parsers_a5c68b3129b287e0e4c0a8aa6c97224d2}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{std\-::map$<$ std\-::string, std\-::string $>$ \&}]{result, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_a5c68b3129b287e0e4c0a8aa6c97224d2}


parse the {\ttfamily std\-::map$<$std\-::string , std\-::string$>$} value 

\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::\-Map\-Grammar 

D\-D4hep\-::\-Parsers\-::\-String\-Grammar 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & (output) map with string key and value \\
\hline
{\em input} & (input) the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/14 
\end{DoxyDate}
\hypertarget{namespace_d_d4hep_1_1_parsers_a0bb67dd0bd4f1932c18d9fdf190b0387}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{std\-::map$<$ std\-::string, int $>$ \&}]{result, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_a0bb67dd0bd4f1932c18d9fdf190b0387}


parse the {\ttfamily std\-::map$<$std\-::string , int$>$} value 

\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::\-Map\-Grammar 

D\-D4hep\-::\-Parsers\-::\-String\-Grammar 

D\-D4hep\-::\-Parsers\-::\-Int\-Grammar 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & (output) map with string key and integer value \\
\hline
{\em input} & (input) the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/14 
\end{DoxyDate}
\hypertarget{namespace_d_d4hep_1_1_parsers_a3bb4178f3175f409b144ff5629463c14}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{std\-::map$<$ std\-::string, double $>$ \&}]{result, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_a3bb4178f3175f409b144ff5629463c14}


parse the {\ttfamily std\-::map$<$std\-::string , double$>$} value 

\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::\-Map\-Grammar 

D\-D4hep\-::\-Parsers\-::\-String\-Grammar 

D\-D4hep\-::\-Parsers\-::\-Real\-Grammar 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & (output) map with string key and integer value \\
\hline
{\em input} & (input) the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/14 
\end{DoxyDate}
\hypertarget{namespace_d_d4hep_1_1_parsers_a010112afc7cbf060b08876d5d4dee7d5}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{std\-::map$<$ std\-::string, std\-::vector$<$ std\-::string $>$ $>$ \&}]{result, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_a010112afc7cbf060b08876d5d4dee7d5}


parse the {\ttfamily std\-::map$<$std\-::string , std\-::vector$<$std\-::string$>$ $>$} value 

\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::\-Map\-Grammar 

D\-D4hep\-::\-Parsers\-::\-String\-Grammar 

D\-D4hep\-::\-Parsers\-::\-Vector\-Grammar 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & (output) map with string value and vector of strings as value \\
\hline
{\em input} & (input) the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/14 
\end{DoxyDate}
\hypertarget{namespace_d_d4hep_1_1_parsers_a0da3b1bf74df4603de3860725652b1f7}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{std\-::map$<$ std\-::string, std\-::vector$<$ int $>$ $>$ \&}]{result, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_a0da3b1bf74df4603de3860725652b1f7}


parse the {\ttfamily std\-::map$<$std\-::string , std\-::vector$<$int$>$ $>$} value 

\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::\-Map\-Grammar 

D\-D4hep\-::\-Parsers\-::\-String\-Grammar 

D\-D4hep\-::\-Parsers\-::\-Vector\-Grammar 

D\-D4hep\-::\-Parsers\-::\-Int\-Grammar 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & (output) map with string value and vector of integers as value \\
\hline
{\em input} & (input) the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/14 
\end{DoxyDate}
\hypertarget{namespace_d_d4hep_1_1_parsers_a117aacde08a7caa18db156f5871ad9cf}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{std\-::map$<$ std\-::string, std\-::vector$<$ double $>$ $>$ \&}]{result, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_a117aacde08a7caa18db156f5871ad9cf}


parse the {\ttfamily std\-::map$<$std\-::string , std\-::vector$<$double$>$ $>$} value 

\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::\-Map\-Grammar 

D\-D4hep\-::\-Parsers\-::\-String\-Grammar 

D\-D4hep\-::\-Parsers\-::\-Vector\-Grammar 

D\-D4hep\-::\-Parsers\-::\-Real\-Grammar 
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em result} & (output) map with string value and vector of doubles as value \\
\hline
{\em input} & (input) the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/14 
\end{DoxyDate}
\hypertarget{namespace_d_d4hep_1_1_parsers_a3d922ac85001241814312a94a6ccdbc3}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{std\-::map$<$ int, std\-::string $>$ \&}]{result, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_a3d922ac85001241814312a94a6ccdbc3}


parse the {\ttfamily std\-::map$<$int,std\-::string$>$ $>$} objects 

\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::\-Map\-Grammar 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 

Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2007-\/12-\/06 
\end{DoxyDate}
\hypertarget{namespace_d_d4hep_1_1_parsers_a62f00a034a77a322187e7cd94418f696}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{std\-::string \&}]{name, }
\item[{std\-::string \&}]{value, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_a62f00a034a77a322187e7cd94418f696}


parse the {\ttfamily std\-::map$<$unsigned int,std\-::string$>$ $>$} objects 

\begin{DoxySeeAlso}{See Also}
D\-D4hep\-::\-Parsers\-::\-Map\-Grammar 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 

Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2007-\/12-\/06parse the pair expression (map-\/component) \char`\"{} 'name' \-:value\char`\"{} 
\begin{DoxyCode}
\textcolor{keyword}{const} std::string input = \textcolor{stringliteral}{"'PackageName':DD4hepKernel"} ;
std::string name  ;
std::string value ;
\textcolor{keywordtype}{int} sc = \hyperlink{namespace_d_d4hep_1_1_parsers_a49cf20eb52b8e48550d6e3f74b94069e}{DD4hep::Parsers::parse} ( name , value , input ) ;
\textcolor{keywordflow}{if} ( sc.isFailure() ) \{ ... \}
std::cout <<  \textcolor{stringliteral}{"\(\backslash\)tParsed name  is "} << name
          <<  \textcolor{stringliteral}{"\(\backslash\)tParsed value is "} << value << std::endl
\end{DoxyCode}

\end{DoxyDate}

\begin{DoxyParams}{Parameters}
{\em name} & (output) the parsed name of the component, defined as 'name' or \char`\"{}name\char`\"{} before the column symbol \char`\"{}\-:\char`\"{}, the leading and trailing blans are omitted \\
\hline
{\em value} & (output) the parsed value of the component, defined as everything after the column symbol \char`\"{}\-:\char`\"{} till the end of the string \\
\hline
{\em input} & (input) string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 

Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:ibelyaev@physics.syr.edu}{\tt ibelyaev@physics.\-syr.\-edu} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2006-\/05-\/12 
\end{DoxyDate}
\hypertarget{namespace_d_d4hep_1_1_parsers_a2af85c2e9ae2c5ec0e91d3e992d529c2}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{std\-::map$<$ std\-::string, std\-::pair$<$ double, double $>$ $>$ \&}]{params, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_a2af85c2e9ae2c5ec0e91d3e992d529c2}


helper function, needed for implementation of map of pairs 

It is very useful construction for monitoring to represent the value and error or the allowed range for some parameter 
\begin{DoxyParams}{Parameters}
{\em params} & the map of pair \\
\hline
{\em input} & the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code 
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:Ivan.Belyaev@nikhef.nl}{\tt Ivan.\-Belyaev@nikhef.\-nl} 

Alexander M\-A\-Z\-U\-R\-O\-V \href{mailto:Alexander.Mazurov@gmail.com}{\tt Alexander.\-Mazurov@gmail.\-com} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2009-\/05-\/19 
\end{DoxyDate}
\hypertarget{namespace_d_d4hep_1_1_parsers_a3a2c641257cdea105bf397df609731f5}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T , unsigned int N$>$ int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{{\bf T}(\&)}]{result\mbox{[}\-N\mbox{]}, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_a3a2c641257cdea105bf397df609731f5}


parser function for C-\/arrays 


\begin{DoxyParams}{Parameters}
{\em result} & C-\/array \\
\hline
{\em input} & the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code 
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:Ivan.Belyaev@nikhef.nl}{\tt Ivan.\-Belyaev@nikhef.\-nl} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2009-\/09-\/15 
\end{DoxyDate}


Definition at line 510 of file Parsers.\-h.



References D\-D4hep\-::\-Alignments\-::\-Alignment\-Tools\-::copy(), and parse().

\hypertarget{namespace_d_d4hep_1_1_parsers_a6f63b6224a4074e16a6ff5d851170427}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned int N$>$ int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{char(\&)}]{result\mbox{[}\-N\mbox{]}, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_a6f63b6224a4074e16a6ff5d851170427}


parser function for C-\/strings 


\begin{DoxyParams}{Parameters}
{\em result} & C-\/string \\
\hline
{\em input} & the string to be parsed \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code 
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:Ivan.Belyaev@nikhef.nl}{\tt Ivan.\-Belyaev@nikhef.\-nl} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2009-\/09-\/15 
\end{DoxyDate}


Definition at line 535 of file Parsers.\-h.



References D\-D4hep\-::\-Alignments\-::\-Alignment\-Tools\-::copy(), and parse().

\hypertarget{namespace_d_d4hep_1_1_parsers_a7d90cf46a4c38175eed16be4cbc97d20}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{R\-O\-O\-T\-::\-Math\-::\-X\-Y\-Z\-Point \&}]{result, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_a7d90cf46a4c38175eed16be4cbc97d20}


parse 3\-D-\/point 

Valid representations of 3\-D-\/point\-: \begin{DoxyVerb}- a'la python tuple with 3 elements ("canonical")
- a'la python list with 3 elements
- tuple or list with named ordered fields
\end{DoxyVerb}



\begin{DoxyCode}
\textcolor{stringliteral}{" (1,2,3) "}
\textcolor{stringliteral}{" [1,2,3] "}
\textcolor{stringliteral}{" [ x : 1, 2, Z:3 ] "}
\textcolor{stringliteral}{" [ pX : 1 , PY : 2, 3] "}
\end{DoxyCode}


Valid keys for names fields\-:


\begin{DoxyCode}
\textcolor{stringliteral}{"x"}, \textcolor{stringliteral}{"X"} , \textcolor{stringliteral}{"pX"} , \textcolor{stringliteral}{"Px"} , \textcolor{stringliteral}{"PX "}
\textcolor{stringliteral}{"y"}, \textcolor{stringliteral}{"Y"} , \textcolor{stringliteral}{"pY"} , \textcolor{stringliteral}{"Py"} , \textcolor{stringliteral}{"PY "}
\textcolor{stringliteral}{"z"}, \textcolor{stringliteral}{"Z"} , \textcolor{stringliteral}{"pZ"} , \textcolor{stringliteral}{"Pz"} , \textcolor{stringliteral}{"PZ "}
\end{DoxyCode}


\begin{DoxyAttention}{Attention}
Named fields must be ordered {\ttfamily (x,y,z)}
\end{DoxyAttention}

\begin{DoxyParams}{Parameters}
{\em result} & (output) the parsed point \\
\hline
{\em input} & (input) the input string \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code 
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:Ivan.Belyaev@nikhef.nl}{\tt Ivan.\-Belyaev@nikhef.\-nl} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2009-\/09-\/05 
\end{DoxyDate}
\hypertarget{namespace_d_d4hep_1_1_parsers_a55f47fe0c36c09f779f5aeefe17e9bcb}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{R\-O\-O\-T\-::\-Math\-::\-X\-Y\-Z\-Vector \&}]{result, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_a55f47fe0c36c09f779f5aeefe17e9bcb}


parse 3\-D-\/vector 

Valid representations of 3\-D-\/vector\-: \begin{DoxyVerb}- a'la python tuple with 3 elements ("canonical")
- a'la python list with 3 elements
- tuple or list with named ordered fields
\end{DoxyVerb}



\begin{DoxyCode}
\textcolor{stringliteral}{" (1,2,3) "}
\textcolor{stringliteral}{" [1,2,3] "}
\textcolor{stringliteral}{" [ x : 1, 2, Z:3 ] "}
\textcolor{stringliteral}{" [ pX : 1 , PY : 2, 3] "}
\end{DoxyCode}


Valid keys for names fields\-:


\begin{DoxyCode}
\textcolor{stringliteral}{"x"}, \textcolor{stringliteral}{"X"} , \textcolor{stringliteral}{"pX"} , \textcolor{stringliteral}{"Px"} , \textcolor{stringliteral}{"PX "}
\textcolor{stringliteral}{"y"}, \textcolor{stringliteral}{"Y"} , \textcolor{stringliteral}{"pY"} , \textcolor{stringliteral}{"Py"} , \textcolor{stringliteral}{"PY "}
\textcolor{stringliteral}{"z"}, \textcolor{stringliteral}{"Z"} , \textcolor{stringliteral}{"pZ"} , \textcolor{stringliteral}{"Pz"} , \textcolor{stringliteral}{"PZ "}
\end{DoxyCode}


\begin{DoxyAttention}{Attention}
Named fields must be ordered {\ttfamily (x,y,z)}
\end{DoxyAttention}

\begin{DoxyParams}{Parameters}
{\em result} & (output) the parsed vector \\
\hline
{\em input} & (input) the input string \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code 
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:Ivan.Belyaev@nikhef.nl}{\tt Ivan.\-Belyaev@nikhef.\-nl} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2009-\/09-\/05 
\end{DoxyDate}
\hypertarget{namespace_d_d4hep_1_1_parsers_aa49d5f1a00fb97ffdcac92a067fc14a2}{\index{D\-D4hep\-::\-Parsers@{D\-D4hep\-::\-Parsers}!parse@{parse}}
\index{parse@{parse}!DD4hep::Parsers@{D\-D4hep\-::\-Parsers}}
\subsubsection[{parse}]{\setlength{\rightskip}{0pt plus 5cm}int D\-D4hep\-::\-Parsers\-::parse (
\begin{DoxyParamCaption}
\item[{R\-O\-O\-T\-::\-Math\-::\-Px\-Py\-Pz\-E\-Vector \&}]{result, }
\item[{const std\-::string \&}]{input}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_parsers_aa49d5f1a00fb97ffdcac92a067fc14a2}


parse Px\-Py\-Pz\-E\-Vector 

Valid representations of Lorenzt vector \begin{DoxyVerb}- a'la python tuple with 4 elements ("canonical")
- a'la python list with 4 elements
- python/list with inner representation of 3D-point/vector
- tuple or list with named ordered fields
\end{DoxyVerb}



\begin{DoxyCode}
\textcolor{stringliteral}{" (1,2,3,4) "}
\textcolor{stringliteral}{" (1,2,3;4) "}

\textcolor{stringliteral}{" [1,2,3,4] "}
\textcolor{stringliteral}{" [1,2,3;4] "}

\textcolor{stringliteral}{" [ x:1 ,2,3; e= 4] "}
\textcolor{stringliteral}{" [ pX : 1 , PY : 2, 3 , T= 4] "}

\textcolor{stringliteral}{" [ ( pX : 1 , PY : 2, 3 ) , 4] "}
\textcolor{stringliteral}{" [ ( pX : 1 , PY : 2, 3 ) ; 4] "}

\textcolor{stringliteral}{" [ 4 , ( pX : 1 , PY : 2, 3 ) ] "}
\textcolor{stringliteral}{" [ 4 ; ( pX : 1 , PY : 2, 3 ) ] "}

\textcolor{stringliteral}{" [ [ pX : 1 , PY : 2, 3 ] , 4] "}
\textcolor{stringliteral}{" [ [ pX : 1 , PY : 2, 3 ] ; 4] "}

\textcolor{stringliteral}{" [ 4 , [ pX : 1 , PY : 2, 3 ] ] "}
\textcolor{stringliteral}{" [ 4 ; [ pX : 1 , PY : 2, 3 ] ] "}

\textcolor{stringliteral}{" ( ( pX : 1 , PY : 2, 3 ) , 4 )"}
\textcolor{stringliteral}{" ( ( pX : 1 , PY : 2, 3 ) ; 4 )"}

\textcolor{stringliteral}{" ( 4 , ( pX : 1 , PY : 2, 3 ) )"}
\textcolor{stringliteral}{" ( 4 ; ( pX : 1 , PY : 2, 3 ) )"}

\textcolor{stringliteral}{" ( [ pX : 1 , PY : 2, 3 ] , 4 )"}
\textcolor{stringliteral}{" ( [ pX : 1 , PY : 2, 3 ] ; 4 )"}

\textcolor{stringliteral}{" ( 4 , [ pX : 1 , PY : 2, 3 ] )"}
\textcolor{stringliteral}{" ( 4 ; [ pX : 1 , PY : 2, 3 ] )"}
\end{DoxyCode}


Note that \char`\"{}energy\char`\"{} element can be separated with semicolon.

Valid keys for names fields\-:


\begin{DoxyCode}
\textcolor{stringliteral}{"x"}, \textcolor{stringliteral}{"X"} , \textcolor{stringliteral}{"pX"} , \textcolor{stringliteral}{"Px"} , \textcolor{stringliteral}{"PX "}
\textcolor{stringliteral}{"y"}, \textcolor{stringliteral}{"Y"} , \textcolor{stringliteral}{"pY"} , \textcolor{stringliteral}{"Py"} , \textcolor{stringliteral}{"PY "}
\textcolor{stringliteral}{"z"}, \textcolor{stringliteral}{"Z"} , \textcolor{stringliteral}{"pZ"} , \textcolor{stringliteral}{"Pz"} , \textcolor{stringliteral}{"PZ "}
\textcolor{stringliteral}{"t"}, \textcolor{stringliteral}{"T"} , \textcolor{stringliteral}{"e"}  , \textcolor{stringliteral}{"E"}
\end{DoxyCode}


\begin{DoxyAttention}{Attention}
Named fields must be ordered {\ttfamily (x,y,z)}
\end{DoxyAttention}

\begin{DoxyParams}{Parameters}
{\em result} & (output) the parsed lorentz vector \\
\hline
{\em input} & (input) the input string \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
status code 
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:Ivan.Belyaev@nikhef.nl}{\tt Ivan.\-Belyaev@nikhef.\-nl} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2009-\/09-\/05 
\end{DoxyDate}
