\hypertarget{class_ti_xml_printer}{\section{Ti\-Xml\-Printer Class Reference}
\label{class_ti_xml_printer}\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}}
}


Tiny\-X\-M\-L class. See \href{http://www.grinninglizard.com/tinyxml}{\tt http\-://www.\-grinninglizard.\-com/tinyxml}.  




{\ttfamily \#include $<$tinyxml.\-h$>$}

Inheritance diagram for Ti\-Xml\-Printer\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_ti_xml_printer}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ti_xml_printer_a6539b864026c8667cd0bd5fdf4b41f43}{Ti\-Xml\-Printer} ()
\item 
virtual bool \hyperlink{class_ti_xml_printer_a2ec73087db26ff4d2c4316c56f861db7}{Visit\-Enter} (const \hyperlink{class_ti_xml_document}{Ti\-Xml\-Document} \&doc)
\begin{DoxyCompactList}\small\item\em Visit a document. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ti_xml_printer_a0a636046fa589b6d7f3e5bd025b3f33e}{Visit\-Exit} (const \hyperlink{class_ti_xml_document}{Ti\-Xml\-Document} \&doc)
\begin{DoxyCompactList}\small\item\em Visit a document. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ti_xml_printer_a6dccaf5ee4979f13877690afe28721e8}{Visit\-Enter} (const \hyperlink{class_ti_xml_element}{Ti\-Xml\-Element} \&element, const \hyperlink{class_ti_xml_attribute}{Ti\-Xml\-Attribute} $\ast$first\-Attribute)
\begin{DoxyCompactList}\small\item\em Visit an element. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ti_xml_printer_ae6a1df8271df4bf62d7873c38e34aa69}{Visit\-Exit} (const \hyperlink{class_ti_xml_element}{Ti\-Xml\-Element} \&element)
\begin{DoxyCompactList}\small\item\em Visit an element. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ti_xml_printer_adaf7eec4dc43ad071ff52b60361574f5}{Visit} (const \hyperlink{class_ti_xml_declaration}{Ti\-Xml\-Declaration} \&declaration)
\begin{DoxyCompactList}\small\item\em Visit a declaration. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ti_xml_printer_a0857c5d32c59b9a257f9a49cb9411df5}{Visit} (const \hyperlink{class_ti_xml_text}{Ti\-Xml\-Text} \&text)
\begin{DoxyCompactList}\small\item\em Visit a text node. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ti_xml_printer_a9870423f5603630e6142f6bdb66dfb57}{Visit} (const \hyperlink{class_ti_xml_comment}{Ti\-Xml\-Comment} \&comment)
\begin{DoxyCompactList}\small\item\em Visit a comment node. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ti_xml_printer_a08591a15c9a07afa83c24e08b03d6358}{Visit} (const \hyperlink{class_ti_xml_unknown}{Ti\-Xml\-Unknown} \&unknown)
\begin{DoxyCompactList}\small\item\em Visit an unknow node. \end{DoxyCompactList}\item 
void \hyperlink{class_ti_xml_printer_a213377a4070c7e625bae59716b089e5e}{Set\-Indent} (const char $\ast$\-\_\-indent)
\item 
const char $\ast$ \hyperlink{class_ti_xml_printer_abb33ec7d4bad6aaeb57f4304394b133d}{Indent} ()
\begin{DoxyCompactList}\small\item\em Query the indention string. \end{DoxyCompactList}\item 
void \hyperlink{class_ti_xml_printer_a4be1e37e69e3858c59635aa947174fe6}{Set\-Line\-Break} (const char $\ast$\-\_\-line\-Break)
\item 
const char $\ast$ \hyperlink{class_ti_xml_printer_a11f1b4804a460b175ec244eb5724d96d}{Line\-Break} ()
\begin{DoxyCompactList}\small\item\em Query the current line breaking string. \end{DoxyCompactList}\item 
void \hyperlink{class_ti_xml_printer_ab23a90629e374cb1cadca090468bbd19}{Set\-Stream\-Printing} ()
\item 
const char $\ast$ \hyperlink{class_ti_xml_printer_a859eede9597d3e0355b77757be48735e}{C\-Str} ()
\begin{DoxyCompactList}\small\item\em Return the result. \end{DoxyCompactList}\item 
size\-\_\-t \hyperlink{class_ti_xml_printer_ad01375ae9199bd2f48252eaddce3039d}{Size} ()
\begin{DoxyCompactList}\small\item\em Return the length of the result string. \end{DoxyCompactList}\item 
const std\-::string \& \hyperlink{class_ti_xml_printer_a3bd4daf44309b41f5813a833caa0d1c9}{Str} ()
\begin{DoxyCompactList}\small\item\em Return the result. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_ti_xml_printer_a348ad6527b1d43ddeb51454cddeb6a1d}{Do\-Indent} ()
\item 
void \hyperlink{class_ti_xml_printer_a252a0e13e06def9a06b2eb30a04677a0}{Do\-Line\-Break} ()
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{class_ti_xml_printer_a7e11330449daea912320c22f84387df7}{depth}
\item 
bool \hyperlink{class_ti_xml_printer_a2dceede5ae9bb8948f1ecaabb24ab2fb}{simple\-Text\-Print}
\item 
\hyperlink{tinyxml_8h_a92bada05fd84d9a0c9a5bbe53de26887}{T\-I\-X\-M\-L\-\_\-\-S\-T\-R\-I\-N\-G} \hyperlink{class_ti_xml_printer_ae6cc56c79e52ef352ecc612809fdbedf}{buffer}
\item 
\hyperlink{tinyxml_8h_a92bada05fd84d9a0c9a5bbe53de26887}{T\-I\-X\-M\-L\-\_\-\-S\-T\-R\-I\-N\-G} \hyperlink{class_ti_xml_printer_a672fda389bb3f5a2ae8ead867f9a2536}{indent}
\item 
\hyperlink{tinyxml_8h_a92bada05fd84d9a0c9a5bbe53de26887}{T\-I\-X\-M\-L\-\_\-\-S\-T\-R\-I\-N\-G} \hyperlink{class_ti_xml_printer_a25e8120bcfda10cc06a11b2dedcef7fe}{line\-Break}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Tiny\-X\-M\-L class. See \href{http://www.grinninglizard.com/tinyxml}{\tt http\-://www.\-grinninglizard.\-com/tinyxml}. 

Print to memory functionality. The \hyperlink{class_ti_xml_printer}{Ti\-Xml\-Printer} is useful when you need to\-:


\begin{DoxyEnumerate}
\item Print to memory (especially in non-\/\-S\-T\-L mode)
\item Control formatting (line endings, etc.)
\end{DoxyEnumerate}

When constructed, the \hyperlink{class_ti_xml_printer}{Ti\-Xml\-Printer} is in its default \char`\"{}pretty printing\char`\"{} mode. Before calling Accept() you can call methods to control the printing of the X\-M\-L document. After \hyperlink{class_ti_xml_node_acc0f88b7462c6cb73809d410a4f5bb86}{Ti\-Xml\-Node\-::\-Accept()} is called, the printed document can be accessed via the \hyperlink{class_ti_xml_printer_a859eede9597d3e0355b77757be48735e}{C\-Str()}, \hyperlink{class_ti_xml_printer_a3bd4daf44309b41f5813a833caa0d1c9}{Str()}, and \hyperlink{class_ti_xml_printer_ad01375ae9199bd2f48252eaddce3039d}{Size()} methods.

\hyperlink{class_ti_xml_printer}{Ti\-Xml\-Printer} uses the Visitor A\-P\-I. \begin{DoxyVerb}TiXmlPrinter printer;
printer.SetIndent( "\t" );

doc.Accept( &printer );
fprintf( stdout, "%s", printer.CStr() );
\end{DoxyVerb}


See \begin{DoxySeeAlso}{See Also}
\href{http://www.grinninglizard.com/tinyxml}{\tt http\-://www.\-grinninglizard.\-com/tinyxml} 
\end{DoxySeeAlso}


Definition at line 1943 of file tinyxml.\-h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_ti_xml_printer_a6539b864026c8667cd0bd5fdf4b41f43}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!Ti\-Xml\-Printer@{Ti\-Xml\-Printer}}
\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{Ti\-Xml\-Printer}]{\setlength{\rightskip}{0pt plus 5cm}Ti\-Xml\-Printer\-::\-Ti\-Xml\-Printer (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_printer_a6539b864026c8667cd0bd5fdf4b41f43}


Definition at line 1945 of file tinyxml.\-h.



\subsection{Member Function Documentation}
\hypertarget{class_ti_xml_printer_a859eede9597d3e0355b77757be48735e}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!C\-Str@{C\-Str}}
\index{C\-Str@{C\-Str}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{C\-Str}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ Ti\-Xml\-Printer\-::\-C\-Str (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_printer_a859eede9597d3e0355b77757be48735e}


Return the result. 



Definition at line 1990 of file tinyxml.\-h.



References buffer.

\hypertarget{class_ti_xml_printer_a348ad6527b1d43ddeb51454cddeb6a1d}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!Do\-Indent@{Do\-Indent}}
\index{Do\-Indent@{Do\-Indent}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{Do\-Indent}]{\setlength{\rightskip}{0pt plus 5cm}void Ti\-Xml\-Printer\-::\-Do\-Indent (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}}}\label{class_ti_xml_printer_a348ad6527b1d43ddeb51454cddeb6a1d}


Definition at line 2006 of file tinyxml.\-h.



References buffer, depth, and indent.



Referenced by Visit(), Visit\-Enter(), and Visit\-Exit().

\hypertarget{class_ti_xml_printer_a252a0e13e06def9a06b2eb30a04677a0}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!Do\-Line\-Break@{Do\-Line\-Break}}
\index{Do\-Line\-Break@{Do\-Line\-Break}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{Do\-Line\-Break}]{\setlength{\rightskip}{0pt plus 5cm}void Ti\-Xml\-Printer\-::\-Do\-Line\-Break (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}}}\label{class_ti_xml_printer_a252a0e13e06def9a06b2eb30a04677a0}


Definition at line 2010 of file tinyxml.\-h.



References buffer, and line\-Break.



Referenced by Visit(), Visit\-Enter(), and Visit\-Exit().

\hypertarget{class_ti_xml_printer_abb33ec7d4bad6aaeb57f4304394b133d}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!Indent@{Indent}}
\index{Indent@{Indent}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{Indent}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ Ti\-Xml\-Printer\-::\-Indent (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_printer_abb33ec7d4bad6aaeb57f4304394b133d}


Query the indention string. 



Definition at line 1967 of file tinyxml.\-h.



References indent.

\hypertarget{class_ti_xml_printer_a11f1b4804a460b175ec244eb5724d96d}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!Line\-Break@{Line\-Break}}
\index{Line\-Break@{Line\-Break}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{Line\-Break}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ Ti\-Xml\-Printer\-::\-Line\-Break (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_printer_a11f1b4804a460b175ec244eb5724d96d}


Query the current line breaking string. 



Definition at line 1978 of file tinyxml.\-h.



References line\-Break.

\hypertarget{class_ti_xml_printer_a213377a4070c7e625bae59716b089e5e}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!Set\-Indent@{Set\-Indent}}
\index{Set\-Indent@{Set\-Indent}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{Set\-Indent}]{\setlength{\rightskip}{0pt plus 5cm}void Ti\-Xml\-Printer\-::\-Set\-Indent (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{\-\_\-indent}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_printer_a213377a4070c7e625bae59716b089e5e}
Set the indent characters for printing. By default 4 spaces but tab () is also useful, or null/empty string for no indentation. 

Definition at line 1963 of file tinyxml.\-h.



References indent.

\hypertarget{class_ti_xml_printer_a4be1e37e69e3858c59635aa947174fe6}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!Set\-Line\-Break@{Set\-Line\-Break}}
\index{Set\-Line\-Break@{Set\-Line\-Break}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{Set\-Line\-Break}]{\setlength{\rightskip}{0pt plus 5cm}void Ti\-Xml\-Printer\-::\-Set\-Line\-Break (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{\-\_\-line\-Break}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_printer_a4be1e37e69e3858c59635aa947174fe6}
Set the line breaking string. By default set to newline (\par
). Some operating systems prefer other characters, or can be set to the null/empty string for no indenation. 

Definition at line 1974 of file tinyxml.\-h.



References line\-Break.

\hypertarget{class_ti_xml_printer_ab23a90629e374cb1cadca090468bbd19}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!Set\-Stream\-Printing@{Set\-Stream\-Printing}}
\index{Set\-Stream\-Printing@{Set\-Stream\-Printing}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{Set\-Stream\-Printing}]{\setlength{\rightskip}{0pt plus 5cm}void Ti\-Xml\-Printer\-::\-Set\-Stream\-Printing (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_printer_ab23a90629e374cb1cadca090468bbd19}
Switch over to \char`\"{}stream printing\char`\"{} which is the most dense formatting without linebreaks. Common when the X\-M\-L is needed for network transmission. 

Definition at line 1985 of file tinyxml.\-h.



References indent, and line\-Break.

\hypertarget{class_ti_xml_printer_ad01375ae9199bd2f48252eaddce3039d}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!Size@{Size}}
\index{Size@{Size}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{Size}]{\setlength{\rightskip}{0pt plus 5cm}size\-\_\-t Ti\-Xml\-Printer\-::\-Size (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_printer_ad01375ae9199bd2f48252eaddce3039d}


Return the length of the result string. 



Definition at line 1994 of file tinyxml.\-h.



References buffer.

\hypertarget{class_ti_xml_printer_a3bd4daf44309b41f5813a833caa0d1c9}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!Str@{Str}}
\index{Str@{Str}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{Str}]{\setlength{\rightskip}{0pt plus 5cm}const std\-::string\& Ti\-Xml\-Printer\-::\-Str (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_printer_a3bd4daf44309b41f5813a833caa0d1c9}


Return the result. 



Definition at line 2000 of file tinyxml.\-h.

\hypertarget{class_ti_xml_printer_adaf7eec4dc43ad071ff52b60361574f5}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!Visit@{Visit}}
\index{Visit@{Visit}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{Visit}]{\setlength{\rightskip}{0pt plus 5cm}bool Ti\-Xml\-Printer\-::\-Visit (
\begin{DoxyParamCaption}
\item[{const {\bf Ti\-Xml\-Declaration} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_ti_xml_printer_adaf7eec4dc43ad071ff52b60361574f5}


Visit a declaration. 



Reimplemented from \hyperlink{class_ti_xml_visitor_afad71c71ce6473fb9b4b64cd92de4a19}{Ti\-Xml\-Visitor}.



Definition at line 1877 of file tinyxml\-\_\-inl.\-h.



References buffer, Do\-Indent(), Do\-Line\-Break(), and Ti\-Xml\-Declaration\-::\-Print().

\hypertarget{class_ti_xml_printer_a0857c5d32c59b9a257f9a49cb9411df5}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!Visit@{Visit}}
\index{Visit@{Visit}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{Visit}]{\setlength{\rightskip}{0pt plus 5cm}bool Ti\-Xml\-Printer\-::\-Visit (
\begin{DoxyParamCaption}
\item[{const {\bf Ti\-Xml\-Text} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_ti_xml_printer_a0857c5d32c59b9a257f9a49cb9411df5}


Visit a text node. 



Reimplemented from \hyperlink{class_ti_xml_visitor_a399b8ebca5cd14664974a32d2ce029e5}{Ti\-Xml\-Visitor}.



Definition at line 1853 of file tinyxml\-\_\-inl.\-h.



References buffer, Ti\-Xml\-Text\-::\-C\-D\-A\-T\-A(), Do\-Indent(), Do\-Line\-Break(), simple\-Text\-Print, and Ti\-Xml\-Node\-::\-Value().

\hypertarget{class_ti_xml_printer_a9870423f5603630e6142f6bdb66dfb57}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!Visit@{Visit}}
\index{Visit@{Visit}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{Visit}]{\setlength{\rightskip}{0pt plus 5cm}bool Ti\-Xml\-Printer\-::\-Visit (
\begin{DoxyParamCaption}
\item[{const {\bf Ti\-Xml\-Comment} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_ti_xml_printer_a9870423f5603630e6142f6bdb66dfb57}


Visit a comment node. 



Reimplemented from \hyperlink{class_ti_xml_visitor_a53a60e7a528627b31af3161972cc7fa2}{Ti\-Xml\-Visitor}.



Definition at line 1886 of file tinyxml\-\_\-inl.\-h.



References buffer, Do\-Indent(), Do\-Line\-Break(), and Ti\-Xml\-Node\-::\-Value().

\hypertarget{class_ti_xml_printer_a08591a15c9a07afa83c24e08b03d6358}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!Visit@{Visit}}
\index{Visit@{Visit}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{Visit}]{\setlength{\rightskip}{0pt plus 5cm}bool Ti\-Xml\-Printer\-::\-Visit (
\begin{DoxyParamCaption}
\item[{const {\bf Ti\-Xml\-Unknown} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_ti_xml_printer_a08591a15c9a07afa83c24e08b03d6358}


Visit an unknow node. 



Reimplemented from \hyperlink{class_ti_xml_visitor_a7e284d607d275c51dac1adb58159ce28}{Ti\-Xml\-Visitor}.



Definition at line 1897 of file tinyxml\-\_\-inl.\-h.



References buffer, Do\-Indent(), Do\-Line\-Break(), and Ti\-Xml\-Node\-::\-Value().

\hypertarget{class_ti_xml_printer_a2ec73087db26ff4d2c4316c56f861db7}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!Visit\-Enter@{Visit\-Enter}}
\index{Visit\-Enter@{Visit\-Enter}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{Visit\-Enter}]{\setlength{\rightskip}{0pt plus 5cm}bool Ti\-Xml\-Printer\-::\-Visit\-Enter (
\begin{DoxyParamCaption}
\item[{const {\bf Ti\-Xml\-Document} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_ti_xml_printer_a2ec73087db26ff4d2c4316c56f861db7}


Visit a document. 



Reimplemented from \hyperlink{class_ti_xml_visitor_a07baecb52dd7d8716ae2a48ad0956ee0}{Ti\-Xml\-Visitor}.



Definition at line 1780 of file tinyxml\-\_\-inl.\-h.

\hypertarget{class_ti_xml_printer_a6dccaf5ee4979f13877690afe28721e8}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!Visit\-Enter@{Visit\-Enter}}
\index{Visit\-Enter@{Visit\-Enter}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{Visit\-Enter}]{\setlength{\rightskip}{0pt plus 5cm}bool Ti\-Xml\-Printer\-::\-Visit\-Enter (
\begin{DoxyParamCaption}
\item[{const {\bf Ti\-Xml\-Element} \&}]{, }
\item[{const {\bf Ti\-Xml\-Attribute} $\ast$}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_ti_xml_printer_a6dccaf5ee4979f13877690afe28721e8}


Visit an element. 



Reimplemented from \hyperlink{class_ti_xml_visitor_af6c6178ffa517bbdba95d70490875fff}{Ti\-Xml\-Visitor}.



Definition at line 1790 of file tinyxml\-\_\-inl.\-h.



References buffer, Ti\-Xml\-Text\-::\-C\-D\-A\-T\-A(), depth, Do\-Indent(), Do\-Line\-Break(), Ti\-Xml\-Node\-::\-First\-Child(), Ti\-Xml\-Node\-::\-Last\-Child(), Ti\-Xml\-Attribute\-::\-Next(), Ti\-Xml\-Attribute\-::\-Print(), simple\-Text\-Print, Ti\-Xml\-Node\-::\-To\-Text(), and Ti\-Xml\-Node\-::\-Value().

\hypertarget{class_ti_xml_printer_a0a636046fa589b6d7f3e5bd025b3f33e}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!Visit\-Exit@{Visit\-Exit}}
\index{Visit\-Exit@{Visit\-Exit}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{Visit\-Exit}]{\setlength{\rightskip}{0pt plus 5cm}bool Ti\-Xml\-Printer\-::\-Visit\-Exit (
\begin{DoxyParamCaption}
\item[{const {\bf Ti\-Xml\-Document} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_ti_xml_printer_a0a636046fa589b6d7f3e5bd025b3f33e}


Visit a document. 



Reimplemented from \hyperlink{class_ti_xml_visitor_aa0ade4f27087447e93974e975c3246ad}{Ti\-Xml\-Visitor}.



Definition at line 1785 of file tinyxml\-\_\-inl.\-h.

\hypertarget{class_ti_xml_printer_ae6a1df8271df4bf62d7873c38e34aa69}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!Visit\-Exit@{Visit\-Exit}}
\index{Visit\-Exit@{Visit\-Exit}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{Visit\-Exit}]{\setlength{\rightskip}{0pt plus 5cm}bool Ti\-Xml\-Printer\-::\-Visit\-Exit (
\begin{DoxyParamCaption}
\item[{const {\bf Ti\-Xml\-Element} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_ti_xml_printer_ae6a1df8271df4bf62d7873c38e34aa69}


Visit an element. 



Reimplemented from \hyperlink{class_ti_xml_visitor_aec2b1f8116226d52f3a1b95dafd3a32c}{Ti\-Xml\-Visitor}.



Definition at line 1827 of file tinyxml\-\_\-inl.\-h.



References buffer, depth, Do\-Indent(), Do\-Line\-Break(), Ti\-Xml\-Node\-::\-First\-Child(), simple\-Text\-Print, and Ti\-Xml\-Node\-::\-Value().



\subsection{Member Data Documentation}
\hypertarget{class_ti_xml_printer_ae6cc56c79e52ef352ecc612809fdbedf}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!buffer@{buffer}}
\index{buffer@{buffer}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{buffer}]{\setlength{\rightskip}{0pt plus 5cm}{\bf T\-I\-X\-M\-L\-\_\-\-S\-T\-R\-I\-N\-G} Ti\-Xml\-Printer\-::buffer\hspace{0.3cm}{\ttfamily [private]}}}\label{class_ti_xml_printer_ae6cc56c79e52ef352ecc612809fdbedf}


Definition at line 2015 of file tinyxml.\-h.



Referenced by C\-Str(), Do\-Indent(), Do\-Line\-Break(), Size(), Visit(), Visit\-Enter(), and Visit\-Exit().

\hypertarget{class_ti_xml_printer_a7e11330449daea912320c22f84387df7}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!depth@{depth}}
\index{depth@{depth}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{depth}]{\setlength{\rightskip}{0pt plus 5cm}int Ti\-Xml\-Printer\-::depth\hspace{0.3cm}{\ttfamily [private]}}}\label{class_ti_xml_printer_a7e11330449daea912320c22f84387df7}


Definition at line 2014 of file tinyxml.\-h.



Referenced by Do\-Indent(), Visit\-Enter(), and Visit\-Exit().

\hypertarget{class_ti_xml_printer_a672fda389bb3f5a2ae8ead867f9a2536}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!indent@{indent}}
\index{indent@{indent}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{indent}]{\setlength{\rightskip}{0pt plus 5cm}{\bf T\-I\-X\-M\-L\-\_\-\-S\-T\-R\-I\-N\-G} Ti\-Xml\-Printer\-::indent\hspace{0.3cm}{\ttfamily [private]}}}\label{class_ti_xml_printer_a672fda389bb3f5a2ae8ead867f9a2536}


Definition at line 2015 of file tinyxml.\-h.



Referenced by Do\-Indent(), Indent(), Set\-Indent(), and Set\-Stream\-Printing().

\hypertarget{class_ti_xml_printer_a25e8120bcfda10cc06a11b2dedcef7fe}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!line\-Break@{line\-Break}}
\index{line\-Break@{line\-Break}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{line\-Break}]{\setlength{\rightskip}{0pt plus 5cm}{\bf T\-I\-X\-M\-L\-\_\-\-S\-T\-R\-I\-N\-G} Ti\-Xml\-Printer\-::line\-Break\hspace{0.3cm}{\ttfamily [private]}}}\label{class_ti_xml_printer_a25e8120bcfda10cc06a11b2dedcef7fe}


Definition at line 2015 of file tinyxml.\-h.



Referenced by Do\-Line\-Break(), Line\-Break(), Set\-Line\-Break(), and Set\-Stream\-Printing().

\hypertarget{class_ti_xml_printer_a2dceede5ae9bb8948f1ecaabb24ab2fb}{\index{Ti\-Xml\-Printer@{Ti\-Xml\-Printer}!simple\-Text\-Print@{simple\-Text\-Print}}
\index{simple\-Text\-Print@{simple\-Text\-Print}!TiXmlPrinter@{Ti\-Xml\-Printer}}
\subsubsection[{simple\-Text\-Print}]{\setlength{\rightskip}{0pt plus 5cm}bool Ti\-Xml\-Printer\-::simple\-Text\-Print\hspace{0.3cm}{\ttfamily [private]}}}\label{class_ti_xml_printer_a2dceede5ae9bb8948f1ecaabb24ab2fb}


Definition at line 2015 of file tinyxml.\-h.



Referenced by Visit(), Visit\-Enter(), and Visit\-Exit().



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/include/\-X\-M\-L/\hyperlink{tinyxml_8h}{tinyxml.\-h}\item 
/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/src/\-X\-M\-L/\hyperlink{tinyxml__inl_8h}{tinyxml\-\_\-inl.\-h}\end{DoxyCompactItemize}
