\hypertarget{_x_m_l_elements_8cpp}{\section{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/src/\-X\-M\-L/\-X\-M\-L\-Elements.cpp File Reference}
\label{_x_m_l_elements_8cpp}\index{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/src/\-X\-M\-L/\-X\-M\-L\-Elements.\-cpp@{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/src/\-X\-M\-L/\-X\-M\-L\-Elements.\-cpp}}
}
{\ttfamily \#include \char`\"{}D\-D4hep/\-Printout.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}X\-M\-L/\-Evaluator.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}X\-M\-L/\-X\-M\-L\-Elements.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}X\-M\-L/\-X\-M\-L\-Tags.\-h\char`\"{}}\\*
{\ttfamily \#include $<$iostream$>$}\\*
{\ttfamily \#include $<$stdexcept$>$}\\*
{\ttfamily \#include $<$cstdio$>$}\\*
{\ttfamily \#include $<$map$>$}\\*
{\ttfamily \#include \char`\"{}xercesc/util/\-X\-M\-L\-String.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xercesc/dom/\-D\-O\-M\-Element.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xercesc/dom/\-D\-O\-M\-Document.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xercesc/dom/\-D\-O\-M\-Node\-List.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xercesc/dom/\-D\-O\-M.\-hpp\char`\"{}}\\*
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
union \hyperlink{union_xml}{Xml}
\begin{DoxyCompactList}\small\item\em Union to ease castless object access when using Xerces\-C. \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}\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{_x_m_l_elements_8cpp_aeabcf9fa78b36f72cdafc2fdbab61482}{\-\_\-\-D}(x)~\hyperlink{union_xml}{Xml}(x).d
\item 
\#define \hyperlink{_x_m_l_elements_8cpp_aadc18c9ee01d55f84c6bcd5841d0e4fd}{\-\_\-\-E}(x)~\hyperlink{union_xml}{Xml}(x).\hyperlink{_volumes_8cpp_a8a9a1f93e9b09afccaec215310e64142}{e}
\item 
\#define \hyperlink{_x_m_l_elements_8cpp_a0fb7d99a5757389b76ca7d5957321d5f}{\-\_\-\-N}(x)~\hyperlink{union_xml}{Xml}(x).n
\item 
\#define \hyperlink{_x_m_l_elements_8cpp_a8b08a24569840250e78cb8d510f1324a}{\-\_\-\-L}(x)~\hyperlink{union_xml}{Xml}(x).l
\item 
\#define \hyperlink{_x_m_l_elements_8cpp_a8d4642858a65be389cb08c1cc5a54a5e}{\-\_\-\-X\-E}(x)~\hyperlink{union_xml}{Xml}(x).xe
\item 
\#define \hyperlink{_x_m_l_elements_8cpp_a36314e7c95c74ab48e68f2c751e50141}{E\-L\-E\-M\-E\-N\-T\-\_\-\-N\-O\-D\-E\-\_\-\-T\-Y\-P\-E}~xercesc\-::\-D\-O\-M\-Node\-::\-E\-L\-E\-M\-E\-N\-T\-\_\-\-N\-O\-D\-E
\item 
\#define \hyperlink{_x_m_l_elements_8cpp_a465ff70ce96dfc2e84b0e87548b4ecb4}{D\-O1}(buf, i)~\{s1 +=(unsigned char)buf\mbox{[}i\mbox{]}; s2 += s1;\}
\item 
\#define \hyperlink{_x_m_l_elements_8cpp_a3d7044f8ea7e75164fe5108048fd87eb}{D\-O2}(buf, i)~\hyperlink{_x_m_l_elements_8cpp_a465ff70ce96dfc2e84b0e87548b4ecb4}{D\-O1}(buf,i); \hyperlink{_x_m_l_elements_8cpp_a465ff70ce96dfc2e84b0e87548b4ecb4}{D\-O1}(buf,i+1);
\item 
\#define \hyperlink{_x_m_l_elements_8cpp_aef9bafc8b3d89e98b6e26320f99b9e31}{D\-O4}(buf, i)~\hyperlink{_x_m_l_elements_8cpp_a3d7044f8ea7e75164fe5108048fd87eb}{D\-O2}(buf,i); \hyperlink{_x_m_l_elements_8cpp_a3d7044f8ea7e75164fe5108048fd87eb}{D\-O2}(buf,i+2);
\item 
\#define \hyperlink{_x_m_l_elements_8cpp_a9aafc447614bf5c4dc0d484aba9edb89}{D\-O8}(buf, i)~\hyperlink{_x_m_l_elements_8cpp_aef9bafc8b3d89e98b6e26320f99b9e31}{D\-O4}(buf,i); \hyperlink{_x_m_l_elements_8cpp_aef9bafc8b3d89e98b6e26320f99b9e31}{D\-O4}(buf,i+4);
\item 
\#define \hyperlink{_x_m_l_elements_8cpp_a6912c3e78e2b797f42f214d1b508aa0c}{D\-O16}(buf)~\hyperlink{_x_m_l_elements_8cpp_a9aafc447614bf5c4dc0d484aba9edb89}{D\-O8}(buf,0); \hyperlink{_x_m_l_elements_8cpp_a9aafc447614bf5c4dc0d484aba9edb89}{D\-O8}(buf,8);
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef unsigned int( \hyperlink{_x_m_l_elements_8cpp_abf29e80f8a7f77455b6191c2d7fbaab8}{fcn\-\_\-t} )(unsigned int, const \hyperlink{namespace_d_d4hep_1_1_x_m_l_a09e5d9cc86ed782f6826dfe0778c1815}{Xml\-Char} $\ast$, size\-\_\-t)
\begin{DoxyCompactList}\small\item\em Checksum (sub-\/)tree of a xml document/tree. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_xml_tools_1_1_evaluator}{Xml\-Tools\-::\-Evaluator} \& \hyperlink{namespace_d_d4hep_a5a6983dcc5d95a8aad6910ad842f0b6e}{D\-D4hep\-::evaluator} ()
\item 
{\footnotesize template$<$typename T $>$ }\\static string \hyperlink{_x_m_l_elements_8cpp_a7ea587d185ea7283a27c2ce127318748}{\-\_\-\-\_\-to\-\_\-string} (\hyperlink{class_t}{T} value, const char $\ast$fmt)
\item 
{\footnotesize template$<$typename B $>$ }\\static string \hyperlink{_x_m_l_elements_8cpp_ad40d0b35309748435ba2c0ae28696612}{i\-\_\-add} (const string \&a, B b)
\item 
static unsigned int \hyperlink{_x_m_l_elements_8cpp_a880a7876bf739e9543f948db59d5c6c1}{adler32} (unsigned int adler, const \hyperlink{namespace_d_d4hep_1_1_x_m_l_a09e5d9cc86ed782f6826dfe0778c1815}{Xml\-Char} $\ast$xml\-\_\-buff, size\-\_\-t len)
\begin{DoxyCompactList}\small\item\em Checksum (sub-\/)tree of a xml document/tree. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static const size\-\_\-t \hyperlink{_x_m_l_elements_8cpp_a3b2b44ee9aa32f69647a1dbfae5ac6e0}{I\-N\-V\-A\-L\-I\-D\-\_\-\-N\-O\-D\-E} = $\sim$0\-U
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\hypertarget{_x_m_l_elements_8cpp_aeabcf9fa78b36f72cdafc2fdbab61482}{\index{X\-M\-L\-Elements.\-cpp@{X\-M\-L\-Elements.\-cpp}!\-\_\-\-D@{\-\_\-\-D}}
\index{\-\_\-\-D@{\-\_\-\-D}!XMLElements.cpp@{X\-M\-L\-Elements.\-cpp}}
\subsubsection[{\-\_\-\-D}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-\_\-\-D(
\begin{DoxyParamCaption}
\item[{}]{x}
\end{DoxyParamCaption}
)~{\bf Xml}(x).d}}\label{_x_m_l_elements_8cpp_aeabcf9fa78b36f72cdafc2fdbab61482}


Definition at line 45 of file X\-M\-L\-Elements.\-cpp.



Referenced by D\-D4hep\-::\-X\-M\-L\-::\-Element\-::add\-Comment(), D\-D4hep\-::\-X\-M\-L\-::\-Document\-Holder\-::assign(), D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::clone(), D\-D4hep\-::\-X\-M\-L\-::\-Document\-::clone(), D\-D4hep\-::\-X\-M\-L\-::\-Document\-::create\-Elt(), D\-D4hep\-::\-X\-M\-L\-::\-Document\-::root(), and D\-D4hep\-::\-X\-M\-L\-::\-Document\-::uri().

\hypertarget{_x_m_l_elements_8cpp_aadc18c9ee01d55f84c6bcd5841d0e4fd}{\index{X\-M\-L\-Elements.\-cpp@{X\-M\-L\-Elements.\-cpp}!\-\_\-\-E@{\-\_\-\-E}}
\index{\-\_\-\-E@{\-\_\-\-E}!XMLElements.cpp@{X\-M\-L\-Elements.\-cpp}}
\subsubsection[{\-\_\-\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-\_\-\-E(
\begin{DoxyParamCaption}
\item[{}]{x}
\end{DoxyParamCaption}
)~{\bf Xml}(x).{\bf e}}}\label{_x_m_l_elements_8cpp_aadc18c9ee01d55f84c6bcd5841d0e4fd}


Definition at line 46 of file X\-M\-L\-Elements.\-cpp.



Referenced by D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::attributes(), D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::clone(), D\-D4hep\-::\-X\-M\-L\-::\-Document\-::clone(), D\-D4hep\-::\-Conditions\-::\-Operators\-::collect\-All\-Conditions(), D\-D4hep\-::\-Conditions\-::\-Test\-::\-Test\-Env\-::dump\-\_\-conditions\-\_\-pools(), D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::has\-Attr(), D\-D4hep\-::\-X\-M\-L\-::\-Node\-List\-::next(), D\-D4hep\-::\-X\-M\-L\-::\-Node\-List\-::previous(), D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::raw\-Tag(), D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::raw\-Text(), D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::remove\-Attrs(), D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::remove\-Children(), D\-D4hep\-::\-Conditions\-::\-Conditions\-Text\-Repository\-::save(), D\-D4hep\-::\-Conditions\-::\-Conditions\-Repository\-::save(), D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::set\-Attr(), and D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::set\-Attrs().

\hypertarget{_x_m_l_elements_8cpp_a8b08a24569840250e78cb8d510f1324a}{\index{X\-M\-L\-Elements.\-cpp@{X\-M\-L\-Elements.\-cpp}!\-\_\-\-L@{\-\_\-\-L}}
\index{\-\_\-\-L@{\-\_\-\-L}!XMLElements.cpp@{X\-M\-L\-Elements.\-cpp}}
\subsubsection[{\-\_\-\-L}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-\_\-\-L(
\begin{DoxyParamCaption}
\item[{}]{x}
\end{DoxyParamCaption}
)~{\bf Xml}(x).l}}\label{_x_m_l_elements_8cpp_a8b08a24569840250e78cb8d510f1324a}


Definition at line 48 of file X\-M\-L\-Elements.\-cpp.

\hypertarget{_x_m_l_elements_8cpp_a0fb7d99a5757389b76ca7d5957321d5f}{\index{X\-M\-L\-Elements.\-cpp@{X\-M\-L\-Elements.\-cpp}!\-\_\-\-N@{\-\_\-\-N}}
\index{\-\_\-\-N@{\-\_\-\-N}!XMLElements.cpp@{X\-M\-L\-Elements.\-cpp}}
\subsubsection[{\-\_\-\-N}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-\_\-\-N(
\begin{DoxyParamCaption}
\item[{}]{x}
\end{DoxyParamCaption}
)~{\bf Xml}(x).n}}\label{_x_m_l_elements_8cpp_a0fb7d99a5757389b76ca7d5957321d5f}


Definition at line 47 of file X\-M\-L\-Elements.\-cpp.



Referenced by D\-D4hep\-::\-X\-M\-L\-::\-Element\-::add\-Comment(), D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::append(), D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::clone(), D\-D4hep\-::\-X\-M\-L\-::\-Element\-::document(), D\-D4hep\-::\-X\-M\-L\-::\-Collection\-\_\-t\-::operator++(), D\-D4hep\-::\-X\-M\-L\-::\-Collection\-\_\-t\-::operator-\/-\/(), D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::parent(), D\-D4hep\-::\-X\-M\-L\-::\-Element\-::parent\-Element(), D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::raw\-Value(), D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::remove(), D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::set\-Text(), and D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::set\-Value().

\hypertarget{_x_m_l_elements_8cpp_a8d4642858a65be389cb08c1cc5a54a5e}{\index{X\-M\-L\-Elements.\-cpp@{X\-M\-L\-Elements.\-cpp}!\-\_\-\-X\-E@{\-\_\-\-X\-E}}
\index{\-\_\-\-X\-E@{\-\_\-\-X\-E}!XMLElements.cpp@{X\-M\-L\-Elements.\-cpp}}
\subsubsection[{\-\_\-\-X\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-\_\-\-X\-E(
\begin{DoxyParamCaption}
\item[{}]{x}
\end{DoxyParamCaption}
)~{\bf Xml}(x).xe}}\label{_x_m_l_elements_8cpp_a8d4642858a65be389cb08c1cc5a54a5e}


Definition at line 49 of file X\-M\-L\-Elements.\-cpp.



Referenced by D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::clone(), D\-D4hep\-::\-X\-M\-L\-::\-Document\-::clone(), D\-D4hep\-::\-X\-M\-L\-::\-Document\-::create\-Elt(), D\-D4hep\-::\-X\-M\-L\-::\-Node\-List\-::next(), D\-D4hep\-::\-X\-M\-L\-::\-Node\-List\-::previous(), and D\-D4hep\-::\-X\-M\-L\-::\-Document\-::root().

\hypertarget{_x_m_l_elements_8cpp_a465ff70ce96dfc2e84b0e87548b4ecb4}{\index{X\-M\-L\-Elements.\-cpp@{X\-M\-L\-Elements.\-cpp}!D\-O1@{D\-O1}}
\index{D\-O1@{D\-O1}!XMLElements.cpp@{X\-M\-L\-Elements.\-cpp}}
\subsubsection[{D\-O1}]{\setlength{\rightskip}{0pt plus 5cm}\#define D\-O1(
\begin{DoxyParamCaption}
\item[{}]{buf, }
\item[{}]{i}
\end{DoxyParamCaption}
)~\{s1 +=(unsigned char)buf\mbox{[}i\mbox{]}; s2 += s1;\}}}\label{_x_m_l_elements_8cpp_a465ff70ce96dfc2e84b0e87548b4ecb4}
\hypertarget{_x_m_l_elements_8cpp_a6912c3e78e2b797f42f214d1b508aa0c}{\index{X\-M\-L\-Elements.\-cpp@{X\-M\-L\-Elements.\-cpp}!D\-O16@{D\-O16}}
\index{D\-O16@{D\-O16}!XMLElements.cpp@{X\-M\-L\-Elements.\-cpp}}
\subsubsection[{D\-O16}]{\setlength{\rightskip}{0pt plus 5cm}\#define D\-O16(
\begin{DoxyParamCaption}
\item[{}]{buf}
\end{DoxyParamCaption}
)~{\bf D\-O8}(buf,0); {\bf D\-O8}(buf,8);}}\label{_x_m_l_elements_8cpp_a6912c3e78e2b797f42f214d1b508aa0c}


Referenced by adler32().

\hypertarget{_x_m_l_elements_8cpp_a3d7044f8ea7e75164fe5108048fd87eb}{\index{X\-M\-L\-Elements.\-cpp@{X\-M\-L\-Elements.\-cpp}!D\-O2@{D\-O2}}
\index{D\-O2@{D\-O2}!XMLElements.cpp@{X\-M\-L\-Elements.\-cpp}}
\subsubsection[{D\-O2}]{\setlength{\rightskip}{0pt plus 5cm}\#define D\-O2(
\begin{DoxyParamCaption}
\item[{}]{buf, }
\item[{}]{i}
\end{DoxyParamCaption}
)~{\bf D\-O1}(buf,i); {\bf D\-O1}(buf,i+1);}}\label{_x_m_l_elements_8cpp_a3d7044f8ea7e75164fe5108048fd87eb}
\hypertarget{_x_m_l_elements_8cpp_aef9bafc8b3d89e98b6e26320f99b9e31}{\index{X\-M\-L\-Elements.\-cpp@{X\-M\-L\-Elements.\-cpp}!D\-O4@{D\-O4}}
\index{D\-O4@{D\-O4}!XMLElements.cpp@{X\-M\-L\-Elements.\-cpp}}
\subsubsection[{D\-O4}]{\setlength{\rightskip}{0pt plus 5cm}\#define D\-O4(
\begin{DoxyParamCaption}
\item[{}]{buf, }
\item[{}]{i}
\end{DoxyParamCaption}
)~{\bf D\-O2}(buf,i); {\bf D\-O2}(buf,i+2);}}\label{_x_m_l_elements_8cpp_aef9bafc8b3d89e98b6e26320f99b9e31}
\hypertarget{_x_m_l_elements_8cpp_a9aafc447614bf5c4dc0d484aba9edb89}{\index{X\-M\-L\-Elements.\-cpp@{X\-M\-L\-Elements.\-cpp}!D\-O8@{D\-O8}}
\index{D\-O8@{D\-O8}!XMLElements.cpp@{X\-M\-L\-Elements.\-cpp}}
\subsubsection[{D\-O8}]{\setlength{\rightskip}{0pt plus 5cm}\#define D\-O8(
\begin{DoxyParamCaption}
\item[{}]{buf, }
\item[{}]{i}
\end{DoxyParamCaption}
)~{\bf D\-O4}(buf,i); {\bf D\-O4}(buf,i+4);}}\label{_x_m_l_elements_8cpp_a9aafc447614bf5c4dc0d484aba9edb89}
\hypertarget{_x_m_l_elements_8cpp_a36314e7c95c74ab48e68f2c751e50141}{\index{X\-M\-L\-Elements.\-cpp@{X\-M\-L\-Elements.\-cpp}!E\-L\-E\-M\-E\-N\-T\-\_\-\-N\-O\-D\-E\-\_\-\-T\-Y\-P\-E@{E\-L\-E\-M\-E\-N\-T\-\_\-\-N\-O\-D\-E\-\_\-\-T\-Y\-P\-E}}
\index{E\-L\-E\-M\-E\-N\-T\-\_\-\-N\-O\-D\-E\-\_\-\-T\-Y\-P\-E@{E\-L\-E\-M\-E\-N\-T\-\_\-\-N\-O\-D\-E\-\_\-\-T\-Y\-P\-E}!XMLElements.cpp@{X\-M\-L\-Elements.\-cpp}}
\subsubsection[{E\-L\-E\-M\-E\-N\-T\-\_\-\-N\-O\-D\-E\-\_\-\-T\-Y\-P\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define E\-L\-E\-M\-E\-N\-T\-\_\-\-N\-O\-D\-E\-\_\-\-T\-Y\-P\-E~xercesc\-::\-D\-O\-M\-Node\-::\-E\-L\-E\-M\-E\-N\-T\-\_\-\-N\-O\-D\-E}}\label{_x_m_l_elements_8cpp_a36314e7c95c74ab48e68f2c751e50141}


Definition at line 112 of file X\-M\-L\-Elements.\-cpp.



Referenced by D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::clone(), D\-D4hep\-::\-X\-M\-L\-::\-Collection\-\_\-t\-::operator++(), D\-D4hep\-::\-X\-M\-L\-::\-Collection\-\_\-t\-::operator-\/-\/(), and D\-D4hep\-::\-X\-M\-L\-::\-Element\-::parent\-Element().



\subsection{Typedef Documentation}
\hypertarget{_x_m_l_elements_8cpp_abf29e80f8a7f77455b6191c2d7fbaab8}{\index{X\-M\-L\-Elements.\-cpp@{X\-M\-L\-Elements.\-cpp}!fcn\-\_\-t@{fcn\-\_\-t}}
\index{fcn\-\_\-t@{fcn\-\_\-t}!XMLElements.cpp@{X\-M\-L\-Elements.\-cpp}}
\subsubsection[{fcn\-\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}typedef unsigned int( fcn\-\_\-t)(unsigned int, const {\bf Xml\-Char} $\ast$, size\-\_\-t)}}\label{_x_m_l_elements_8cpp_abf29e80f8a7f77455b6191c2d7fbaab8}


Checksum (sub-\/)tree of a xml document/tree. 



Definition at line 981 of file X\-M\-L\-Elements.\-cpp.



\subsection{Function Documentation}
\hypertarget{_x_m_l_elements_8cpp_a7ea587d185ea7283a27c2ce127318748}{\index{X\-M\-L\-Elements.\-cpp@{X\-M\-L\-Elements.\-cpp}!\-\_\-\-\_\-to\-\_\-string@{\-\_\-\-\_\-to\-\_\-string}}
\index{\-\_\-\-\_\-to\-\_\-string@{\-\_\-\-\_\-to\-\_\-string}!XMLElements.cpp@{X\-M\-L\-Elements.\-cpp}}
\subsubsection[{\-\_\-\-\_\-to\-\_\-string}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ static string \-\_\-\-\_\-to\-\_\-string (
\begin{DoxyParamCaption}
\item[{{\bf T}}]{value, }
\item[{const char $\ast$}]{fmt}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{_x_m_l_elements_8cpp_a7ea587d185ea7283a27c2ce127318748}


Definition at line 215 of file X\-M\-L\-Elements.\-cpp.



Referenced by D\-D4hep\-::\-X\-M\-L\-::\-\_\-ptr\-To\-String(), and D\-D4hep\-::\-X\-M\-L\-::\-\_\-to\-String().

\hypertarget{_x_m_l_elements_8cpp_a880a7876bf739e9543f948db59d5c6c1}{\index{X\-M\-L\-Elements.\-cpp@{X\-M\-L\-Elements.\-cpp}!adler32@{adler32}}
\index{adler32@{adler32}!XMLElements.cpp@{X\-M\-L\-Elements.\-cpp}}
\subsubsection[{adler32}]{\setlength{\rightskip}{0pt plus 5cm}static unsigned int adler32 (
\begin{DoxyParamCaption}
\item[{unsigned int}]{adler, }
\item[{const {\bf Xml\-Char} $\ast$}]{xml\-\_\-buff, }
\item[{size\-\_\-t}]{len}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{_x_m_l_elements_8cpp_a880a7876bf739e9543f948db59d5c6c1}


Checksum (sub-\/)tree of a xml document/tree. 



Definition at line 943 of file X\-M\-L\-Elements.\-cpp.



References D\-O16.



Referenced by D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::checksum().

\hypertarget{_x_m_l_elements_8cpp_ad40d0b35309748435ba2c0ae28696612}{\index{X\-M\-L\-Elements.\-cpp@{X\-M\-L\-Elements.\-cpp}!i\-\_\-add@{i\-\_\-add}}
\index{i\-\_\-add@{i\-\_\-add}!XMLElements.cpp@{X\-M\-L\-Elements.\-cpp}}
\subsubsection[{i\-\_\-add}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename B $>$ static string i\-\_\-add (
\begin{DoxyParamCaption}
\item[{const string \&}]{a, }
\item[{B}]{b}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{_x_m_l_elements_8cpp_ad40d0b35309748435ba2c0ae28696612}


Definition at line 407 of file X\-M\-L\-Elements.\-cpp.



\subsection{Variable Documentation}
\hypertarget{_x_m_l_elements_8cpp_a3b2b44ee9aa32f69647a1dbfae5ac6e0}{\index{X\-M\-L\-Elements.\-cpp@{X\-M\-L\-Elements.\-cpp}!I\-N\-V\-A\-L\-I\-D\-\_\-\-N\-O\-D\-E@{I\-N\-V\-A\-L\-I\-D\-\_\-\-N\-O\-D\-E}}
\index{I\-N\-V\-A\-L\-I\-D\-\_\-\-N\-O\-D\-E@{I\-N\-V\-A\-L\-I\-D\-\_\-\-N\-O\-D\-E}!XMLElements.cpp@{X\-M\-L\-Elements.\-cpp}}
\subsubsection[{I\-N\-V\-A\-L\-I\-D\-\_\-\-N\-O\-D\-E}]{\setlength{\rightskip}{0pt plus 5cm}const size\-\_\-t I\-N\-V\-A\-L\-I\-D\-\_\-\-N\-O\-D\-E = $\sim$0\-U\hspace{0.3cm}{\ttfamily [static]}}}\label{_x_m_l_elements_8cpp_a3b2b44ee9aa32f69647a1dbfae5ac6e0}


Definition at line 29 of file X\-M\-L\-Elements.\-cpp.



Referenced by D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::num\-Children().

