\hypertarget{_printout_8h}{\section{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/include/\-D\-D4hep/\-Printout.h File Reference}
\label{_printout_8h}\index{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/include/\-D\-D4hep/\-Printout.\-h@{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/include/\-D\-D4hep/\-Printout.\-h}}
}
{\ttfamily \#include $<$cstdio$>$}\\*
{\ttfamily \#include $<$cstdlib$>$}\\*
{\ttfamily \#include $<$cstdarg$>$}\\*
{\ttfamily \#include $<$map$>$}\\*
{\ttfamily \#include $<$string$>$}\\*
{\ttfamily \#include $<$iostream$>$}\\*
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{class_d_d4hep_1_1_handle}{D\-D4hep\-::\-Handle$<$ T $>$}
\begin{DoxyCompactList}\small\item\em \hyperlink{class_d_d4hep_1_1_handle}{Handle}\-: a templated class like a shared pointer, which allows specialized access to tgeometry objects. \end{DoxyCompactList}\item 
class \hyperlink{struct_d_d4hep_1_1_printer}{D\-D4hep\-::\-Printer$<$ T $>$}
\begin{DoxyCompactList}\small\item\em Helper class template to implement A\-S\-C\-I\-I object dumps. \end{DoxyCompactList}\item 
class \hyperlink{struct_d_d4hep_1_1_print_map}{D\-D4hep\-::\-Print\-Map$<$ T $>$}
\begin{DoxyCompactList}\small\item\em Helper class template to implement A\-S\-C\-I\-I dumps of named objects maps. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
\hyperlink{namespace_d_d4hep}{D\-D4hep}
\begin{DoxyCompactList}\small\item\em Namespace for the A\-I\-D\-A detector description toolkit. \end{DoxyCompactList}\item 
\hyperlink{namespace_d_d4hep_1_1_geometry}{D\-D4hep\-::\-Geometry}
\begin{DoxyCompactList}\small\item\em Namespace for the geometry part of the A\-I\-D\-A detector description toolkit. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef size\-\_\-t($\ast$ \hyperlink{namespace_d_d4hep_ae75e3a861e057274d7f7bb67011ff3b4}{D\-D4hep\-::output\-\_\-function1\-\_\-t} )(void $\ast$, Print\-Level severity, const char $\ast$, const char $\ast$)
\item 
typedef size\-\_\-t($\ast$ \hyperlink{namespace_d_d4hep_a782306f3df224bf6e5be62c498715cd1}{D\-D4hep\-::output\-\_\-function2\-\_\-t} )(void $\ast$, Print\-Level severity, const char $\ast$, const char $\ast$, va\-\_\-list \&args)
\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{namespace_d_d4hep_a5b5a64d56252469451f2020a27d57d42}{D\-D4hep\-::\-Print\-Level} \{ \\*
\hyperlink{namespace_d_d4hep_a5b5a64d56252469451f2020a27d57d42aa90ed476f1bb3525c3896f25efd609c5}{D\-D4hep\-::\-N\-O\-L\-O\-G} = 0, 
\hyperlink{namespace_d_d4hep_a5b5a64d56252469451f2020a27d57d42a2c12bf245b6095423f62644ab1f5eedf}{D\-D4hep\-::\-V\-E\-R\-B\-O\-S\-E} = 1, 
\hyperlink{namespace_d_d4hep_a5b5a64d56252469451f2020a27d57d42ad22cda76fc1b3a55bc359945db9c811c}{D\-D4hep\-::\-D\-E\-B\-U\-G} = 2, 
\hyperlink{namespace_d_d4hep_a5b5a64d56252469451f2020a27d57d42aae10bc5a07787c36af0a4c9921b262d2}{D\-D4hep\-::\-I\-N\-F\-O} = 3, 
\\*
\hyperlink{namespace_d_d4hep_a5b5a64d56252469451f2020a27d57d42ac24ff9a0f663cd47b4e4e37a977dff02}{D\-D4hep\-::\-W\-A\-R\-N\-I\-N\-G} = 4, 
\hyperlink{namespace_d_d4hep_a5b5a64d56252469451f2020a27d57d42a54d5c1b9254fdf017c456cb972d26f96}{D\-D4hep\-::\-E\-R\-R\-O\-R} = 5, 
\hyperlink{namespace_d_d4hep_a5b5a64d56252469451f2020a27d57d42a7bfb778cde0373aa4be752e638d8383b}{D\-D4hep\-::\-F\-A\-T\-A\-L} = 6, 
\hyperlink{namespace_d_d4hep_a5b5a64d56252469451f2020a27d57d42a918099d24909b9384ac28d377dbf58f1}{D\-D4hep\-::\-A\-L\-W\-A\-Y\-S} = 7
 \}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
std\-::string \hyperlink{namespace_d_d4hep_a899837ec310fccf5bd61e5adf1c944c5}{D\-D4hep\-::arguments} (int argc, char $\ast$$\ast$argv)
\begin{DoxyCompactList}\small\item\em Helper function to serialize argument list to a single string. \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_a6d434af620a49074f3d86d05a04b6073}{D\-D4hep\-::printout} (Print\-Level severity, const char $\ast$src, const char $\ast$fmt,...)
\begin{DoxyCompactList}\small\item\em Calls the display action with a given severity level. \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_a56158e35364c45902f21968cd334c53f}{D\-D4hep\-::printout} (Print\-Level severity, const std\-::string \&src, const char $\ast$fmt,...)
\begin{DoxyCompactList}\small\item\em Calls the display action with a given severity level. \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_a335f9a94367d028c2719a77bfccfb2d2}{D\-D4hep\-::printout} (Print\-Level severity, const std\-::string \&src, const std\-::string \&fmt,...)
\begin{DoxyCompactList}\small\item\em Calls the display action with a given severity level. \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_a40471a3209c63eb0f25dcad8c5f0e3d6}{D\-D4hep\-::printout} (Print\-Level severity, const char $\ast$src, const std\-::string \&fmt,...)
\begin{DoxyCompactList}\small\item\em Calls the display action with a given severity level. \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_ad4be91cbf746f4c9fc6f175c371c14c3}{D\-D4hep\-::printout} (Print\-Level severity, const char $\ast$src, const char $\ast$fmt, va\-\_\-list \&args)
\begin{DoxyCompactList}\small\item\em Calls the display action with a given severity level. \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_a3c8456e0ca02e7299e7bcd0480316eaa}{D\-D4hep\-::printout} (Print\-Level severity, const std\-::string \&src, const char $\ast$fmt, va\-\_\-list \&args)
\begin{DoxyCompactList}\small\item\em Calls the display action with a given severity level. \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_a7cb4c929065e6f4c054748cfcdc90f9c}{D\-D4hep\-::printout} (Print\-Level severity, const std\-::string \&src, const std\-::string \&fmt, va\-\_\-list \&args)
\begin{DoxyCompactList}\small\item\em Calls the display action with a given severity level. \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_a1ad7a8f6ac790c5d06c8dc2e2c9bf656}{D\-D4hep\-::printout} (Print\-Level severity, const char $\ast$src, const std\-::string \&fmt, va\-\_\-list \&args)
\begin{DoxyCompactList}\small\item\em Calls the display action with a given severity level. \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_abb698372378218677db952573e513e5d}{D\-D4hep\-::except} (const std\-::string \&src, const std\-::string \&fmt,...)
\begin{DoxyCompactList}\small\item\em Calls the display action with E\-R\-R\-O\-R and throws an std\-::runtime\-\_\-error exception. \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_a4ceb72fb0c5cff68531bae894eb61bb1}{D\-D4hep\-::except} (const char $\ast$src, const char $\ast$fmt,...)
\begin{DoxyCompactList}\small\item\em Calls the display action with E\-R\-R\-O\-R and throws an std\-::runtime\-\_\-error exception. \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_a3c83899e8684525ad08e718c09c1aeca}{D\-D4hep\-::except} (const std\-::string \&src, const std\-::string \&fmt, va\-\_\-list \&args)
\begin{DoxyCompactList}\small\item\em Calls the display action with E\-R\-R\-O\-R and throws an std\-::runtime\-\_\-error exception. \end{DoxyCompactList}\item 
int \hyperlink{namespace_d_d4hep_a2284989a9675b895378136a39efe6b80}{D\-D4hep\-::except} (const char $\ast$src, const char $\ast$fmt, va\-\_\-list \&args)
\begin{DoxyCompactList}\small\item\em Calls the display action with E\-R\-R\-O\-R and throws an std\-::runtime\-\_\-error exception. \end{DoxyCompactList}\item 
std\-::string \hyperlink{namespace_d_d4hep_a643d67cdbd95090fbcc93cdd3e4a8ad8}{D\-D4hep\-::format} (const std\-::string \&src, const std\-::string \&fmt,...)
\begin{DoxyCompactList}\small\item\em Build formatted string. \end{DoxyCompactList}\item 
std\-::string \hyperlink{namespace_d_d4hep_a6d0802d60cd32a48326f689ffedd4dfb}{D\-D4hep\-::format} (const char $\ast$src, const char $\ast$fmt,...)
\begin{DoxyCompactList}\small\item\em Build exception string. \end{DoxyCompactList}\item 
std\-::string \hyperlink{namespace_d_d4hep_adf74a1091b13572f6d13c50fc56c3b39}{D\-D4hep\-::format} (const std\-::string \&src, const std\-::string \&fmt, va\-\_\-list \&args)
\begin{DoxyCompactList}\small\item\em Build formatted string. \end{DoxyCompactList}\item 
std\-::string \hyperlink{namespace_d_d4hep_a2d9fc6b33e6b8890a8974aa6ccee4b1c}{D\-D4hep\-::format} (const char $\ast$src, const char $\ast$fmt, va\-\_\-list \&args)
\begin{DoxyCompactList}\small\item\em Build formatted string. \end{DoxyCompactList}\item 
void \hyperlink{namespace_d_d4hep_a598efc9dd592c6ab1dd96be38bf5f9f8}{D\-D4hep\-::set\-Printer} (void $\ast$print\-\_\-arg, output\-\_\-function1\-\_\-t fcn)
\begin{DoxyCompactList}\small\item\em Customize printer function. \end{DoxyCompactList}\item 
void \hyperlink{namespace_d_d4hep_a5109e91adaa5c7b3de87e2f53291ff64}{D\-D4hep\-::set\-Printer2} (void $\ast$print\-\_\-arg, output\-\_\-function2\-\_\-t fcn)
\begin{DoxyCompactList}\small\item\em Customize printer function. \end{DoxyCompactList}\item 
std\-::string \hyperlink{namespace_d_d4hep_af513a6bf27ce12f7b69458e218bcdede}{D\-D4hep\-::set\-Print\-Format} (const std\-::string \&new\-\_\-format)
\begin{DoxyCompactList}\small\item\em Set new printout format for the 3 fields\-: source-\/level-\/message. All 3 are strings. \end{DoxyCompactList}\item 
Print\-Level \hyperlink{namespace_d_d4hep_a01aab75bd90e7887aaec1fbf3b4eb03d}{D\-D4hep\-::set\-Print\-Level} (Print\-Level new\-\_\-level)
\begin{DoxyCompactList}\small\item\em Set new print level. Returns the old print level. \end{DoxyCompactList}\item 
Print\-Level \hyperlink{namespace_d_d4hep_abdbd705fe59353c8596e4ad5b7355814}{D\-D4hep\-::print\-Level} ()
\begin{DoxyCompactList}\small\item\em Access the current printer level. \end{DoxyCompactList}\item 
Print\-Level \hyperlink{namespace_d_d4hep_a62fed3591d3cdeb8651b0d58b05e0f7a}{D\-D4hep\-::print\-Level} (const char $\ast$value)
\begin{DoxyCompactList}\small\item\em Translate the printer level from string to value. \end{DoxyCompactList}\item 
Print\-Level \hyperlink{namespace_d_d4hep_adea915fb9481d9ee89abf5bdf75aae78}{D\-D4hep\-::print\-Level} (const std\-::string \&value)
\begin{DoxyCompactList}\small\item\em Translate the printer level from string to value. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename T $>$ }\\std\-::ostream \& \hyperlink{namespace_d_d4hep_a373ecb4c3eb0d0e6f3620bbc856a658b}{D\-D4hep\-::print} (const \hyperlink{class_t}{T} \&object, std\-::ostream \&os=std\-::cout, const std\-::string \&indent=\char`\"{}\char`\"{})
\item 
const char $\ast$ \hyperlink{namespace_d_d4hep_a9b6e2c5ab00340e93017e18604b0cb85}{D\-D4hep\-::yes\-\_\-no} (bool value)
\begin{DoxyCompactList}\small\item\em Helper function to print booleans in format Y\-E\-S/\-N\-O. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{namespace_d_d4hep_a32a48a8889b636138d95a06c5818a858}{D\-D4hep\-::true\-\_\-false} (bool value)
\begin{DoxyCompactList}\small\item\em Helper function to print booleans in format true/false. \end{DoxyCompactList}\end{DoxyCompactItemize}
