\hypertarget{_document_handler_8cpp}{\section{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/src/\-X\-M\-L/\-Document\-Handler.cpp File Reference}
\label{_document_handler_8cpp}\index{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/src/\-X\-M\-L/\-Document\-Handler.\-cpp@{/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/src/\-X\-M\-L/\-Document\-Handler.\-cpp}}
}
{\ttfamily \#include \char`\"{}D\-D4hep/\-Printout.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}X\-M\-L/\-Uri\-Reader.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}X\-M\-L/\-Document\-Handler.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Uri.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}T\-Url.\-h\char`\"{}}\\*
{\ttfamily \#include $<$iostream$>$}\\*
{\ttfamily \#include $<$stdexcept$>$}\\*
{\ttfamily \#include $<$sys/types.\-h$>$}\\*
{\ttfamily \#include $<$sys/stat.\-h$>$}\\*
{\ttfamily \#include $<$libgen.\-h$>$}\\*
{\ttfamily \#include \char`\"{}xercesc/framework/\-Local\-File\-Format\-Target.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xercesc/framework/\-Std\-Out\-Format\-Target.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xercesc/framework/\-Mem\-Buf\-Format\-Target.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xercesc/framework/\-Mem\-Buf\-Input\-Source.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xercesc/sax/\-S\-A\-X\-Parse\-Exception.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xercesc/sax/\-Entity\-Resolver.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xercesc/sax/\-Input\-Source.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xercesc/parsers/\-Xerces\-D\-O\-M\-Parser.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xercesc/util/\-X\-M\-L\-Entity\-Resolver.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xercesc/util/\-Platform\-Utils.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xercesc/util/\-Xerces\-Defs.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xercesc/util/\-X\-M\-L\-Uni.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xercesc/util/\-X\-M\-L\-U\-R\-L.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xercesc/util/\-X\-M\-L\-String.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xercesc/dom/\-D\-O\-M.\-hpp\char`\"{}}\\*
{\ttfamily \#include \char`\"{}xercesc/sax/\-Error\-Handler.\-hpp\char`\"{}}\\*
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{class_d_d4hep_1_1_x_m_l_1_1_document_error_handler}{D\-D4hep\-::\-X\-M\-L\-::\-Document\-Error\-Handler}
\begin{DoxyCompactList}\small\item\em X\-M\-L-\/\-D\-O\-M E\-Rror handler class for the Xerces\-C document parser. \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_x_m_l}{D\-D4hep\-::\-X\-M\-L}
\begin{DoxyCompactList}\small\item\em Namespace containing utilities to parse \hyperlink{namespace_d_d4hep_1_1_x_m_l}{X\-M\-L} files using Xerces\-C or Tiny\-X\-M\-L. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{namespace_d_d4hep_1_1_x_m_l_a5378d08fbf2f2c9e495fc772360b62d8}{D\-D4hep\-::\-X\-M\-L\-::dump\-Tree} (D\-O\-M\-Node $\ast$doc, ostream \&os)
\begin{DoxyCompactList}\small\item\em Dump D\-O\-M tree using Xerces\-C handles. \end{DoxyCompactList}\item 
void \hyperlink{namespace_d_d4hep_1_1_x_m_l_ae465472cdddbe11a365f14b04b15b191}{D\-D4hep\-::\-X\-M\-L\-::dump\-\_\-doc} (D\-O\-M\-Document $\ast$doc, ostream \&os)
\begin{DoxyCompactList}\small\item\em Dump D\-O\-M tree using Xerces\-C handles. \end{DoxyCompactList}\item 
void \hyperlink{namespace_d_d4hep_1_1_x_m_l_a1130069b87e258d98105350c812835dd}{D\-D4hep\-::\-X\-M\-L\-::dump\-\_\-tree} (\hyperlink{class_d_d4hep_1_1_x_m_l_1_1_handle__t}{Handle\-\_\-t} elt, ostream \&os)
\begin{DoxyCompactList}\small\item\em Dump D\-O\-M tree using Xerces\-C handles. \end{DoxyCompactList}\item 
void \hyperlink{namespace_d_d4hep_1_1_x_m_l_a890f94a51fe7c0a877ec482ec35caaf9}{D\-D4hep\-::\-X\-M\-L\-::dump\-\_\-tree} (\hyperlink{class_d_d4hep_1_1_x_m_l_1_1_document}{Document} doc, ostream \&os)
\begin{DoxyCompactList}\small\item\em Dump D\-O\-M tree using Xerces\-C handles. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Variable Documentation}
\hypertarget{_document_handler_8cpp_ac13d723774872e925cbcdf4f112f0dd9}{\index{Document\-Handler.\-cpp@{Document\-Handler.\-cpp}!m\-\_\-err\-Handler@{m\-\_\-err\-Handler}}
\index{m\-\_\-err\-Handler@{m\-\_\-err\-Handler}!DocumentHandler.cpp@{Document\-Handler.\-cpp}}
\subsubsection[{m\-\_\-err\-Handler}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Document\-Error\-Handler} m\-\_\-err\-Handler}}\label{_document_handler_8cpp_ac13d723774872e925cbcdf4f112f0dd9}


Xerces Error handler. 



Definition at line 139 of file Document\-Handler.\-cpp.

\hypertarget{_document_handler_8cpp_a981722077bc96d06fe681f9e01f5c559}{\index{Document\-Handler.\-cpp@{Document\-Handler.\-cpp}!m\-\_\-reader@{m\-\_\-reader}}
\index{m\-\_\-reader@{m\-\_\-reader}!DocumentHandler.cpp@{Document\-Handler.\-cpp}}
\subsubsection[{m\-\_\-reader}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Uri\-Reader}$\ast$ m\-\_\-reader}}\label{_document_handler_8cpp_a981722077bc96d06fe681f9e01f5c559}


Pointer to U\-R\-I reader. 



Definition at line 137 of file Document\-Handler.\-cpp.



Referenced by D\-D4hep\-::\-X\-M\-L\-::\-Uri\-Context\-Reader\-::load(), D\-D4hep\-::\-Simulation\-::\-L\-C\-I\-O\-File\-Reader\-::move\-To\-Event(), D\-D4hep\-::\-X\-M\-L\-::\-Uri\-Context\-Reader\-::parser\-Loaded(), D\-D4hep\-::\-Simulation\-::\-L\-C\-I\-O\-File\-Reader\-::read\-Particle\-Collection(), and D\-D4hep\-::\-Simulation\-::\-L\-C\-I\-O\-File\-Reader\-::$\sim$\-L\-C\-I\-O\-File\-Reader().

\hypertarget{_document_handler_8cpp_a8a8e8174cc158d77295e35e55a491730}{\index{Document\-Handler.\-cpp@{Document\-Handler.\-cpp}!m\-\_\-resolver@{m\-\_\-resolver}}
\index{m\-\_\-resolver@{m\-\_\-resolver}!DocumentHandler.cpp@{Document\-Handler.\-cpp}}
\subsubsection[{m\-\_\-resolver}]{\setlength{\rightskip}{0pt plus 5cm}Resolver m\-\_\-resolver}}\label{_document_handler_8cpp_a8a8e8174cc158d77295e35e55a491730}


Definition at line 148 of file Document\-Handler.\-cpp.

\hypertarget{_document_handler_8cpp_a94c4b399c284242a40bb49e9ce2a5d0d}{\index{Document\-Handler.\-cpp@{Document\-Handler.\-cpp}!parser@{parser}}
\index{parser@{parser}!DocumentHandler.cpp@{Document\-Handler.\-cpp}}
\subsubsection[{parser}]{\setlength{\rightskip}{0pt plus 5cm}D\-D4hep\-D\-O\-M\-Parser$\ast$ parser}}\label{_document_handler_8cpp_a94c4b399c284242a40bb49e9ce2a5d0d}


Definition at line 141 of file Document\-Handler.\-cpp.



Referenced by D\-D4hep\-::\-Simulation\-::\-Geant4\-G\-D\-M\-L\-Detector\-::\-Construct(), D\-D4hep\-::\-Simulation\-::\-Geant4\-Detector\-Geometry\-Construction\-::construct\-Geo(), D\-D4hep\-::\-X\-M\-L\-::\-Document\-Handler\-::load(), and D\-D4hep\-::\-X\-M\-L\-::\-Document\-Handler\-::parse().

