\hypertarget{class_ti_xml_handle}{\section{Ti\-Xml\-Handle Class Reference}
\label{class_ti_xml_handle}\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}}
}


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




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

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ti_xml_handle_aba18fd7bdefb942ecdea4bf4b8e29ec8}{Ti\-Xml\-Handle} (\hyperlink{class_ti_xml_node}{Ti\-Xml\-Node} $\ast$\-\_\-node)
\begin{DoxyCompactList}\small\item\em Create a handle from any node (at any depth of the tree.) This can be a null pointer. \end{DoxyCompactList}\item 
\hyperlink{class_ti_xml_handle_a236d7855e1e56ccc7b980630c48c7fd7}{Ti\-Xml\-Handle} (const \hyperlink{class_ti_xml_handle}{Ti\-Xml\-Handle} \&ref)
\begin{DoxyCompactList}\small\item\em Copy constructor. \end{DoxyCompactList}\item 
\hyperlink{class_ti_xml_handle}{Ti\-Xml\-Handle} \hyperlink{class_ti_xml_handle_ad8e5dcf6a87882674203157f29f8e4db}{operator=} (const \hyperlink{class_ti_xml_handle}{Ti\-Xml\-Handle} \&ref)
\item 
\hyperlink{class_ti_xml_handle}{Ti\-Xml\-Handle} \hyperlink{class_ti_xml_handle_acdb1faaf88a700b40ca2c8d9aee21139}{First\-Child} () const 
\begin{DoxyCompactList}\small\item\em Return a handle to the first child node. \end{DoxyCompactList}\item 
\hyperlink{class_ti_xml_handle}{Ti\-Xml\-Handle} \hyperlink{class_ti_xml_handle_a8c61f64ae9365d89c264f289085541f8}{First\-Child} (const char $\ast$value) const 
\begin{DoxyCompactList}\small\item\em Return a handle to the first child node with the given name. \end{DoxyCompactList}\item 
\hyperlink{class_ti_xml_handle}{Ti\-Xml\-Handle} \hyperlink{class_ti_xml_handle_a24d1112e995e937e4dddb202d4113d4a}{First\-Child\-Element} () const 
\begin{DoxyCompactList}\small\item\em Return a handle to the first child element. \end{DoxyCompactList}\item 
\hyperlink{class_ti_xml_handle}{Ti\-Xml\-Handle} \hyperlink{class_ti_xml_handle_af0aea751320f5e430fac6f8fff3b8dd4}{First\-Child\-Element} (const char $\ast$value) const 
\begin{DoxyCompactList}\small\item\em Return a handle to the first child element with the given name. \end{DoxyCompactList}\item 
\hyperlink{class_ti_xml_handle}{Ti\-Xml\-Handle} \hyperlink{class_ti_xml_handle_a072492b4be1acdb0db2d03cd8f71ccc4}{Child} (const char $\ast$value, int index) const 
\item 
\hyperlink{class_ti_xml_handle}{Ti\-Xml\-Handle} \hyperlink{class_ti_xml_handle_af9cf6a7d08a5da94a8924425ad0cd5ac}{Child} (int index) const 
\item 
\hyperlink{class_ti_xml_handle}{Ti\-Xml\-Handle} \hyperlink{class_ti_xml_handle_a979a3f850984a176ee884e394c7eed2d}{Child\-Element} (const char $\ast$value, int index) const 
\item 
\hyperlink{class_ti_xml_handle}{Ti\-Xml\-Handle} \hyperlink{class_ti_xml_handle_a8786475b9d1f1518492e3a46704c7ef0}{Child\-Element} (int index) const 
\item 
\hyperlink{class_ti_xml_handle}{Ti\-Xml\-Handle} \hyperlink{class_ti_xml_handle_a8b10982dd39e74f3b068ca8952282d8a}{First\-Child} (const std\-::string \&\-\_\-value) const 
\item 
\hyperlink{class_ti_xml_handle}{Ti\-Xml\-Handle} \hyperlink{class_ti_xml_handle_a743f1e9cc18b5658c158ed5c0c165354}{First\-Child\-Element} (const std\-::string \&\-\_\-value) const 
\item 
\hyperlink{class_ti_xml_handle}{Ti\-Xml\-Handle} \hyperlink{class_ti_xml_handle_a5c4617db96789e9a5581dd5c12cdd287}{Child} (const std\-::string \&\-\_\-value, int index) const 
\item 
\hyperlink{class_ti_xml_handle}{Ti\-Xml\-Handle} \hyperlink{class_ti_xml_handle_a2e5f7758156e6b29a8e7a423eca2cf5b}{Child\-Element} (const std\-::string \&\-\_\-value, int index) const 
\item 
\hyperlink{class_ti_xml_node}{Ti\-Xml\-Node} $\ast$ \hyperlink{class_ti_xml_handle_af678e5088e83be67baf76f699756f2c3}{To\-Node} () const 
\item 
\hyperlink{class_ti_xml_element}{Ti\-Xml\-Element} $\ast$ \hyperlink{class_ti_xml_handle_abc6e7ed383a5fe1e52b0c0004b457b9e}{To\-Element} () const 
\item 
\hyperlink{class_ti_xml_text}{Ti\-Xml\-Text} $\ast$ \hyperlink{class_ti_xml_handle_a4ac53a652296203a5b5e13854d923586}{To\-Text} () const 
\item 
\hyperlink{class_ti_xml_unknown}{Ti\-Xml\-Unknown} $\ast$ \hyperlink{class_ti_xml_handle_a1381c17507a130767b1e23afc93b3674}{To\-Unknown} () const 
\item 
\hyperlink{class_ti_xml_node}{Ti\-Xml\-Node} $\ast$ \hyperlink{class_ti_xml_handle_ab44b723a8dc9af72838a303c079d0376}{Node} () const 
\item 
\hyperlink{class_ti_xml_element}{Ti\-Xml\-Element} $\ast$ \hyperlink{class_ti_xml_handle_acb5fe8388a526289ea65e817a51e05e7}{Element} () const 
\item 
\hyperlink{class_ti_xml_text}{Ti\-Xml\-Text} $\ast$ \hyperlink{class_ti_xml_handle_a9fc739c8a18d160006f82572fc143d13}{Text} () const 
\item 
\hyperlink{class_ti_xml_unknown}{Ti\-Xml\-Unknown} $\ast$ \hyperlink{class_ti_xml_handle_a49675b74357ba2aae124657a9a1ef465}{Unknown} () const 
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ti_xml_node}{Ti\-Xml\-Node} $\ast$ \hyperlink{class_ti_xml_handle_ac5429de14bb78b16288bac5bf33c6858}{node}
\end{DoxyCompactItemize}


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

A \hyperlink{class_ti_xml_handle}{Ti\-Xml\-Handle} is a class that wraps a node pointer with null checks; this is an incredibly useful thing. Note that \hyperlink{class_ti_xml_handle}{Ti\-Xml\-Handle} is not part of the Tiny\-Xml D\-O\-M structure. It is a separate utility class.

Take an example\-: \begin{DoxyVerb}<Document>
<Element attributeA = "valueA">
<Child attributeB = "value1" />
<Child attributeB = "value2" />
</Element>
<Document>
\end{DoxyVerb}


Assuming you want the value of \char`\"{}attribute\-B\char`\"{} in the 2nd \char`\"{}\-Child\char`\"{} element, it's very easy to write a {\itshape lot} of code that looks like\-:

\begin{DoxyVerb}TiXmlElement* root = document.FirstChildElement( "Document" );
if ( root )
{
TiXmlElement* element = root->FirstChildElement( "Element" );
if ( element )
{
TiXmlElement* child = element->FirstChildElement( "Child" );
if ( child )
{
TiXmlElement* child2 = child->NextSiblingElement( "Child" );
if ( child2 )
{
// Finally do something useful.
\end{DoxyVerb}


And that doesn't even cover \char`\"{}else\char`\"{} cases. \hyperlink{class_ti_xml_handle}{Ti\-Xml\-Handle} addresses the verbosity of such code. A \hyperlink{class_ti_xml_handle}{Ti\-Xml\-Handle} checks for null pointers so it is perfectly safe and correct to use\-:

\begin{DoxyVerb}TiXmlHandle docHandle( &document );
TiXmlElement* child2 = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).Child( "Child", 1 ).ToElement();
if ( child2 )
{
// do something useful
\end{DoxyVerb}


Which is M\-U\-C\-H more concise and useful.

It is also safe to copy handles -\/ internally they are nothing more than node pointers. \begin{DoxyVerb}TiXmlHandle handleCopy = handle;
\end{DoxyVerb}


What they should not be used for is iteration\-:

\begin{DoxyVerb}int i=0;
while ( true )
{
TiXmlElement* child = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).Child( "Child", i ).ToElement();
if ( !child )
break;
// do something
++i;
}
\end{DoxyVerb}


It seems reasonable, but it is in fact two embedded while loops. The Child method is a linear walk to find the element, so this code would iterate much more than it needs to. Instead, prefer\-:

\begin{DoxyVerb}TiXmlElement* child = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).FirstChild( "Child" ).ToElement();

for( child; child; child=child->NextSiblingElement() )
{
// do something
}
\end{DoxyVerb}


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


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



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_ti_xml_handle_aba18fd7bdefb942ecdea4bf4b8e29ec8}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!Ti\-Xml\-Handle@{Ti\-Xml\-Handle}}
\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{Ti\-Xml\-Handle}]{\setlength{\rightskip}{0pt plus 5cm}Ti\-Xml\-Handle\-::\-Ti\-Xml\-Handle (
\begin{DoxyParamCaption}
\item[{{\bf Ti\-Xml\-Node} $\ast$}]{\-\_\-node}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_handle_aba18fd7bdefb942ecdea4bf4b8e29ec8}


Create a handle from any node (at any depth of the tree.) This can be a null pointer. 



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



References node.



Referenced by Child(), Child\-Element(), First\-Child(), and First\-Child\-Element().

\hypertarget{class_ti_xml_handle_a236d7855e1e56ccc7b980630c48c7fd7}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!Ti\-Xml\-Handle@{Ti\-Xml\-Handle}}
\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{Ti\-Xml\-Handle}]{\setlength{\rightskip}{0pt plus 5cm}Ti\-Xml\-Handle\-::\-Ti\-Xml\-Handle (
\begin{DoxyParamCaption}
\item[{const {\bf Ti\-Xml\-Handle} \&}]{ref}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_handle_a236d7855e1e56ccc7b980630c48c7fd7}


Copy constructor. 



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



References node.



\subsection{Member Function Documentation}
\hypertarget{class_ti_xml_handle_a072492b4be1acdb0db2d03cd8f71ccc4}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!Child@{Child}}
\index{Child@{Child}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{Child}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Handle} Ti\-Xml\-Handle\-::\-Child (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{value, }
\item[{int}]{index}
\end{DoxyParamCaption}
) const}}\label{class_ti_xml_handle_a072492b4be1acdb0db2d03cd8f71ccc4}
Return a handle to the \char`\"{}index\char`\"{} child with the given name. The first child is 0, the second 1, etc. 

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



References Ti\-Xml\-Node\-::\-Next\-Sibling(), and Ti\-Xml\-Handle().



Referenced by Child().

\hypertarget{class_ti_xml_handle_af9cf6a7d08a5da94a8924425ad0cd5ac}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!Child@{Child}}
\index{Child@{Child}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{Child}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Handle} Ti\-Xml\-Handle\-::\-Child (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
) const}}\label{class_ti_xml_handle_af9cf6a7d08a5da94a8924425ad0cd5ac}
Return a handle to the \char`\"{}index\char`\"{} child. The first child is 0, the second 1, etc. 

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



References Ti\-Xml\-Node\-::\-Next\-Sibling(), and Ti\-Xml\-Handle().

\hypertarget{class_ti_xml_handle_a5c4617db96789e9a5581dd5c12cdd287}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!Child@{Child}}
\index{Child@{Child}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{Child}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Handle} Ti\-Xml\-Handle\-::\-Child (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{\-\_\-value, }
\item[{int}]{index}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_handle_a5c4617db96789e9a5581dd5c12cdd287}


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



References Child().

\hypertarget{class_ti_xml_handle_a979a3f850984a176ee884e394c7eed2d}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!Child\-Element@{Child\-Element}}
\index{Child\-Element@{Child\-Element}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{Child\-Element}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Handle} Ti\-Xml\-Handle\-::\-Child\-Element (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{value, }
\item[{int}]{index}
\end{DoxyParamCaption}
) const}}\label{class_ti_xml_handle_a979a3f850984a176ee884e394c7eed2d}
Return a handle to the \char`\"{}index\char`\"{} child element with the given name. The first child element is 0, the second 1, etc. Note that only Ti\-Xml\-Elements are indexed\-: other types are not counted. 

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



References Ti\-Xml\-Node\-::\-Next\-Sibling\-Element(), and Ti\-Xml\-Handle().



Referenced by Child\-Element().

\hypertarget{class_ti_xml_handle_a8786475b9d1f1518492e3a46704c7ef0}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!Child\-Element@{Child\-Element}}
\index{Child\-Element@{Child\-Element}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{Child\-Element}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Handle} Ti\-Xml\-Handle\-::\-Child\-Element (
\begin{DoxyParamCaption}
\item[{int}]{index}
\end{DoxyParamCaption}
) const}}\label{class_ti_xml_handle_a8786475b9d1f1518492e3a46704c7ef0}
Return a handle to the \char`\"{}index\char`\"{} child element. The first child element is 0, the second 1, etc. Note that only Ti\-Xml\-Elements are indexed\-: other types are not counted. 

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



References Ti\-Xml\-Node\-::\-Next\-Sibling\-Element(), and Ti\-Xml\-Handle().

\hypertarget{class_ti_xml_handle_a2e5f7758156e6b29a8e7a423eca2cf5b}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!Child\-Element@{Child\-Element}}
\index{Child\-Element@{Child\-Element}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{Child\-Element}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Handle} Ti\-Xml\-Handle\-::\-Child\-Element (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{\-\_\-value, }
\item[{int}]{index}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_handle_a2e5f7758156e6b29a8e7a423eca2cf5b}


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



References Child\-Element().

\hypertarget{class_ti_xml_handle_acb5fe8388a526289ea65e817a51e05e7}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!Element@{Element}}
\index{Element@{Element}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{Element}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Element}$\ast$ Ti\-Xml\-Handle\-::\-Element (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_handle_acb5fe8388a526289ea65e817a51e05e7}
\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000003}{Deprecated}]use To\-Element. Return the handle as a \hyperlink{class_ti_xml_element}{Ti\-Xml\-Element}. This may return null. \end{DoxyRefDesc}


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



References To\-Element().

\hypertarget{class_ti_xml_handle_acdb1faaf88a700b40ca2c8d9aee21139}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!First\-Child@{First\-Child}}
\index{First\-Child@{First\-Child}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{First\-Child}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Handle} Ti\-Xml\-Handle\-::\-First\-Child (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{class_ti_xml_handle_acdb1faaf88a700b40ca2c8d9aee21139}


Return a handle to the first child node. 



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



References Ti\-Xml\-Handle().



Referenced by First\-Child().

\hypertarget{class_ti_xml_handle_a8c61f64ae9365d89c264f289085541f8}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!First\-Child@{First\-Child}}
\index{First\-Child@{First\-Child}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{First\-Child}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Handle} Ti\-Xml\-Handle\-::\-First\-Child (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{value}
\end{DoxyParamCaption}
) const}}\label{class_ti_xml_handle_a8c61f64ae9365d89c264f289085541f8}


Return a handle to the first child node with the given name. 



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



References Ti\-Xml\-Handle().

\hypertarget{class_ti_xml_handle_a8b10982dd39e74f3b068ca8952282d8a}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!First\-Child@{First\-Child}}
\index{First\-Child@{First\-Child}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{First\-Child}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Handle} Ti\-Xml\-Handle\-::\-First\-Child (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{\-\_\-value}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_handle_a8b10982dd39e74f3b068ca8952282d8a}


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



References First\-Child().

\hypertarget{class_ti_xml_handle_a24d1112e995e937e4dddb202d4113d4a}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!First\-Child\-Element@{First\-Child\-Element}}
\index{First\-Child\-Element@{First\-Child\-Element}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{First\-Child\-Element}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Handle} Ti\-Xml\-Handle\-::\-First\-Child\-Element (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{class_ti_xml_handle_a24d1112e995e937e4dddb202d4113d4a}


Return a handle to the first child element. 



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



References Ti\-Xml\-Handle().



Referenced by First\-Child\-Element().

\hypertarget{class_ti_xml_handle_af0aea751320f5e430fac6f8fff3b8dd4}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!First\-Child\-Element@{First\-Child\-Element}}
\index{First\-Child\-Element@{First\-Child\-Element}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{First\-Child\-Element}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Handle} Ti\-Xml\-Handle\-::\-First\-Child\-Element (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{value}
\end{DoxyParamCaption}
) const}}\label{class_ti_xml_handle_af0aea751320f5e430fac6f8fff3b8dd4}


Return a handle to the first child element with the given name. 



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



References Ti\-Xml\-Handle().

\hypertarget{class_ti_xml_handle_a743f1e9cc18b5658c158ed5c0c165354}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!First\-Child\-Element@{First\-Child\-Element}}
\index{First\-Child\-Element@{First\-Child\-Element}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{First\-Child\-Element}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Handle} Ti\-Xml\-Handle\-::\-First\-Child\-Element (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{\-\_\-value}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_handle_a743f1e9cc18b5658c158ed5c0c165354}


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



References First\-Child\-Element().

\hypertarget{class_ti_xml_handle_ab44b723a8dc9af72838a303c079d0376}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!Node@{Node}}
\index{Node@{Node}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{Node}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Node}$\ast$ Ti\-Xml\-Handle\-::\-Node (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_handle_ab44b723a8dc9af72838a303c079d0376}
\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000002}{Deprecated}]use To\-Node. Return the handle as a \hyperlink{class_ti_xml_node}{Ti\-Xml\-Node}. This may return null. \end{DoxyRefDesc}


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



References To\-Node().

\hypertarget{class_ti_xml_handle_ad8e5dcf6a87882674203157f29f8e4db}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!operator=@{operator=}}
\index{operator=@{operator=}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Handle} Ti\-Xml\-Handle\-::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf Ti\-Xml\-Handle} \&}]{ref}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_handle_ad8e5dcf6a87882674203157f29f8e4db}


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



References node.

\hypertarget{class_ti_xml_handle_a9fc739c8a18d160006f82572fc143d13}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!Text@{Text}}
\index{Text@{Text}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{Text}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Text}$\ast$ Ti\-Xml\-Handle\-::\-Text (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_handle_a9fc739c8a18d160006f82572fc143d13}
\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000004}{Deprecated}]use \hyperlink{class_ti_xml_handle_a4ac53a652296203a5b5e13854d923586}{To\-Text()} Return the handle as a \hyperlink{class_ti_xml_text}{Ti\-Xml\-Text}. This may return null. \end{DoxyRefDesc}


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



References To\-Text().

\hypertarget{class_ti_xml_handle_abc6e7ed383a5fe1e52b0c0004b457b9e}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!To\-Element@{To\-Element}}
\index{To\-Element@{To\-Element}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{To\-Element}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Element}$\ast$ Ti\-Xml\-Handle\-::\-To\-Element (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_handle_abc6e7ed383a5fe1e52b0c0004b457b9e}
Return the handle as a \hyperlink{class_ti_xml_element}{Ti\-Xml\-Element}. This may return null. 

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



References node, and Ti\-Xml\-Node\-::\-To\-Element().



Referenced by Element().

\hypertarget{class_ti_xml_handle_af678e5088e83be67baf76f699756f2c3}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!To\-Node@{To\-Node}}
\index{To\-Node@{To\-Node}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{To\-Node}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Node}$\ast$ Ti\-Xml\-Handle\-::\-To\-Node (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_handle_af678e5088e83be67baf76f699756f2c3}
Return the handle as a \hyperlink{class_ti_xml_node}{Ti\-Xml\-Node}. This may return null. 

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



References node.



Referenced by Node().

\hypertarget{class_ti_xml_handle_a4ac53a652296203a5b5e13854d923586}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!To\-Text@{To\-Text}}
\index{To\-Text@{To\-Text}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{To\-Text}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Text}$\ast$ Ti\-Xml\-Handle\-::\-To\-Text (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_handle_a4ac53a652296203a5b5e13854d923586}
Return the handle as a \hyperlink{class_ti_xml_text}{Ti\-Xml\-Text}. This may return null. 

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



References node, and Ti\-Xml\-Node\-::\-To\-Text().



Referenced by Text().

\hypertarget{class_ti_xml_handle_a1381c17507a130767b1e23afc93b3674}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!To\-Unknown@{To\-Unknown}}
\index{To\-Unknown@{To\-Unknown}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{To\-Unknown}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Unknown}$\ast$ Ti\-Xml\-Handle\-::\-To\-Unknown (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_handle_a1381c17507a130767b1e23afc93b3674}
Return the handle as a \hyperlink{class_ti_xml_unknown}{Ti\-Xml\-Unknown}. This may return null. 

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



References node, and Ti\-Xml\-Node\-::\-To\-Unknown().



Referenced by Unknown().

\hypertarget{class_ti_xml_handle_a49675b74357ba2aae124657a9a1ef465}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!Unknown@{Unknown}}
\index{Unknown@{Unknown}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{Unknown}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Unknown}$\ast$ Ti\-Xml\-Handle\-::\-Unknown (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_handle_a49675b74357ba2aae124657a9a1ef465}
\begin{DoxyRefDesc}{Deprecated}
\item[\hyperlink{deprecated__deprecated000005}{Deprecated}]use \hyperlink{class_ti_xml_handle_a1381c17507a130767b1e23afc93b3674}{To\-Unknown()} Return the handle as a \hyperlink{class_ti_xml_unknown}{Ti\-Xml\-Unknown}. This may return null. \end{DoxyRefDesc}


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



References To\-Unknown().



\subsection{Member Data Documentation}
\hypertarget{class_ti_xml_handle_ac5429de14bb78b16288bac5bf33c6858}{\index{Ti\-Xml\-Handle@{Ti\-Xml\-Handle}!node@{node}}
\index{node@{node}!TiXmlHandle@{Ti\-Xml\-Handle}}
\subsubsection[{node}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Node}$\ast$ Ti\-Xml\-Handle\-::node\hspace{0.3cm}{\ttfamily [private]}}}\label{class_ti_xml_handle_ac5429de14bb78b16288bac5bf33c6858}


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



Referenced by operator=(), Ti\-Xml\-Handle(), To\-Element(), To\-Node(), To\-Text(), and To\-Unknown().



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}
