\hypertarget{struct_d_d4hep_1_1_printer}{\section{D\-D4hep\-:\-:Printer$<$ T $>$ Class Template Reference}
\label{struct_d_d4hep_1_1_printer}\index{D\-D4hep\-::\-Printer$<$ T $>$@{D\-D4hep\-::\-Printer$<$ T $>$}}
}


Helper class template to implement A\-S\-C\-I\-I object dumps.  




{\ttfamily \#include $<$D\-D4hep/compact/\-Conversions.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{struct_d_d4hep_1_1_printer_accc6dac339dc1c219f32c0f2cdef6b70}{Printer} (const \hyperlink{class_d_d4hep_1_1_geometry_1_1_l_c_d_d}{Geometry\-::\-L\-C\-D\-D} $\ast$l, std\-::ostream \&stream, const std\-::string \&p=\char`\"{}\char`\"{})
\begin{DoxyCompactList}\small\item\em Initializing constructor of the functor. \end{DoxyCompactList}\item 
void \hyperlink{struct_d_d4hep_1_1_printer_a8612eda65f4491a0e5d45e235ca09359}{operator()} (const \hyperlink{class_t}{T} \&value) const 
\begin{DoxyCompactList}\small\item\em \hyperlink{class_d_d4hep_1_1_callback}{Callback} operator to be specialized depending on the element type. \end{DoxyCompactList}\item 
{\footnotesize template$<$$>$ }\\void \hyperlink{struct_d_d4hep_1_1_printer_a67e0aa5272ba12fc5b279db093a3a816}{operator()} (const \hyperlink{class_d_d4hep_1_1_handle}{Handle}$<$ \hyperlink{class_d_d4hep_1_1_named_object}{Named\-Object} $>$ \&val) const
\item 
{\footnotesize template$<$$>$ }\\void \hyperlink{struct_d_d4hep_1_1_printer_a2e92e9fc7a6049c627b1d67fd4fe16e1}{operator()} (const \hyperlink{class_d_d4hep_1_1_handle}{Handle}$<$ \hyperlink{class_t_named}{T\-Named} $>$ \&val) const
\item 
{\footnotesize template$<$$>$ }\\void \hyperlink{struct_d_d4hep_1_1_printer_ab21c1ad2868521a1cbd2e3f301b0db90}{operator()} (const \hyperlink{class_d_d4hep_1_1_geometry_1_1_constant}{Constant} \&val) const
\item 
{\footnotesize template$<$$>$ }\\void \hyperlink{struct_d_d4hep_1_1_printer_a7bd57999b2889ea04620f0619bfda983}{operator()} (const \hyperlink{class_d_d4hep_1_1_geometry_1_1_material}{Material} \&val) const
\item 
{\footnotesize template$<$$>$ }\\void \hyperlink{struct_d_d4hep_1_1_printer_a92db1cf77b2f6435c8089870281ac935}{operator()} (const \hyperlink{class_d_d4hep_1_1_geometry_1_1_vis_attr}{Vis\-Attr} \&val) const
\item 
{\footnotesize template$<$$>$ }\\void \hyperlink{struct_d_d4hep_1_1_printer_ae454d20fdece1287a5999d338476f043}{operator()} (const \hyperlink{class_d_d4hep_1_1_geometry_1_1_readout}{Readout} \&val) const
\item 
{\footnotesize template$<$$>$ }\\void \hyperlink{struct_d_d4hep_1_1_printer_aae536ffe33e3c2e7b51985dbd93e8226}{operator()} (const \hyperlink{class_d_d4hep_1_1_geometry_1_1_region}{Region} \&val) const
\item 
{\footnotesize template$<$$>$ }\\void \hyperlink{struct_d_d4hep_1_1_printer_a4a0c3d28367b9d06e9117ba1261e8bf1}{operator()} (const \hyperlink{namespace_d_d4hep_1_1_geometry_a24667b2b9c3cec3d5239828db4d52189}{Rotation\-Z\-Y\-X} \&val) const
\item 
{\footnotesize template$<$$>$ }\\void \hyperlink{struct_d_d4hep_1_1_printer_afe6264c0121d56d3a2a581883a377c9c}{operator()} (const \hyperlink{namespace_d_d4hep_1_1_geometry_a55083902099d03506c6db01b80404900}{Position} \&val) const
\item 
{\footnotesize template$<$$>$ }\\void \hyperlink{struct_d_d4hep_1_1_printer_a353b9c794a611d154e26875467f3c260}{operator()} (const Condition \&val) const
\item 
{\footnotesize template$<$$>$ }\\void \hyperlink{struct_d_d4hep_1_1_printer_acee5e080faf761fb4c3ee6faccb0d96e}{operator()} (const \hyperlink{class_d_d4hep_1_1_geometry_1_1_l_c_d_d}{L\-C\-D\-D} $\ast$const \&) const
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
const \hyperlink{class_d_d4hep_1_1_geometry_1_1_l_c_d_d}{Geometry\-::\-L\-C\-D\-D} $\ast$ \hyperlink{struct_d_d4hep_1_1_printer_a09e1761c59664ca7953a3bead1f44dd4}{lcdd}
\begin{DoxyCompactList}\small\item\em Reference to the detector description object. \end{DoxyCompactList}\item 
std\-::ostream \& \hyperlink{struct_d_d4hep_1_1_printer_a1ec1ad8ef8150a32854541bec0f9d7c8}{os}
\begin{DoxyCompactList}\small\item\em Reference to the output stream object, the \hyperlink{struct_d_d4hep_1_1_printer}{Printer} object should write. \end{DoxyCompactList}\item 
std\-::string \hyperlink{struct_d_d4hep_1_1_printer_a59b1bd251047feee01c469a91564a320}{prefix}
\begin{DoxyCompactList}\small\item\em Optional text prefix when formatting the output. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename T$>$class D\-D4hep\-::\-Printer$<$ T $>$}

Helper class template to implement A\-S\-C\-I\-I object dumps. 

Small helper class to print objects

\begin{DoxyAuthor}{Author}
M.\-Frank 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
1.\-0 
\end{DoxyVersion}


Definition at line 245 of file Printout.\-h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{struct_d_d4hep_1_1_printer_accc6dac339dc1c219f32c0f2cdef6b70}{\index{D\-D4hep\-::\-Printer@{D\-D4hep\-::\-Printer}!Printer@{Printer}}
\index{Printer@{Printer}!DD4hep::Printer@{D\-D4hep\-::\-Printer}}
\subsubsection[{Printer}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T$>$ {\bf D\-D4hep\-::\-Printer}$<$ {\bf T} $>$\-::{\bf Printer} (
\begin{DoxyParamCaption}
\item[{const {\bf Geometry\-::\-L\-C\-D\-D} $\ast$}]{l, }
\item[{std\-::ostream \&}]{stream, }
\item[{const std\-::string \&}]{p = {\ttfamily \char`\"{}\char`\"{}}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{struct_d_d4hep_1_1_printer_accc6dac339dc1c219f32c0f2cdef6b70}


Initializing constructor of the functor. 



Definition at line 253 of file Printout.\-h.



\subsection{Member Function Documentation}
\hypertarget{struct_d_d4hep_1_1_printer_a67e0aa5272ba12fc5b279db093a3a816}{\index{D\-D4hep\-::\-Printer@{D\-D4hep\-::\-Printer}!operator()@{operator()}}
\index{operator()@{operator()}!DD4hep::Printer@{D\-D4hep\-::\-Printer}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$$>$ void {\bf D\-D4hep\-::\-Printer}$<$ {\bf Handle}$<$ {\bf Named\-Object} $>$ $>$\-::operator() (
\begin{DoxyParamCaption}
\item[{const {\bf Handle}$<$ {\bf Named\-Object} $>$ \&}]{val}
\end{DoxyParamCaption}
) const}}\label{struct_d_d4hep_1_1_printer_a67e0aa5272ba12fc5b279db093a3a816}


Definition at line 42 of file Object\-Printout.\-cpp.



References D\-D4hep\-::\-I\-N\-F\-O, and D\-D4hep\-::printout().

\hypertarget{struct_d_d4hep_1_1_printer_a2e92e9fc7a6049c627b1d67fd4fe16e1}{\index{D\-D4hep\-::\-Printer@{D\-D4hep\-::\-Printer}!operator()@{operator()}}
\index{operator()@{operator()}!DD4hep::Printer@{D\-D4hep\-::\-Printer}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$$>$ void {\bf D\-D4hep\-::\-Printer}$<$ {\bf Handle}$<$ {\bf T\-Named} $>$ $>$\-::operator() (
\begin{DoxyParamCaption}
\item[{const {\bf Handle}$<$ {\bf T\-Named} $>$ \&}]{val}
\end{DoxyParamCaption}
) const}}\label{struct_d_d4hep_1_1_printer_a2e92e9fc7a6049c627b1d67fd4fe16e1}


Definition at line 45 of file Object\-Printout.\-cpp.



References D\-D4hep\-::\-I\-N\-F\-O, and D\-D4hep\-::printout().

\hypertarget{struct_d_d4hep_1_1_printer_ab21c1ad2868521a1cbd2e3f301b0db90}{\index{D\-D4hep\-::\-Printer@{D\-D4hep\-::\-Printer}!operator()@{operator()}}
\index{operator()@{operator()}!DD4hep::Printer@{D\-D4hep\-::\-Printer}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$$>$ void {\bf D\-D4hep\-::\-Printer}$<$ {\bf Constant} $>$\-::operator() (
\begin{DoxyParamCaption}
\item[{const {\bf Constant} \&}]{val}
\end{DoxyParamCaption}
) const}}\label{struct_d_d4hep_1_1_printer_ab21c1ad2868521a1cbd2e3f301b0db90}


Definition at line 49 of file Object\-Printout.\-cpp.



References D\-D4hep\-::\-I\-N\-F\-O, D\-D4hep\-::printout(), and D\-D4hep\-::\-Geometry\-::\-Constant\-::to\-String().

\hypertarget{struct_d_d4hep_1_1_printer_a7bd57999b2889ea04620f0619bfda983}{\index{D\-D4hep\-::\-Printer@{D\-D4hep\-::\-Printer}!operator()@{operator()}}
\index{operator()@{operator()}!DD4hep::Printer@{D\-D4hep\-::\-Printer}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$$>$ void {\bf D\-D4hep\-::\-Printer}$<$ {\bf Material} $>$\-::operator() (
\begin{DoxyParamCaption}
\item[{const {\bf Material} \&}]{val}
\end{DoxyParamCaption}
) const}}\label{struct_d_d4hep_1_1_printer_a7bd57999b2889ea04620f0619bfda983}


Definition at line 53 of file Object\-Printout.\-cpp.



References D\-D4hep\-::\-I\-N\-F\-O, D\-D4hep\-::printout(), and D\-D4hep\-::\-Geometry\-::\-Material\-::to\-String().

\hypertarget{struct_d_d4hep_1_1_printer_a92db1cf77b2f6435c8089870281ac935}{\index{D\-D4hep\-::\-Printer@{D\-D4hep\-::\-Printer}!operator()@{operator()}}
\index{operator()@{operator()}!DD4hep::Printer@{D\-D4hep\-::\-Printer}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$$>$ void {\bf D\-D4hep\-::\-Printer}$<$ {\bf Vis\-Attr} $>$\-::operator() (
\begin{DoxyParamCaption}
\item[{const {\bf Vis\-Attr} \&}]{val}
\end{DoxyParamCaption}
) const}}\label{struct_d_d4hep_1_1_printer_a92db1cf77b2f6435c8089870281ac935}


Definition at line 57 of file Object\-Printout.\-cpp.



References D\-D4hep\-::\-I\-N\-F\-O, D\-D4hep\-::printout(), and D\-D4hep\-::\-Geometry\-::\-Vis\-Attr\-::to\-String().

\hypertarget{struct_d_d4hep_1_1_printer_ae454d20fdece1287a5999d338476f043}{\index{D\-D4hep\-::\-Printer@{D\-D4hep\-::\-Printer}!operator()@{operator()}}
\index{operator()@{operator()}!DD4hep::Printer@{D\-D4hep\-::\-Printer}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$$>$ void {\bf D\-D4hep\-::\-Printer}$<$ {\bf Readout} $>$\-::operator() (
\begin{DoxyParamCaption}
\item[{const {\bf Readout} \&}]{val}
\end{DoxyParamCaption}
) const}}\label{struct_d_d4hep_1_1_printer_ae454d20fdece1287a5999d338476f043}


Definition at line 61 of file Object\-Printout.\-cpp.



References D\-D4hep\-::\-I\-N\-F\-O, and D\-D4hep\-::printout().

\hypertarget{struct_d_d4hep_1_1_printer_aae536ffe33e3c2e7b51985dbd93e8226}{\index{D\-D4hep\-::\-Printer@{D\-D4hep\-::\-Printer}!operator()@{operator()}}
\index{operator()@{operator()}!DD4hep::Printer@{D\-D4hep\-::\-Printer}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$$>$ void {\bf D\-D4hep\-::\-Printer}$<$ {\bf Region} $>$\-::operator() (
\begin{DoxyParamCaption}
\item[{const {\bf Region} \&}]{val}
\end{DoxyParamCaption}
) const}}\label{struct_d_d4hep_1_1_printer_aae536ffe33e3c2e7b51985dbd93e8226}


Definition at line 65 of file Object\-Printout.\-cpp.



References D\-D4hep\-::\-I\-N\-F\-O, and D\-D4hep\-::printout().

\hypertarget{struct_d_d4hep_1_1_printer_a4a0c3d28367b9d06e9117ba1261e8bf1}{\index{D\-D4hep\-::\-Printer@{D\-D4hep\-::\-Printer}!operator()@{operator()}}
\index{operator()@{operator()}!DD4hep::Printer@{D\-D4hep\-::\-Printer}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$$>$ void {\bf D\-D4hep\-::\-Printer}$<$ {\bf Rotation\-Z\-Y\-X} $>$\-::operator() (
\begin{DoxyParamCaption}
\item[{const {\bf Rotation\-Z\-Y\-X} \&}]{val}
\end{DoxyParamCaption}
) const}}\label{struct_d_d4hep_1_1_printer_a4a0c3d28367b9d06e9117ba1261e8bf1}


Definition at line 69 of file Object\-Printout.\-cpp.



References D\-D4hep\-::\-I\-N\-F\-O, and D\-D4hep\-::printout().

\hypertarget{struct_d_d4hep_1_1_printer_afe6264c0121d56d3a2a581883a377c9c}{\index{D\-D4hep\-::\-Printer@{D\-D4hep\-::\-Printer}!operator()@{operator()}}
\index{operator()@{operator()}!DD4hep::Printer@{D\-D4hep\-::\-Printer}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$$>$ void {\bf D\-D4hep\-::\-Printer}$<$ {\bf Position} $>$\-::operator() (
\begin{DoxyParamCaption}
\item[{const {\bf Position} \&}]{val}
\end{DoxyParamCaption}
) const}}\label{struct_d_d4hep_1_1_printer_afe6264c0121d56d3a2a581883a377c9c}


Definition at line 74 of file Object\-Printout.\-cpp.



References D\-D4hep\-::\-I\-N\-F\-O, and D\-D4hep\-::printout().

\hypertarget{struct_d_d4hep_1_1_printer_a353b9c794a611d154e26875467f3c260}{\index{D\-D4hep\-::\-Printer@{D\-D4hep\-::\-Printer}!operator()@{operator()}}
\index{operator()@{operator()}!DD4hep::Printer@{D\-D4hep\-::\-Printer}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$$>$ void {\bf D\-D4hep\-::\-Printer}$<$ Condition $>$\-::operator() (
\begin{DoxyParamCaption}
\item[{const Condition \&}]{val}
\end{DoxyParamCaption}
) const}}\label{struct_d_d4hep_1_1_printer_a353b9c794a611d154e26875467f3c260}


Definition at line 77 of file Object\-Printout.\-cpp.



References D\-D4hep\-::\-I\-N\-F\-O, and D\-D4hep\-::printout().

\hypertarget{struct_d_d4hep_1_1_printer_acee5e080faf761fb4c3ee6faccb0d96e}{\index{D\-D4hep\-::\-Printer@{D\-D4hep\-::\-Printer}!operator()@{operator()}}
\index{operator()@{operator()}!DD4hep::Printer@{D\-D4hep\-::\-Printer}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$$>$ void {\bf D\-D4hep\-::\-Printer}$<$ const {\bf L\-C\-D\-D} $\ast$ $>$\-::operator() (
\begin{DoxyParamCaption}
\item[{const {\bf L\-C\-D\-D} $\ast$const \&}]{}
\end{DoxyParamCaption}
) const}}\label{struct_d_d4hep_1_1_printer_acee5e080faf761fb4c3ee6faccb0d96e}


Definition at line 133 of file Object\-Printout.\-cpp.

\hypertarget{struct_d_d4hep_1_1_printer_a8612eda65f4491a0e5d45e235ca09359}{\index{D\-D4hep\-::\-Printer@{D\-D4hep\-::\-Printer}!operator()@{operator()}}
\index{operator()@{operator()}!DD4hep::Printer@{D\-D4hep\-::\-Printer}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T$>$ void {\bf D\-D4hep\-::\-Printer}$<$ {\bf T} $>$\-::operator() (
\begin{DoxyParamCaption}
\item[{const {\bf T} \&}]{value}
\end{DoxyParamCaption}
) const}}\label{struct_d_d4hep_1_1_printer_a8612eda65f4491a0e5d45e235ca09359}


\hyperlink{class_d_d4hep_1_1_callback}{Callback} operator to be specialized depending on the element type. 



\subsection{Member Data Documentation}
\hypertarget{struct_d_d4hep_1_1_printer_a09e1761c59664ca7953a3bead1f44dd4}{\index{D\-D4hep\-::\-Printer@{D\-D4hep\-::\-Printer}!lcdd@{lcdd}}
\index{lcdd@{lcdd}!DD4hep::Printer@{D\-D4hep\-::\-Printer}}
\subsubsection[{lcdd}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T$>$ const {\bf Geometry\-::\-L\-C\-D\-D}$\ast$ {\bf D\-D4hep\-::\-Printer}$<$ {\bf T} $>$\-::lcdd}}\label{struct_d_d4hep_1_1_printer_a09e1761c59664ca7953a3bead1f44dd4}


Reference to the detector description object. 



Definition at line 247 of file Printout.\-h.

\hypertarget{struct_d_d4hep_1_1_printer_a1ec1ad8ef8150a32854541bec0f9d7c8}{\index{D\-D4hep\-::\-Printer@{D\-D4hep\-::\-Printer}!os@{os}}
\index{os@{os}!DD4hep::Printer@{D\-D4hep\-::\-Printer}}
\subsubsection[{os}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T$>$ std\-::ostream\& {\bf D\-D4hep\-::\-Printer}$<$ {\bf T} $>$\-::os}}\label{struct_d_d4hep_1_1_printer_a1ec1ad8ef8150a32854541bec0f9d7c8}


Reference to the output stream object, the \hyperlink{struct_d_d4hep_1_1_printer}{Printer} object should write. 



Definition at line 249 of file Printout.\-h.

\hypertarget{struct_d_d4hep_1_1_printer_a59b1bd251047feee01c469a91564a320}{\index{D\-D4hep\-::\-Printer@{D\-D4hep\-::\-Printer}!prefix@{prefix}}
\index{prefix@{prefix}!DD4hep::Printer@{D\-D4hep\-::\-Printer}}
\subsubsection[{prefix}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T$>$ std\-::string {\bf D\-D4hep\-::\-Printer}$<$ {\bf T} $>$\-::prefix}}\label{struct_d_d4hep_1_1_printer_a59b1bd251047feee01c469a91564a320}


Optional text prefix when formatting the output. 



Definition at line 251 of file Printout.\-h.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/include/\-D\-D4hep/\hyperlink{_printout_8h}{Printout.\-h}\end{DoxyCompactItemize}
