\hypertarget{namespace_d_d4hep_1_1_utils}{\section{D\-D4hep\-:\-:Utils Namespace Reference}
\label{namespace_d_d4hep_1_1_utils}\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}}
}


Utility namespace to support boost\-::spirit.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_ab016d8d624f13c9f5470910f2057b860}{to\-Stream} (const \hyperlink{class_d_d4hep_1_1_property}{Property} \&result, std\-::ostream \&os)
\item 
{\footnotesize template$<$class T\-Y\-P\-E $>$ }\\std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_a427d8efde90cd13f3934319c89ef6c35}{to\-Stream} (const T\-Y\-P\-E \&obj, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s})
\item 
{\footnotesize template$<$class I\-T\-E\-R\-A\-T\-O\-R $>$ }\\std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_acf5ffb31569b70cc4e4b347b5f8d858f}{to\-Stream} (I\-T\-E\-R\-A\-T\-O\-R first, I\-T\-E\-R\-A\-T\-O\-R last, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s}, const std\-::string \&open, const std\-::string \&close, const std\-::string \&delim)
\begin{DoxyCompactList}\small\item\em the helper function to print the sequence \end{DoxyCompactList}\item 
std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_aa018a120e53fa6edbb44f423a31baa21}{to\-Stream} (const std\-::string \&obj, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s})
\begin{DoxyCompactList}\small\item\em the printtout of the strings. \end{DoxyCompactList}\item 
std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_a4f1e298302e413af8ba3059d36f85336}{to\-Stream} (const bool obj, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s})
\begin{DoxyCompactList}\small\item\em the printout of boolean values \char`\"{}a'la Python\char`\"{} \end{DoxyCompactList}\item 
std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_af0a209fec5d19539ace63d69570c70b7}{to\-Stream} (const float obj, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s}, const int prec=6)
\begin{DoxyCompactList}\small\item\em the printout of float values with the reasonable precision \end{DoxyCompactList}\item 
std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_a63ebaf591a7f6deb9f4f5d9984e3b745}{to\-Stream} (const double obj, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s}, const int prec=8)
\begin{DoxyCompactList}\small\item\em the printout of double values with the reasonable precision \end{DoxyCompactList}\item 
std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_ac4881c1c93e7105a9f241b2664679409}{to\-Stream} (const long double obj, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s}, const int prec=10)
\begin{DoxyCompactList}\small\item\em the printout of long double values with the reasonable precision \end{DoxyCompactList}\item 
{\footnotesize template$<$class K\-T\-Y\-P\-E , class V\-T\-Y\-P\-E $>$ }\\std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_a503ee3c9f053315e32b3e5c86bc653d9}{to\-Stream} (const std\-::pair$<$ K\-T\-Y\-P\-E, V\-T\-Y\-P\-E $>$ \&obj, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s})
\item 
{\footnotesize template$<$class T\-Y\-P\-E , class A\-L\-L\-O\-C\-A\-T\-O\-R $>$ }\\std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_a9018241e575dafecf003bf871b8d6ef1}{to\-Stream} (const std\-::vector$<$ T\-Y\-P\-E, A\-L\-L\-O\-C\-A\-T\-O\-R $>$ \&obj, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s})
\item 
{\footnotesize template$<$class T\-Y\-P\-E , class A\-L\-L\-O\-C\-A\-T\-O\-R $>$ }\\std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_aaa747cec6fddff24617f88f07fe5240f}{to\-Stream} (const std\-::list$<$ T\-Y\-P\-E, A\-L\-L\-O\-C\-A\-T\-O\-R $>$ \&obj, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s})
\item 
{\footnotesize template$<$class T\-Y\-P\-E , class A\-L\-L\-O\-C\-A\-T\-O\-R $>$ }\\std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_aae9b1d676de789590541461e5187810d}{to\-Stream} (const std\-::deque$<$ T\-Y\-P\-E, A\-L\-L\-O\-C\-A\-T\-O\-R $>$ \&obj, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s})
\item 
{\footnotesize template$<$class T\-Y\-P\-E , class C\-M\-P , class A\-L\-L\-O\-C\-A\-T\-O\-R $>$ }\\std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_afaa532b1449559b0d94fc5ea4ff89e0f}{to\-Stream} (const std\-::set$<$ T\-Y\-P\-E, C\-M\-P, A\-L\-L\-O\-C\-A\-T\-O\-R $>$ \&obj, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s})
\item 
{\footnotesize template$<$class K\-T\-Y\-P\-E , class V\-T\-Y\-P\-E , class C\-M\-P , class A\-L\-L\-O\-C\-A\-T\-O\-R $>$ }\\std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_afe5b1089a2b4c65f34fc789456ad2fa7}{to\-Stream} (const std\-::map$<$ K\-T\-Y\-P\-E, V\-T\-Y\-P\-E, C\-M\-P, A\-L\-L\-O\-C\-A\-T\-O\-R $>$ \&obj, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s})
\item 
{\footnotesize template$<$class T\-Y\-P\-E , unsigned int N$>$ }\\std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_a12b3cc30e429682af25ebf60c4527ce2}{to\-Stream} (T\-Y\-P\-E(\&obj)\mbox{[}N\mbox{]}, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s})
\item 
{\footnotesize template$<$class T\-Y\-P\-E , unsigned int N$>$ }\\std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_a6fd757ad84b1cf53481c6c4bd48f26c0}{to\-Stream} (const T\-Y\-P\-E(\&obj)\mbox{[}N\mbox{]}, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s})
\item 
{\footnotesize template$<$unsigned int N$>$ }\\std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_ae93240ec7d2befb47d6bd09e1d318380}{to\-Stream} (char(\&obj)\mbox{[}N\mbox{]}, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s})
\item 
{\footnotesize template$<$unsigned int N$>$ }\\std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_a44ffcb1297d43e7a738c41a669e40cd6}{to\-Stream} (const char(\&obj)\mbox{[}N\mbox{]}, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s})
\item 
std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_a0e52adf037edd29df048973406fc2554}{to\-Stream} (const char $\ast$obj, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s})
\item 
{\footnotesize template$<$class T\-Y\-P\-E $>$ }\\std\-::string \hyperlink{namespace_d_d4hep_1_1_utils_a4e482234503764883507107b417e1de2}{to\-String} (const T\-Y\-P\-E \&obj)
\item 
std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_a2a135f6ca6327240ccb6a2f796c6fc49}{to\-Stream} (const R\-O\-O\-T\-::\-Math\-::\-X\-Y\-Z\-Point \&obj, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s})
\begin{DoxyCompactList}\small\item\em print X\-Y\-Z point \end{DoxyCompactList}\item 
std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_ad01ecddf10c1ce2ef7593b0a01516898}{to\-Stream} (const R\-O\-O\-T\-::\-Math\-::\-X\-Y\-Z\-Vector \&obj, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s})
\item 
std\-::ostream \& \hyperlink{namespace_d_d4hep_1_1_utils_aba37b7ad17a5c6c9f0db489d583ce2bc}{to\-Stream} (const R\-O\-O\-T\-::\-Math\-::\-Px\-Py\-Pz\-E\-Vector \&obj, std\-::ostream \&\hyperlink{_volumes_8cpp_a17ca6bfc8040d695d3cada22a4763d40}{s})
\begin{DoxyCompactList}\small\item\em print Lorentz vector \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Utility namespace to support boost\-::spirit. 

\subsection{Function Documentation}
\hypertarget{namespace_d_d4hep_1_1_utils_a427d8efde90cd13f3934319c89ef6c35}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T\-Y\-P\-E $>$ std\-::ostream \& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{const T\-Y\-P\-E \&}]{obj, }
\item[{std\-::ostream \&}]{s}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{namespace_d_d4hep_1_1_utils_a427d8efde90cd13f3934319c89ef6c35}
the generic implementation of the printout to the std\-::ostream \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}


Definition at line 254 of file To\-Stream.\-h.

\hypertarget{namespace_d_d4hep_1_1_utils_acf5ffb31569b70cc4e4b347b5f8d858f}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class I\-T\-E\-R\-A\-T\-O\-R $>$ std\-::ostream \& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{I\-T\-E\-R\-A\-T\-O\-R}]{first, }
\item[{I\-T\-E\-R\-A\-T\-O\-R}]{last, }
\item[{std\-::ostream \&}]{s, }
\item[{const std\-::string \&}]{open, }
\item[{const std\-::string \&}]{close, }
\item[{const std\-::string \&}]{delim}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{namespace_d_d4hep_1_1_utils_acf5ffb31569b70cc4e4b347b5f8d858f}


the helper function to print the sequence 


\begin{DoxyParams}{Parameters}
{\em first} & (I\-N\-P\-U\-T) begin-\/iterator for the sequence \\
\hline
{\em last} & (I\-N\-P\-U\-T) end-\/iterator for the sequence \\
\hline
{\em s} & (U\-P\-D\-A\-T\-E) the stream itself \\
\hline
{\em open} & (I\-N\-P\-U\-T) \char`\"{}open\char`\"{}-\/symbol \\
\hline
{\em close} & (I\-N\-P\-U\-T) \char`\"{}close\char`\"{}-\/symbol \\
\hline
{\em delim} & (I\-N\-P\-U\-T) \char`\"{}delimiter\char`\"{}-\/symbol \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the stream 
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:Ivan.BElyaev@nikhef.nl}{\tt Ivan.\-B\-Elyaev@nikhef.\-nl} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2009-\/09-\/15
\end{DoxyDate}
the helper function to print the sequence 
\begin{DoxyParams}{Parameters}
{\em first} & (I\-N\-P\-U\-T) begin-\/iterator for the sequence \\
\hline
{\em last} & (I\-N\-P\-U\-T) end-\/iterator for the sequence \\
\hline
{\em s} & (U\-P\-D\-A\-T\-E) the stream itself \\
\hline
{\em open} & (I\-N\-P\-U\-T) \char`\"{}open\char`\"{}-\/symbol \\
\hline
{\em close} & (I\-N\-P\-U\-T) \char`\"{}close\char`\"{}-\/symbol \\
\hline
{\em delim} & (I\-N\-P\-U\-T) \char`\"{}delimiter\char`\"{}-\/symbol \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the stream 
\end{DoxyReturn}
\begin{DoxyAuthor}{Author}
Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:Ivan.BElyaev@nikhef.nl}{\tt Ivan.\-B\-Elyaev@nikhef.\-nl} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2009-\/09-\/15 
\end{DoxyDate}


Definition at line 270 of file To\-Stream.\-h.



References s, and to\-Stream().

\hypertarget{namespace_d_d4hep_1_1_utils_aa018a120e53fa6edbb44f423a31baa21}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}std\-::ostream\& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{obj, }
\item[{std\-::ostream \&}]{s}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{namespace_d_d4hep_1_1_utils_aa018a120e53fa6edbb44f423a31baa21}


the printtout of the strings. 

the string is printed a'la Python using the quotes \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}


Definition at line 81 of file To\-Stream.\-h.



References s.

\hypertarget{namespace_d_d4hep_1_1_utils_a4f1e298302e413af8ba3059d36f85336}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}std\-::ostream\& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{const bool}]{obj, }
\item[{std\-::ostream \&}]{s}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{namespace_d_d4hep_1_1_utils_a4f1e298302e413af8ba3059d36f85336}


the printout of boolean values \char`\"{}a'la Python\char`\"{} 

\begin{DoxyAuthor}{Author}
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-\/09-\/09 
\end{DoxyDate}


Definition at line 94 of file To\-Stream.\-h.

\hypertarget{namespace_d_d4hep_1_1_utils_af0a209fec5d19539ace63d69570c70b7}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}std\-::ostream\& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{const float}]{obj, }
\item[{std\-::ostream \&}]{s, }
\item[{const int}]{prec = {\ttfamily 6}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{namespace_d_d4hep_1_1_utils_af0a209fec5d19539ace63d69570c70b7}


the printout of float values with the reasonable precision 

\begin{DoxyAuthor}{Author}
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-\/09-\/09 
\end{DoxyDate}


Definition at line 101 of file To\-Stream.\-h.

\hypertarget{namespace_d_d4hep_1_1_utils_a63ebaf591a7f6deb9f4f5d9984e3b745}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}std\-::ostream\& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{const double}]{obj, }
\item[{std\-::ostream \&}]{s, }
\item[{const int}]{prec = {\ttfamily 8}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{namespace_d_d4hep_1_1_utils_a63ebaf591a7f6deb9f4f5d9984e3b745}


the printout of double values with the reasonable precision 

\begin{DoxyAuthor}{Author}
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-\/09-\/09 
\end{DoxyDate}


Definition at line 109 of file To\-Stream.\-h.

\hypertarget{namespace_d_d4hep_1_1_utils_ac4881c1c93e7105a9f241b2664679409}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}std\-::ostream\& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{const long double}]{obj, }
\item[{std\-::ostream \&}]{s, }
\item[{const int}]{prec = {\ttfamily 10}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{namespace_d_d4hep_1_1_utils_ac4881c1c93e7105a9f241b2664679409}


the printout of long double values with the reasonable precision 

\begin{DoxyAuthor}{Author}
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-\/09-\/09 
\end{DoxyDate}


Definition at line 117 of file To\-Stream.\-h.

\hypertarget{namespace_d_d4hep_1_1_utils_a503ee3c9f053315e32b3e5c86bc653d9}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class K\-T\-Y\-P\-E , class V\-T\-Y\-P\-E $>$ std\-::ostream\& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{const std\-::pair$<$ K\-T\-Y\-P\-E, V\-T\-Y\-P\-E $>$ \&}]{obj, }
\item[{std\-::ostream \&}]{s}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{namespace_d_d4hep_1_1_utils_a503ee3c9f053315e32b3e5c86bc653d9}
the partial template specialization of {\ttfamily std\-::pair$<$\-K\-T\-Y\-P\-E,\-V\-T\-Y\-P\-E$>$} printout the pair is printed a'la Python tuple\-: \char`\"{} ( a , b )\char`\"{} \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}


Definition at line 130 of file To\-Stream.\-h.



References to\-Stream().

\hypertarget{namespace_d_d4hep_1_1_utils_a9018241e575dafecf003bf871b8d6ef1}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T\-Y\-P\-E , class A\-L\-L\-O\-C\-A\-T\-O\-R $>$ std\-::ostream\& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{const std\-::vector$<$ T\-Y\-P\-E, A\-L\-L\-O\-C\-A\-T\-O\-R $>$ \&}]{obj, }
\item[{std\-::ostream \&}]{s}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{namespace_d_d4hep_1_1_utils_a9018241e575dafecf003bf871b8d6ef1}
the partial template specialization of {\ttfamily std\-::vector$<$\-T\-Y\-P\-E,\-A\-L\-L\-O\-C\-A\-T\-O\-R$>$} printout. The vector is printed a'la Python list\-: \char`\"{}\mbox{[} a, b, c \mbox{]}\char`\"{} \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}


Definition at line 145 of file To\-Stream.\-h.



References s, and to\-Stream().

\hypertarget{namespace_d_d4hep_1_1_utils_aaa747cec6fddff24617f88f07fe5240f}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T\-Y\-P\-E , class A\-L\-L\-O\-C\-A\-T\-O\-R $>$ std\-::ostream\& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{const std\-::list$<$ T\-Y\-P\-E, A\-L\-L\-O\-C\-A\-T\-O\-R $>$ \&}]{obj, }
\item[{std\-::ostream \&}]{s}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{namespace_d_d4hep_1_1_utils_aaa747cec6fddff24617f88f07fe5240f}
the partial template specialization of {\ttfamily std\-::list$<$\-T\-Y\-P\-E,\-A\-L\-L\-O\-C\-A\-T\-O\-R$>$} printout. The vector is printed a'la Python list\-: \char`\"{}\mbox{[} a, b, c \mbox{]}\char`\"{} \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}
2007-\/04-\/08 
\end{DoxyDate}


Definition at line 156 of file To\-Stream.\-h.



References s, and to\-Stream().

\hypertarget{namespace_d_d4hep_1_1_utils_aae9b1d676de789590541461e5187810d}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T\-Y\-P\-E , class A\-L\-L\-O\-C\-A\-T\-O\-R $>$ std\-::ostream\& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{const std\-::deque$<$ T\-Y\-P\-E, A\-L\-L\-O\-C\-A\-T\-O\-R $>$ \&}]{obj, }
\item[{std\-::ostream \&}]{s}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{namespace_d_d4hep_1_1_utils_aae9b1d676de789590541461e5187810d}
the partial template specialization of {\ttfamily std\-::deque$<$\-T\-Y\-P\-E,\-A\-L\-L\-O\-C\-A\-T\-O\-R$>$} printout. The vector is printed a'la Python list\-: \char`\"{}\mbox{[} a, b, c \mbox{]}\char`\"{} \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}


Definition at line 167 of file To\-Stream.\-h.



References s, and to\-Stream().

\hypertarget{namespace_d_d4hep_1_1_utils_afaa532b1449559b0d94fc5ea4ff89e0f}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T\-Y\-P\-E , class C\-M\-P , class A\-L\-L\-O\-C\-A\-T\-O\-R $>$ std\-::ostream\& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{const std\-::set$<$ T\-Y\-P\-E, C\-M\-P, A\-L\-L\-O\-C\-A\-T\-O\-R $>$ \&}]{obj, }
\item[{std\-::ostream \&}]{s}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{namespace_d_d4hep_1_1_utils_afaa532b1449559b0d94fc5ea4ff89e0f}
the partial template specialization of {\ttfamily std\-::set$<$\-T\-Y\-P\-E,\-C\-M\-P,\-A\-L\-L\-O\-C\-A\-T\-O\-R$>$} printout. The vector is printed a'la Python list\-: \char`\"{}\mbox{[} a, b, c \mbox{]}\char`\"{} \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}


Definition at line 178 of file To\-Stream.\-h.



References s, and to\-Stream().

\hypertarget{namespace_d_d4hep_1_1_utils_afe5b1089a2b4c65f34fc789456ad2fa7}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class K\-T\-Y\-P\-E , class V\-T\-Y\-P\-E , class C\-M\-P , class A\-L\-L\-O\-C\-A\-T\-O\-R $>$ std\-::ostream\& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{const std\-::map$<$ K\-T\-Y\-P\-E, V\-T\-Y\-P\-E, C\-M\-P, A\-L\-L\-O\-C\-A\-T\-O\-R $>$ \&}]{obj, }
\item[{std\-::ostream \&}]{s}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{namespace_d_d4hep_1_1_utils_afe5b1089a2b4c65f34fc789456ad2fa7}
the partial template specialization of {\ttfamily std\-::map$<$\-K\-T\-Y\-P\-E,\-V\-T\-Y\-P\-E,\-C\-M\-P,\-A\-L\-L\-O\-C\-A\-T\-O\-R$>$} printout the map is printed a'la Python dict\-: \char`\"{} ( a \-: b , c\-: d , e \-: f )\char`\"{} \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}


Definition at line 190 of file To\-Stream.\-h.



References to\-Stream().

\hypertarget{namespace_d_d4hep_1_1_utils_a12b3cc30e429682af25ebf60c4527ce2}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T\-Y\-P\-E , unsigned int N$>$ std\-::ostream\& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{T\-Y\-P\-E(\&)}]{obj\mbox{[}\-N\mbox{]}, }
\item[{std\-::ostream \&}]{s}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_utils_a12b3cc30e429682af25ebf60c4527ce2}
the specialization for C-\/arrays, a'la python tuple \begin{DoxyAuthor}{Author}
Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:Ivan.Belyaev@nikhenf.nl}{\tt Ivan.\-Belyaev@nikhenf.\-nl} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2009-\/10-\/05 
\end{DoxyDate}


Definition at line 209 of file To\-Stream.\-h.



References to\-Stream().

\hypertarget{namespace_d_d4hep_1_1_utils_a6fd757ad84b1cf53481c6c4bd48f26c0}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T\-Y\-P\-E , unsigned int N$>$ std\-::ostream\& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{const T\-Y\-P\-E(\&)}]{obj\mbox{[}\-N\mbox{]}, }
\item[{std\-::ostream \&}]{s}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_utils_a6fd757ad84b1cf53481c6c4bd48f26c0}
the specialization for C-\/arrays, a'la python tuple \begin{DoxyAuthor}{Author}
Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:Ivan.Belyaev@nikhenf.nl}{\tt Ivan.\-Belyaev@nikhenf.\-nl} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2009-\/10-\/05 
\end{DoxyDate}


Definition at line 218 of file To\-Stream.\-h.



References to\-Stream().

\hypertarget{namespace_d_d4hep_1_1_utils_ab016d8d624f13c9f5470910f2057b860}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}std\-::ostream\& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{const {\bf Property} \&}]{result, }
\item[{std\-::ostream \&}]{os}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_utils_ab016d8d624f13c9f5470910f2057b860}


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



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



Referenced by print\-Alignment\-Ex(), D\-D4hep\-::\-Grammar$<$ T\-Y\-P\-E $>$\-::str(), to\-Stream(), and to\-String().

\hypertarget{namespace_d_d4hep_1_1_utils_ae93240ec7d2befb47d6bd09e1d318380}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned int N$>$ std\-::ostream\& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{char(\&)}]{obj\mbox{[}\-N\mbox{]}, }
\item[{std\-::ostream \&}]{s}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_utils_ae93240ec7d2befb47d6bd09e1d318380}
the specialization for C-\/string, a'la python tuple \begin{DoxyAuthor}{Author}
Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:Ivan.Belyaev@nikhenf.nl}{\tt Ivan.\-Belyaev@nikhenf.\-nl} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2009-\/10-\/05 
\end{DoxyDate}


Definition at line 227 of file To\-Stream.\-h.



References to\-Stream().

\hypertarget{namespace_d_d4hep_1_1_utils_a44ffcb1297d43e7a738c41a669e40cd6}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned int N$>$ std\-::ostream\& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{const char(\&)}]{obj\mbox{[}\-N\mbox{]}, }
\item[{std\-::ostream \&}]{s}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_utils_a44ffcb1297d43e7a738c41a669e40cd6}
the specialization for C-\/string, a'la python tuple \begin{DoxyAuthor}{Author}
Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:Ivan.Belyaev@nikhenf.nl}{\tt Ivan.\-Belyaev@nikhenf.\-nl} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2009-\/10-\/05 
\end{DoxyDate}


Definition at line 236 of file To\-Stream.\-h.



References to\-Stream().

\hypertarget{namespace_d_d4hep_1_1_utils_a0e52adf037edd29df048973406fc2554}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}std\-::ostream\& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{obj, }
\item[{std\-::ostream \&}]{s}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{namespace_d_d4hep_1_1_utils_a0e52adf037edd29df048973406fc2554}
the specialization for C-\/string, a'la python tuple \begin{DoxyAuthor}{Author}
Vanya B\-E\-L\-Y\-A\-E\-V \href{mailto:Ivan.Belyaev@nikhenf.nl}{\tt Ivan.\-Belyaev@nikhenf.\-nl} 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
2009-\/10-\/05 
\end{DoxyDate}


Definition at line 244 of file To\-Stream.\-h.



References to\-Stream().

\hypertarget{namespace_d_d4hep_1_1_utils_a2a135f6ca6327240ccb6a2f796c6fc49}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}std\-::ostream \& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{const R\-O\-O\-T\-::\-Math\-::\-X\-Y\-Z\-Point \&}]{obj, }
\item[{std\-::ostream \&}]{s}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_utils_a2a135f6ca6327240ccb6a2f796c6fc49}


print X\-Y\-Z point 



Definition at line 33 of file To\-Stream.\-cpp.



References s, and to\-Stream().

\hypertarget{namespace_d_d4hep_1_1_utils_ad01ecddf10c1ce2ef7593b0a01516898}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}std\-::ostream \& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{const R\-O\-O\-T\-::\-Math\-::\-X\-Y\-Z\-Vector \&}]{obj, }
\item[{std\-::ostream \&}]{s}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_utils_ad01ecddf10c1ce2ef7593b0a01516898}


Definition at line 45 of file To\-Stream.\-cpp.



References s, and to\-Stream().

\hypertarget{namespace_d_d4hep_1_1_utils_aba37b7ad17a5c6c9f0db489d583ce2bc}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-Stream@{to\-Stream}}
\index{to\-Stream@{to\-Stream}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-Stream}]{\setlength{\rightskip}{0pt plus 5cm}std\-::ostream \& D\-D4hep\-::\-Utils\-::to\-Stream (
\begin{DoxyParamCaption}
\item[{const R\-O\-O\-T\-::\-Math\-::\-Px\-Py\-Pz\-E\-Vector \&}]{obj, }
\item[{std\-::ostream \&}]{s}
\end{DoxyParamCaption}
)}}\label{namespace_d_d4hep_1_1_utils_aba37b7ad17a5c6c9f0db489d583ce2bc}


print Lorentz vector 



Definition at line 57 of file To\-Stream.\-cpp.



References s, and to\-Stream().

\hypertarget{namespace_d_d4hep_1_1_utils_a4e482234503764883507107b417e1de2}{\index{D\-D4hep\-::\-Utils@{D\-D4hep\-::\-Utils}!to\-String@{to\-String}}
\index{to\-String@{to\-String}!DD4hep::Utils@{D\-D4hep\-::\-Utils}}
\subsubsection[{to\-String}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class T\-Y\-P\-E $>$ std\-::string D\-D4hep\-::\-Utils\-::to\-String (
\begin{DoxyParamCaption}
\item[{const T\-Y\-P\-E \&}]{obj}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{namespace_d_d4hep_1_1_utils_a4e482234503764883507107b417e1de2}
the generic implementation of the type conversion to the string \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}
\begin{DoxySeeAlso}{See Also}
\hyperlink{namespace_d_d4hep_1_1_utils_ab016d8d624f13c9f5470910f2057b860}{D\-D4hep\-::\-Utils\-::to\-Stream} 
\end{DoxySeeAlso}
\begin{DoxyRefDesc}{Todo}
\item[\hyperlink{todo__todo000002}{Todo}]need to be compared with boost\-::lexical\-\_\-cast \end{DoxyRefDesc}


Definition at line 297 of file To\-Stream.\-h.



References s, and to\-Stream().

