\hypertarget{class_ti_xml_element}{\section{Ti\-Xml\-Element Class Reference}
\label{class_ti_xml_element}\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}}
}


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\-Element\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{class_ti_xml_element}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ti_xml_element_a01bc3ab372d35da08efcbbe65ad90c60}{Ti\-Xml\-Element} (const char $\ast$in\-\_\-value)
\begin{DoxyCompactList}\small\item\em Construct an element. \end{DoxyCompactList}\item 
\hyperlink{class_ti_xml_element_a40fc2e3c1a955e2f78e1a32350d180e7}{Ti\-Xml\-Element} (const std\-::string \&\-\_\-value)
\begin{DoxyCompactList}\small\item\em std\-::string constructor. \end{DoxyCompactList}\item 
\hyperlink{class_ti_xml_element_a1ca4465f3c2eac6a60e641cd7f1d9f7e}{Ti\-Xml\-Element} (const \hyperlink{class_ti_xml_element}{Ti\-Xml\-Element} \&)
\item 
void \hyperlink{class_ti_xml_element_af5cd4156e082ef3bf23adfe0ed173340}{operator=} (const \hyperlink{class_ti_xml_element}{Ti\-Xml\-Element} \&base)
\item 
virtual \hyperlink{class_ti_xml_element_aa049a47c5081c0d021968666360da261}{$\sim$\-Ti\-Xml\-Element} ()
\item 
const \hyperlink{class_ti_xml_attribute}{Ti\-Xml\-Attribute} $\ast$ \hyperlink{class_ti_xml_element_a7810143e64e8a1d2ba278cdc79946eb1}{Attribute\-Node} (const char $\ast$name) const 
\item 
const char $\ast$ \hyperlink{class_ti_xml_element_ac1e4691e9375ba4e665dce7e46a50a9c}{Attribute} (const char $\ast$name) const 
\item 
void \hyperlink{class_ti_xml_element_a11ad3e12a953d9b9aaae7625bf872a7a}{Clear\-Attributes} ()
\item 
const char $\ast$ \hyperlink{class_ti_xml_element_aa9192e80567b5042dbded80b78c44339}{Attribute} (const char $\ast$name, int $\ast$i) const 
\item 
const char $\ast$ \hyperlink{class_ti_xml_element_aec4f727f8aa49b51248d80125d173136}{Attribute} (const char $\ast$name, double $\ast$d) const 
\item 
int \hyperlink{class_ti_xml_element_aea0bfe471380f281c5945770ddbf52b9}{Query\-Int\-Attribute} (const char $\ast$name, int $\ast$\-\_\-value) const 
\item 
int \hyperlink{class_ti_xml_element_a898d7730ecc341f0bffc7a9dadbf1ce7}{Query\-Double\-Attribute} (const char $\ast$name, double $\ast$\-\_\-value) const 
\begin{DoxyCompactList}\small\item\em Query\-Double\-Attribute examines the attribute -\/ see \hyperlink{class_ti_xml_element_aea0bfe471380f281c5945770ddbf52b9}{Query\-Int\-Attribute()}. \end{DoxyCompactList}\item 
int \hyperlink{class_ti_xml_element_aa04d3af11601ef5a5f88295203a843be}{Query\-Float\-Attribute} (const char $\ast$name, float $\ast$\-\_\-value) const 
\begin{DoxyCompactList}\small\item\em Query\-Float\-Attribute examines the attribute -\/ see \hyperlink{class_ti_xml_element_aea0bfe471380f281c5945770ddbf52b9}{Query\-Int\-Attribute()}. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename T $>$ }\\int \hyperlink{class_ti_xml_element_a676f888438f8eb8d69a695ead195edb8}{Query\-Value\-Attribute} (const std\-::string \&name, \hyperlink{class_t}{T} $\ast$out\-Value) const 
\item 
void \hyperlink{class_ti_xml_element_abf0b3bd7f0e4c746a89ec6e7f101fc32}{Set\-Attribute} (const char $\ast$name, const char $\ast$\-\_\-value)
\item 
const std\-::string $\ast$ \hyperlink{class_ti_xml_element_a0397ccf40f95e01bfcc46728170df135}{Attribute} (const std\-::string \&name) const 
\item 
const std\-::string $\ast$ \hyperlink{class_ti_xml_element_aa0be00b00ed249cbedc2723a5b888ef5}{Attribute} (const std\-::string \&name, int $\ast$i) const 
\item 
const std\-::string $\ast$ \hyperlink{class_ti_xml_element_a22833b0b61d8c7f6b81e15a6da345a95}{Attribute} (const std\-::string \&name, double $\ast$d) const 
\item 
int \hyperlink{class_ti_xml_element_ad79cb2416a5b94784f9a517add7e2d6d}{Query\-Int\-Attribute} (const std\-::string \&name, int $\ast$\-\_\-value) const 
\item 
int \hyperlink{class_ti_xml_element_a157250e0c0303657d911f6991106ba73}{Query\-Double\-Attribute} (const std\-::string \&name, double $\ast$\-\_\-value) const 
\item 
void \hyperlink{class_ti_xml_element_a80ed65b1d194c71c6c9986ae42337d7d}{Set\-Attribute} (const std\-::string \&name, const std\-::string \&\-\_\-value)
\begin{DoxyCompactList}\small\item\em S\-T\-L std\-::string form. \end{DoxyCompactList}\item 
void \hyperlink{class_ti_xml_element_a6f18d54fbe25bbc527936ee65363b3c5}{Set\-Attribute} (const std\-::string \&name, int \-\_\-value)
\item 
void \hyperlink{class_ti_xml_element_ace6f4be75e373726d4774073d666d1a7}{Set\-Attribute} (const char $\ast$name, int \hyperlink{class_ti_xml_node_aead528b3cedc33c16a6c539872c7cc8b}{value})
\item 
void \hyperlink{class_ti_xml_element_a0d1dd975d75496778177e35abfe0ec0b}{Set\-Double\-Attribute} (const char $\ast$name, double \hyperlink{class_ti_xml_node_aead528b3cedc33c16a6c539872c7cc8b}{value})
\item 
void \hyperlink{class_ti_xml_element_a56979767deca794376b1dfa69a525b2a}{Remove\-Attribute} (const char $\ast$name)
\item 
void \hyperlink{class_ti_xml_element_a1afa6aea716511326a608e4c05df4f3a}{Remove\-Attribute} (const std\-::string \&name)
\begin{DoxyCompactList}\small\item\em S\-T\-L std\-::string form. \end{DoxyCompactList}\item 
const \hyperlink{class_ti_xml_attribute}{Ti\-Xml\-Attribute} $\ast$ \hyperlink{class_ti_xml_element_a516054c9073647d6cb29b6abe9fa0592}{First\-Attribute} () const 
\begin{DoxyCompactList}\small\item\em Access the first attribute in this element. \end{DoxyCompactList}\item 
\hyperlink{class_ti_xml_attribute}{Ti\-Xml\-Attribute} $\ast$ \hyperlink{class_ti_xml_element_a4b33780fc565d38d6b54f640e0cf1737}{First\-Attribute} ()
\item 
const \hyperlink{class_ti_xml_attribute}{Ti\-Xml\-Attribute} $\ast$ \hyperlink{class_ti_xml_element_a86191b49f9177be132b85b14655f1381}{Last\-Attribute} () const 
\begin{DoxyCompactList}\small\item\em Access the last attribute in this element. \end{DoxyCompactList}\item 
\hyperlink{class_ti_xml_attribute}{Ti\-Xml\-Attribute} $\ast$ \hyperlink{class_ti_xml_element_a222f81cf06155cd108f2a68d4d176004}{Last\-Attribute} ()
\item 
const char $\ast$ \hyperlink{class_ti_xml_element_aa6dedd8a146acf3b1bc0903deb2d411a}{Get\-Text} () const 
\item 
virtual \hyperlink{class_ti_xml_node}{Ti\-Xml\-Node} $\ast$ \hyperlink{class_ti_xml_element_a13f6df105ebb1e8dc636e75cc883be32}{Clone} () const 
\begin{DoxyCompactList}\small\item\em Creates a new Element and returns it -\/ the returned element is a copy. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ti_xml_element_ad9d0c008866982ab8d9aafae7e14d692}{Print} (F\-I\-L\-E $\ast$cfile, int depth) const 
\item 
virtual const char $\ast$ \hyperlink{class_ti_xml_element_af95c9165159fd9dfdcc5b894a3fcf85b}{Parse} (const char $\ast$p, \hyperlink{class_ti_xml_parsing_data}{Ti\-Xml\-Parsing\-Data} $\ast$data, \hyperlink{tinyxml_8h_a88d51847a13ee0f4b4d320d03d2c4d96}{Ti\-Xml\-Encoding} encoding)
\item 
virtual const \hyperlink{class_ti_xml_element}{Ti\-Xml\-Element} $\ast$ \hyperlink{class_ti_xml_element_ac5b8d0e25fa23fd9acbb6d146082901c}{To\-Element} () const 
\begin{DoxyCompactList}\small\item\em Cast to a more defined type. Will return null not of the requested type. \end{DoxyCompactList}\item 
virtual \hyperlink{class_ti_xml_element}{Ti\-Xml\-Element} $\ast$ \hyperlink{class_ti_xml_element_a9def86337ea7a755eb41cac980f60c7a}{To\-Element} ()
\begin{DoxyCompactList}\small\item\em Cast to a more defined type. Will return null not of the requested type. \end{DoxyCompactList}\item 
virtual bool \hyperlink{class_ti_xml_element_a31ab28cc3b892a69254391d6bbe08df3}{Accept} (\hyperlink{class_ti_xml_visitor}{Ti\-Xml\-Visitor} $\ast$visitor) const 
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_ti_xml_element_a9e0c1983b840de4134f1f6bf7af00b0f}{Copy\-To} (\hyperlink{class_ti_xml_element}{Ti\-Xml\-Element} $\ast$target) const 
\item 
void \hyperlink{class_ti_xml_element_a5670933ec2d7d9763b9891acc05d7f7d}{Clear\-This} ()
\item 
virtual void \hyperlink{class_ti_xml_element_acc42052299e0bcf04871f3c2d229fe93}{Stream\-In} (std\-::istream $\ast$in, \hyperlink{tinyxml_8h_a92bada05fd84d9a0c9a5bbe53de26887}{T\-I\-X\-M\-L\-\_\-\-S\-T\-R\-I\-N\-G} $\ast$tag)
\item 
const char $\ast$ \hyperlink{class_ti_xml_element_ac786bce103042d3837c4cc2ff6967d41}{Read\-Value} (const char $\ast$in, \hyperlink{class_ti_xml_parsing_data}{Ti\-Xml\-Parsing\-Data} $\ast$prev\-Data, \hyperlink{tinyxml_8h_a88d51847a13ee0f4b4d320d03d2c4d96}{Ti\-Xml\-Encoding} encoding)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ti_xml_attribute_set}{Ti\-Xml\-Attribute\-Set} \hyperlink{class_ti_xml_element_a56d7e69380c3cc938bf213d2857791b2}{attribute\-Set}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


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

The element is a container class. It has a value, the element name, and can contain other elements, text, comments, and unknowns. Elements also contain an arbitrary number of attributes.

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


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



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_ti_xml_element_a01bc3ab372d35da08efcbbe65ad90c60}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Ti\-Xml\-Element@{Ti\-Xml\-Element}}
\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Ti\-Xml\-Element}]{\setlength{\rightskip}{0pt plus 5cm}Ti\-Xml\-Element\-::\-Ti\-Xml\-Element (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{in\-\_\-value}
\end{DoxyParamCaption}
)}}\label{class_ti_xml_element_a01bc3ab372d35da08efcbbe65ad90c60}


Construct an element. 



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



References Ti\-Xml\-Node\-::first\-Child, Ti\-Xml\-Node\-::last\-Child, and Ti\-Xml\-Node\-::value.



Referenced by Clone().

\hypertarget{class_ti_xml_element_a40fc2e3c1a955e2f78e1a32350d180e7}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Ti\-Xml\-Element@{Ti\-Xml\-Element}}
\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Ti\-Xml\-Element}]{\setlength{\rightskip}{0pt plus 5cm}Ti\-Xml\-Element\-::\-Ti\-Xml\-Element (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{\-\_\-value}
\end{DoxyParamCaption}
)}}\label{class_ti_xml_element_a40fc2e3c1a955e2f78e1a32350d180e7}


std\-::string constructor. 

\hypertarget{class_ti_xml_element_a1ca4465f3c2eac6a60e641cd7f1d9f7e}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Ti\-Xml\-Element@{Ti\-Xml\-Element}}
\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Ti\-Xml\-Element}]{\setlength{\rightskip}{0pt plus 5cm}Ti\-Xml\-Element\-::\-Ti\-Xml\-Element (
\begin{DoxyParamCaption}
\item[{const {\bf Ti\-Xml\-Element} \&}]{copy}
\end{DoxyParamCaption}
)}}\label{class_ti_xml_element_a1ca4465f3c2eac6a60e641cd7f1d9f7e}


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



References Copy\-To(), Ti\-Xml\-Node\-::first\-Child, and Ti\-Xml\-Node\-::last\-Child.

\hypertarget{class_ti_xml_element_aa049a47c5081c0d021968666360da261}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!$\sim$\-Ti\-Xml\-Element@{$\sim$\-Ti\-Xml\-Element}}
\index{$\sim$\-Ti\-Xml\-Element@{$\sim$\-Ti\-Xml\-Element}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{$\sim$\-Ti\-Xml\-Element}]{\setlength{\rightskip}{0pt plus 5cm}Ti\-Xml\-Element\-::$\sim$\-Ti\-Xml\-Element (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_ti_xml_element_aa049a47c5081c0d021968666360da261}


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



References Clear\-This().



\subsection{Member Function Documentation}
\hypertarget{class_ti_xml_element_a31ab28cc3b892a69254391d6bbe08df3}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Accept@{Accept}}
\index{Accept@{Accept}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Accept}]{\setlength{\rightskip}{0pt plus 5cm}bool Ti\-Xml\-Element\-::\-Accept (
\begin{DoxyParamCaption}
\item[{{\bf Ti\-Xml\-Visitor} $\ast$}]{visitor}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_ti_xml_element_a31ab28cc3b892a69254391d6bbe08df3}
Walk the X\-M\-L tree visiting this node and all of its children. 

Implements \hyperlink{class_ti_xml_node_acc0f88b7462c6cb73809d410a4f5bb86}{Ti\-Xml\-Node}.



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



References attribute\-Set, Ti\-Xml\-Attribute\-Set\-::\-First(), Ti\-Xml\-Node\-::\-First\-Child(), Ti\-Xml\-Visitor\-::\-Visit\-Enter(), and Ti\-Xml\-Visitor\-::\-Visit\-Exit().

\hypertarget{class_ti_xml_element_ac1e4691e9375ba4e665dce7e46a50a9c}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Attribute@{Attribute}}
\index{Attribute@{Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Attribute}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Ti\-Xml\-Element\-::\-Attribute (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
) const}}\label{class_ti_xml_element_ac1e4691e9375ba4e665dce7e46a50a9c}
Given an attribute name, \hyperlink{class_ti_xml_element_ac1e4691e9375ba4e665dce7e46a50a9c}{Attribute()} returns the attribute value with that name, or null if none exists. 

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



References attribute\-Set, Ti\-Xml\-Attribute\-Set\-::\-Find(), and Ti\-Xml\-Attribute\-::\-Value().



Referenced by Attribute().

\hypertarget{class_ti_xml_element_aa9192e80567b5042dbded80b78c44339}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Attribute@{Attribute}}
\index{Attribute@{Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Attribute}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Ti\-Xml\-Element\-::\-Attribute (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name, }
\item[{int $\ast$}]{i}
\end{DoxyParamCaption}
) const}}\label{class_ti_xml_element_aa9192e80567b5042dbded80b78c44339}
Given an attribute name, \hyperlink{class_ti_xml_element_ac1e4691e9375ba4e665dce7e46a50a9c}{Attribute()} returns the value for the attribute of that name, or null if none exists. If the attribute exists and can be converted to an integer, the integer value will be put in the return 'i', if 'i' is non-\/null. 

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



References Attribute(), and s.

\hypertarget{class_ti_xml_element_aec4f727f8aa49b51248d80125d173136}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Attribute@{Attribute}}
\index{Attribute@{Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Attribute}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Ti\-Xml\-Element\-::\-Attribute (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name, }
\item[{double $\ast$}]{d}
\end{DoxyParamCaption}
) const}}\label{class_ti_xml_element_aec4f727f8aa49b51248d80125d173136}
Given an attribute name, \hyperlink{class_ti_xml_element_ac1e4691e9375ba4e665dce7e46a50a9c}{Attribute()} returns the value for the attribute of that name, or null if none exists. If the attribute exists and can be converted to an double, the double value will be put in the return 'd', if 'd' is non-\/null. 

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



References Attribute(), and s.

\hypertarget{class_ti_xml_element_a0397ccf40f95e01bfcc46728170df135}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Attribute@{Attribute}}
\index{Attribute@{Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Attribute}]{\setlength{\rightskip}{0pt plus 5cm}const std\-::string$\ast$ Ti\-Xml\-Element\-::\-Attribute (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{name}
\end{DoxyParamCaption}
) const}}\label{class_ti_xml_element_a0397ccf40f95e01bfcc46728170df135}
\hypertarget{class_ti_xml_element_aa0be00b00ed249cbedc2723a5b888ef5}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Attribute@{Attribute}}
\index{Attribute@{Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Attribute}]{\setlength{\rightskip}{0pt plus 5cm}const std\-::string$\ast$ Ti\-Xml\-Element\-::\-Attribute (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{name, }
\item[{int $\ast$}]{i}
\end{DoxyParamCaption}
) const}}\label{class_ti_xml_element_aa0be00b00ed249cbedc2723a5b888ef5}
\hypertarget{class_ti_xml_element_a22833b0b61d8c7f6b81e15a6da345a95}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Attribute@{Attribute}}
\index{Attribute@{Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Attribute}]{\setlength{\rightskip}{0pt plus 5cm}const std\-::string$\ast$ Ti\-Xml\-Element\-::\-Attribute (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{name, }
\item[{double $\ast$}]{d}
\end{DoxyParamCaption}
) const}}\label{class_ti_xml_element_a22833b0b61d8c7f6b81e15a6da345a95}
\hypertarget{class_ti_xml_element_a7810143e64e8a1d2ba278cdc79946eb1}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Attribute\-Node@{Attribute\-Node}}
\index{Attribute\-Node@{Attribute\-Node}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Attribute\-Node}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf Ti\-Xml\-Attribute}$\ast$ Ti\-Xml\-Element\-::\-Attribute\-Node (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_element_a7810143e64e8a1d2ba278cdc79946eb1}
Given an attribute name, \hyperlink{class_ti_xml_element_ac1e4691e9375ba4e665dce7e46a50a9c}{Attribute()} returns the attribute with that name, or null if none exists. 

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



References attribute\-Set, and Ti\-Xml\-Attribute\-Set\-::\-Find().



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

\hypertarget{class_ti_xml_element_a11ad3e12a953d9b9aaae7625bf872a7a}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Clear\-Attributes@{Clear\-Attributes}}
\index{Clear\-Attributes@{Clear\-Attributes}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Clear\-Attributes}]{\setlength{\rightskip}{0pt plus 5cm}void Ti\-Xml\-Element\-::\-Clear\-Attributes (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_ti_xml_element_a11ad3e12a953d9b9aaae7625bf872a7a}
Clear all attribute nodes of this node. 

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



References attribute\-Set, Ti\-Xml\-Attribute\-Set\-::\-First(), and Ti\-Xml\-Attribute\-Set\-::\-Remove().

\hypertarget{class_ti_xml_element_a5670933ec2d7d9763b9891acc05d7f7d}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Clear\-This@{Clear\-This}}
\index{Clear\-This@{Clear\-This}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Clear\-This}]{\setlength{\rightskip}{0pt plus 5cm}void Ti\-Xml\-Element\-::\-Clear\-This (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}}}\label{class_ti_xml_element_a5670933ec2d7d9763b9891acc05d7f7d}


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



References attribute\-Set, Ti\-Xml\-Node\-::\-Clear(), Ti\-Xml\-Attribute\-Set\-::\-First(), and Ti\-Xml\-Attribute\-Set\-::\-Remove().



Referenced by operator=(), and $\sim$\-Ti\-Xml\-Element().

\hypertarget{class_ti_xml_element_a13f6df105ebb1e8dc636e75cc883be32}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Clone@{Clone}}
\index{Clone@{Clone}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Clone}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Node} $\ast$ Ti\-Xml\-Element\-::\-Clone (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_ti_xml_element_a13f6df105ebb1e8dc636e75cc883be32}


Creates a new Element and returns it -\/ the returned element is a copy. 



Implements \hyperlink{class_ti_xml_node_a4508cc3a2d7a98e96a54cc09c37a78a4}{Ti\-Xml\-Node}.



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



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

\hypertarget{class_ti_xml_element_a9e0c1983b840de4134f1f6bf7af00b0f}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Copy\-To@{Copy\-To}}
\index{Copy\-To@{Copy\-To}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Copy\-To}]{\setlength{\rightskip}{0pt plus 5cm}void Ti\-Xml\-Element\-::\-Copy\-To (
\begin{DoxyParamCaption}
\item[{{\bf Ti\-Xml\-Element} $\ast$}]{target}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [protected]}}}\label{class_ti_xml_element_a9e0c1983b840de4134f1f6bf7af00b0f}


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



References attribute\-Set, Ti\-Xml\-Node\-::\-Clone(), Ti\-Xml\-Node\-::\-Copy\-To(), Ti\-Xml\-Attribute\-Set\-::\-First(), Ti\-Xml\-Node\-::first\-Child, Ti\-Xml\-Node\-::\-Link\-End\-Child(), Ti\-Xml\-Attribute\-::\-Name(), Ti\-Xml\-Attribute\-::\-Next(), Ti\-Xml\-Node\-::\-Next\-Sibling(), Set\-Attribute(), and Ti\-Xml\-Attribute\-::\-Value().



Referenced by Clone(), operator=(), and Ti\-Xml\-Element().

\hypertarget{class_ti_xml_element_a516054c9073647d6cb29b6abe9fa0592}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!First\-Attribute@{First\-Attribute}}
\index{First\-Attribute@{First\-Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{First\-Attribute}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf Ti\-Xml\-Attribute}$\ast$ Ti\-Xml\-Element\-::\-First\-Attribute (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_element_a516054c9073647d6cb29b6abe9fa0592}


Access the first attribute in this element. 



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



References attribute\-Set, and Ti\-Xml\-Attribute\-Set\-::\-First().



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

\hypertarget{class_ti_xml_element_a4b33780fc565d38d6b54f640e0cf1737}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!First\-Attribute@{First\-Attribute}}
\index{First\-Attribute@{First\-Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{First\-Attribute}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Attribute}$\ast$ Ti\-Xml\-Element\-::\-First\-Attribute (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_element_a4b33780fc565d38d6b54f640e0cf1737}


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



References attribute\-Set, and Ti\-Xml\-Attribute\-Set\-::\-First().

\hypertarget{class_ti_xml_element_aa6dedd8a146acf3b1bc0903deb2d411a}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Get\-Text@{Get\-Text}}
\index{Get\-Text@{Get\-Text}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Get\-Text}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Ti\-Xml\-Element\-::\-Get\-Text (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}\label{class_ti_xml_element_aa6dedd8a146acf3b1bc0903deb2d411a}
Convenience function for easy access to the text inside an element. Although easy and concise, \hyperlink{class_ti_xml_element_aa6dedd8a146acf3b1bc0903deb2d411a}{Get\-Text()} is limited compared to getting the \hyperlink{class_ti_xml_text}{Ti\-Xml\-Text} child and accessing it directly.

If the first child of 'this' is a \hyperlink{class_ti_xml_text}{Ti\-Xml\-Text}, the \hyperlink{class_ti_xml_element_aa6dedd8a146acf3b1bc0903deb2d411a}{Get\-Text()} returns the character string of the Text node, else null is returned.

This is a convenient method for getting the text of simple contained text\-: \begin{DoxyVerb}<foo>This is text</foo>
const char* str = fooElement->GetText();
\end{DoxyVerb}


'str' will be a pointer to \char`\"{}\-This is text\char`\"{}.

Note that this function can be misleading. If the element foo was created from this X\-M\-L\-: \begin{DoxyVerb}<foo><b>This is text</b></foo>
\end{DoxyVerb}


then the value of str would be null. The first child node isn't a text node, it is another element. From this X\-M\-L\-: \begin{DoxyVerb}<foo>This is <b>text</b></foo>
\end{DoxyVerb}
 \hyperlink{class_ti_xml_element_aa6dedd8a146acf3b1bc0903deb2d411a}{Get\-Text()} will return \char`\"{}\-This is \char`\"{}.

W\-A\-R\-N\-I\-N\-G\-: \hyperlink{class_ti_xml_element_aa6dedd8a146acf3b1bc0903deb2d411a}{Get\-Text()} accesses a child node -\/ don't become confused with the similarly named \hyperlink{class_ti_xml_handle_a9fc739c8a18d160006f82572fc143d13}{Ti\-Xml\-Handle\-::\-Text()} and \hyperlink{class_ti_xml_node_a3ddfbcac78fbea041fad57e5c6d60a03}{Ti\-Xml\-Node\-::\-To\-Text()} which are safe type casts on the referenced node. 

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



References Ti\-Xml\-Node\-::\-First\-Child(), Ti\-Xml\-Node\-::\-To\-Text(), and Ti\-Xml\-Node\-::\-Value().

\hypertarget{class_ti_xml_element_a86191b49f9177be132b85b14655f1381}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Last\-Attribute@{Last\-Attribute}}
\index{Last\-Attribute@{Last\-Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Last\-Attribute}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf Ti\-Xml\-Attribute}$\ast$ Ti\-Xml\-Element\-::\-Last\-Attribute (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_element_a86191b49f9177be132b85b14655f1381}


Access the last attribute in this element. 



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



References attribute\-Set, and Ti\-Xml\-Attribute\-Set\-::\-Last().

\hypertarget{class_ti_xml_element_a222f81cf06155cd108f2a68d4d176004}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Last\-Attribute@{Last\-Attribute}}
\index{Last\-Attribute@{Last\-Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Last\-Attribute}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Attribute}$\ast$ Ti\-Xml\-Element\-::\-Last\-Attribute (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_element_a222f81cf06155cd108f2a68d4d176004}


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



References attribute\-Set, and Ti\-Xml\-Attribute\-Set\-::\-Last().

\hypertarget{class_ti_xml_element_af5cd4156e082ef3bf23adfe0ed173340}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!operator=@{operator=}}
\index{operator=@{operator=}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}void Ti\-Xml\-Element\-::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf Ti\-Xml\-Element} \&}]{base}
\end{DoxyParamCaption}
)}}\label{class_ti_xml_element_af5cd4156e082ef3bf23adfe0ed173340}


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



References Clear\-This(), and Copy\-To().

\hypertarget{class_ti_xml_element_af95c9165159fd9dfdcc5b894a3fcf85b}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Parse@{Parse}}
\index{Parse@{Parse}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Parse}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Ti\-Xml\-Element\-::\-Parse (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{p, }
\item[{{\bf Ti\-Xml\-Parsing\-Data} $\ast$}]{data, }
\item[{{\bf Ti\-Xml\-Encoding}}]{encoding}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_ti_xml_element_af95c9165159fd9dfdcc5b894a3fcf85b}


Implements \hyperlink{class_ti_xml_base_a00e4edb0219d00a1379c856e5a1d2025}{Ti\-Xml\-Base}.



Definition at line 1057 of file tinyxmlparser\-\_\-inl.\-h.



References Ti\-Xml\-Attribute\-Set\-::\-Add(), attribute\-Set, Ti\-Xml\-Parsing\-Data\-::\-Cursor(), Ti\-Xml\-Attribute\-Set\-::\-Find(), Ti\-Xml\-Node\-::\-Get\-Document(), Ti\-Xml\-Base\-::location, Ti\-Xml\-Attribute\-::\-Name(), Ti\-Xml\-Attribute\-::\-Name\-T\-Str(), Ti\-Xml\-Attribute\-::\-Parse(), Ti\-Xml\-Base\-::\-Read\-Name(), Read\-Value(), Ti\-Xml\-Attribute\-::\-Set\-Document(), Ti\-Xml\-Document\-::\-Set\-Error(), Ti\-Xml\-Attribute\-::\-Set\-Value(), Ti\-Xml\-Base\-::\-Skip\-White\-Space(), Ti\-Xml\-Parsing\-Data\-::\-Stamp(), Ti\-Xml\-Base\-::\-String\-Equal(), Ti\-Xml\-Base\-::\-T\-I\-X\-M\-L\-\_\-\-E\-R\-R\-O\-R\-\_\-\-F\-A\-I\-L\-E\-D\-\_\-\-T\-O\-\_\-\-R\-E\-A\-D\-\_\-\-E\-L\-E\-M\-E\-N\-T\-\_\-\-N\-A\-M\-E, Ti\-Xml\-Base\-::\-T\-I\-X\-M\-L\-\_\-\-E\-R\-R\-O\-R\-\_\-\-O\-U\-T\-\_\-\-O\-F\-\_\-\-M\-E\-M\-O\-R\-Y, Ti\-Xml\-Base\-::\-T\-I\-X\-M\-L\-\_\-\-E\-R\-R\-O\-R\-\_\-\-P\-A\-R\-S\-I\-N\-G\-\_\-\-E\-L\-E\-M\-E\-N\-T, Ti\-Xml\-Base\-::\-T\-I\-X\-M\-L\-\_\-\-E\-R\-R\-O\-R\-\_\-\-P\-A\-R\-S\-I\-N\-G\-\_\-\-E\-M\-P\-T\-Y, Ti\-Xml\-Base\-::\-T\-I\-X\-M\-L\-\_\-\-E\-R\-R\-O\-R\-\_\-\-R\-E\-A\-D\-I\-N\-G\-\_\-\-A\-T\-T\-R\-I\-B\-U\-T\-E\-S, Ti\-Xml\-Base\-::\-T\-I\-X\-M\-L\-\_\-\-E\-R\-R\-O\-R\-\_\-\-R\-E\-A\-D\-I\-N\-G\-\_\-\-E\-N\-D\-\_\-\-T\-A\-G, T\-I\-X\-M\-L\-\_\-\-S\-T\-R\-I\-N\-G, Ti\-Xml\-Node\-::value, and Ti\-Xml\-Attribute\-::\-Value().

\hypertarget{class_ti_xml_element_ad9d0c008866982ab8d9aafae7e14d692}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Print@{Print}}
\index{Print@{Print}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Print}]{\setlength{\rightskip}{0pt plus 5cm}void Ti\-Xml\-Element\-::\-Print (
\begin{DoxyParamCaption}
\item[{F\-I\-L\-E $\ast$}]{cfile, }
\item[{int}]{depth}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_ti_xml_element_ad9d0c008866982ab8d9aafae7e14d692}
All Tiny\-Xml classes can print themselves to a filestream or the string class (\hyperlink{class_ti_xml_string}{Ti\-Xml\-String} in non-\/\-S\-T\-L mode, std\-::string in S\-T\-L mode.) Either or both cfile and str can be null.

This is a formatted print, and will insert tabs and newlines.

(For an unformatted stream, use the $<$$<$ operator.) 

Implements \hyperlink{class_ti_xml_base_a0de56b3f2ef14c65091a3b916437b512}{Ti\-Xml\-Base}.



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



References attribute\-Set, Ti\-Xml\-Attribute\-Set\-::\-First(), Ti\-Xml\-Node\-::first\-Child, Ti\-Xml\-Node\-::last\-Child, Ti\-Xml\-Attribute\-::\-Next(), Ti\-Xml\-Node\-::\-Next\-Sibling(), Ti\-Xml\-Base\-::\-Print(), Ti\-Xml\-Node\-::\-To\-Text(), and Ti\-Xml\-Node\-::value.

\hypertarget{class_ti_xml_element_a898d7730ecc341f0bffc7a9dadbf1ce7}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Query\-Double\-Attribute@{Query\-Double\-Attribute}}
\index{Query\-Double\-Attribute@{Query\-Double\-Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Query\-Double\-Attribute}]{\setlength{\rightskip}{0pt plus 5cm}int Ti\-Xml\-Element\-::\-Query\-Double\-Attribute (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name, }
\item[{double $\ast$}]{\-\_\-value}
\end{DoxyParamCaption}
) const}}\label{class_ti_xml_element_a898d7730ecc341f0bffc7a9dadbf1ce7}


Query\-Double\-Attribute examines the attribute -\/ see \hyperlink{class_ti_xml_element_aea0bfe471380f281c5945770ddbf52b9}{Query\-Int\-Attribute()}. 



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



References attribute\-Set, Ti\-Xml\-Attribute\-Set\-::\-Find(), Ti\-Xml\-Attribute\-::\-Query\-Double\-Value(), and T\-I\-X\-M\-L\-\_\-\-N\-O\-\_\-\-A\-T\-T\-R\-I\-B\-U\-T\-E.



Referenced by Query\-Float\-Attribute().

\hypertarget{class_ti_xml_element_a157250e0c0303657d911f6991106ba73}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Query\-Double\-Attribute@{Query\-Double\-Attribute}}
\index{Query\-Double\-Attribute@{Query\-Double\-Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Query\-Double\-Attribute}]{\setlength{\rightskip}{0pt plus 5cm}int Ti\-Xml\-Element\-::\-Query\-Double\-Attribute (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{name, }
\item[{double $\ast$}]{\-\_\-value}
\end{DoxyParamCaption}
) const}}\label{class_ti_xml_element_a157250e0c0303657d911f6991106ba73}
\hypertarget{class_ti_xml_element_aa04d3af11601ef5a5f88295203a843be}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Query\-Float\-Attribute@{Query\-Float\-Attribute}}
\index{Query\-Float\-Attribute@{Query\-Float\-Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Query\-Float\-Attribute}]{\setlength{\rightskip}{0pt plus 5cm}int Ti\-Xml\-Element\-::\-Query\-Float\-Attribute (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name, }
\item[{float $\ast$}]{\-\_\-value}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_element_aa04d3af11601ef5a5f88295203a843be}


Query\-Float\-Attribute examines the attribute -\/ see \hyperlink{class_ti_xml_element_aea0bfe471380f281c5945770ddbf52b9}{Query\-Int\-Attribute()}. 



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



References Query\-Double\-Attribute(), and T\-I\-X\-M\-L\-\_\-\-S\-U\-C\-C\-E\-S\-S.

\hypertarget{class_ti_xml_element_aea0bfe471380f281c5945770ddbf52b9}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Query\-Int\-Attribute@{Query\-Int\-Attribute}}
\index{Query\-Int\-Attribute@{Query\-Int\-Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Query\-Int\-Attribute}]{\setlength{\rightskip}{0pt plus 5cm}int Ti\-Xml\-Element\-::\-Query\-Int\-Attribute (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name, }
\item[{int $\ast$}]{\-\_\-value}
\end{DoxyParamCaption}
) const}}\label{class_ti_xml_element_aea0bfe471380f281c5945770ddbf52b9}
Query\-Int\-Attribute examines the attribute -\/ it is an alternative to the \hyperlink{class_ti_xml_element_ac1e4691e9375ba4e665dce7e46a50a9c}{Attribute()} method with richer error checking. If the attribute is an integer, it is stored in 'value' and the call returns T\-I\-X\-M\-L\-\_\-\-S\-U\-C\-C\-E\-S\-S. If it is not an integer, it returns T\-I\-X\-M\-L\-\_\-\-W\-R\-O\-N\-G\-\_\-\-T\-Y\-P\-E. If the attribute does not exist, then T\-I\-X\-M\-L\-\_\-\-N\-O\-\_\-\-A\-T\-T\-R\-I\-B\-U\-T\-E is returned. 

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



References attribute\-Set, Ti\-Xml\-Attribute\-Set\-::\-Find(), Ti\-Xml\-Attribute\-::\-Query\-Int\-Value(), and T\-I\-X\-M\-L\-\_\-\-N\-O\-\_\-\-A\-T\-T\-R\-I\-B\-U\-T\-E.

\hypertarget{class_ti_xml_element_ad79cb2416a5b94784f9a517add7e2d6d}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Query\-Int\-Attribute@{Query\-Int\-Attribute}}
\index{Query\-Int\-Attribute@{Query\-Int\-Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Query\-Int\-Attribute}]{\setlength{\rightskip}{0pt plus 5cm}int Ti\-Xml\-Element\-::\-Query\-Int\-Attribute (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{name, }
\item[{int $\ast$}]{\-\_\-value}
\end{DoxyParamCaption}
) const}}\label{class_ti_xml_element_ad79cb2416a5b94784f9a517add7e2d6d}
\hypertarget{class_ti_xml_element_a676f888438f8eb8d69a695ead195edb8}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Query\-Value\-Attribute@{Query\-Value\-Attribute}}
\index{Query\-Value\-Attribute@{Query\-Value\-Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Query\-Value\-Attribute}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ int Ti\-Xml\-Element\-::\-Query\-Value\-Attribute (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{name, }
\item[{{\bf T} $\ast$}]{out\-Value}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_element_a676f888438f8eb8d69a695ead195edb8}
Template form of the attribute query which will try to read the attribute into the specified type. Very easy, very powerful, but be careful to make sure to call this with the correct type.

\begin{DoxyReturn}{Returns}
T\-I\-X\-M\-L\-\_\-\-S\-U\-C\-C\-E\-S\-S, T\-I\-X\-M\-L\-\_\-\-W\-R\-O\-N\-G\-\_\-\-T\-Y\-P\-E, or T\-I\-X\-M\-L\-\_\-\-N\-O\-\_\-\-A\-T\-T\-R\-I\-B\-U\-T\-E 
\end{DoxyReturn}


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



References attribute\-Set, Ti\-Xml\-Attribute\-Set\-::\-Find(), T\-I\-X\-M\-L\-\_\-\-N\-O\-\_\-\-A\-T\-T\-R\-I\-B\-U\-T\-E, T\-I\-X\-M\-L\-\_\-\-S\-U\-C\-C\-E\-S\-S, T\-I\-X\-M\-L\-\_\-\-W\-R\-O\-N\-G\-\_\-\-T\-Y\-P\-E, and Ti\-Xml\-Attribute\-::\-Value\-Str().

\hypertarget{class_ti_xml_element_ac786bce103042d3837c4cc2ff6967d41}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Read\-Value@{Read\-Value}}
\index{Read\-Value@{Read\-Value}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Read\-Value}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ Ti\-Xml\-Element\-::\-Read\-Value (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{in, }
\item[{{\bf Ti\-Xml\-Parsing\-Data} $\ast$}]{prev\-Data, }
\item[{{\bf Ti\-Xml\-Encoding}}]{encoding}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}}}\label{class_ti_xml_element_ac786bce103042d3837c4cc2ff6967d41}


Definition at line 1181 of file tinyxmlparser\-\_\-inl.\-h.



References Ti\-Xml\-Text\-::\-Blank(), Ti\-Xml\-Node\-::\-Get\-Document(), Ti\-Xml\-Node\-::\-Identify(), Ti\-Xml\-Base\-::\-Is\-White\-Space\-Condensed(), Ti\-Xml\-Node\-::\-Link\-End\-Child(), Ti\-Xml\-Base\-::\-Parse(), Ti\-Xml\-Text\-::\-Parse(), Ti\-Xml\-Document\-::\-Set\-Error(), Ti\-Xml\-Base\-::\-Skip\-White\-Space(), Ti\-Xml\-Base\-::\-String\-Equal(), Ti\-Xml\-Base\-::\-T\-I\-X\-M\-L\-\_\-\-E\-R\-R\-O\-R\-\_\-\-O\-U\-T\-\_\-\-O\-F\-\_\-\-M\-E\-M\-O\-R\-Y, and Ti\-Xml\-Base\-::\-T\-I\-X\-M\-L\-\_\-\-E\-R\-R\-O\-R\-\_\-\-R\-E\-A\-D\-I\-N\-G\-\_\-\-E\-L\-E\-M\-E\-N\-T\-\_\-\-V\-A\-L\-U\-E.



Referenced by Parse().

\hypertarget{class_ti_xml_element_a56979767deca794376b1dfa69a525b2a}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Remove\-Attribute@{Remove\-Attribute}}
\index{Remove\-Attribute@{Remove\-Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Remove\-Attribute}]{\setlength{\rightskip}{0pt plus 5cm}void Ti\-Xml\-Element\-::\-Remove\-Attribute (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}}\label{class_ti_xml_element_a56979767deca794376b1dfa69a525b2a}
Deletes an attribute with the given name. 

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



References attribute\-Set, Ti\-Xml\-Attribute\-Set\-::\-Find(), Ti\-Xml\-Attribute\-Set\-::\-Remove(), and T\-I\-X\-M\-L\-\_\-\-S\-T\-R\-I\-N\-G.



Referenced by Remove\-Attribute().

\hypertarget{class_ti_xml_element_a1afa6aea716511326a608e4c05df4f3a}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Remove\-Attribute@{Remove\-Attribute}}
\index{Remove\-Attribute@{Remove\-Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Remove\-Attribute}]{\setlength{\rightskip}{0pt plus 5cm}void Ti\-Xml\-Element\-::\-Remove\-Attribute (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{name}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ti_xml_element_a1afa6aea716511326a608e4c05df4f3a}


S\-T\-L std\-::string form. 



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



References Remove\-Attribute().

\hypertarget{class_ti_xml_element_abf0b3bd7f0e4c746a89ec6e7f101fc32}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Set\-Attribute@{Set\-Attribute}}
\index{Set\-Attribute@{Set\-Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Set\-Attribute}]{\setlength{\rightskip}{0pt plus 5cm}void Ti\-Xml\-Element\-::\-Set\-Attribute (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name, }
\item[{const char $\ast$}]{\-\_\-value}
\end{DoxyParamCaption}
)}}\label{class_ti_xml_element_abf0b3bd7f0e4c746a89ec6e7f101fc32}
Sets an attribute of name to a given value. The attribute will be created if it does not exist, or changed if it does. 

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



References Ti\-Xml\-Attribute\-Set\-::\-Add(), attribute\-Set, Ti\-Xml\-Attribute\-Set\-::\-Find(), Ti\-Xml\-Node\-::\-Get\-Document(), Ti\-Xml\-Document\-::\-Set\-Error(), Ti\-Xml\-Attribute\-::\-Set\-Value(), T\-I\-X\-M\-L\-\_\-\-E\-N\-C\-O\-D\-I\-N\-G\-\_\-\-U\-N\-K\-N\-O\-W\-N, Ti\-Xml\-Base\-::\-T\-I\-X\-M\-L\-\_\-\-E\-R\-R\-O\-R\-\_\-\-O\-U\-T\-\_\-\-O\-F\-\_\-\-M\-E\-M\-O\-R\-Y, and T\-I\-X\-M\-L\-\_\-\-S\-T\-R\-I\-N\-G.



Referenced by Copy\-To(), D\-D4hep\-::\-X\-M\-L\-::\-Handle\-\_\-t\-::set\-Attr(), Set\-Attribute(), and Set\-Double\-Attribute().

\hypertarget{class_ti_xml_element_a80ed65b1d194c71c6c9986ae42337d7d}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Set\-Attribute@{Set\-Attribute}}
\index{Set\-Attribute@{Set\-Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Set\-Attribute}]{\setlength{\rightskip}{0pt plus 5cm}void Ti\-Xml\-Element\-::\-Set\-Attribute (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{name, }
\item[{const std\-::string \&}]{\-\_\-value}
\end{DoxyParamCaption}
)}}\label{class_ti_xml_element_a80ed65b1d194c71c6c9986ae42337d7d}


S\-T\-L std\-::string form. 

S\-T\-L std\-::string form. \hypertarget{class_ti_xml_element_a6f18d54fbe25bbc527936ee65363b3c5}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Set\-Attribute@{Set\-Attribute}}
\index{Set\-Attribute@{Set\-Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Set\-Attribute}]{\setlength{\rightskip}{0pt plus 5cm}void Ti\-Xml\-Element\-::\-Set\-Attribute (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{name, }
\item[{int}]{\-\_\-value}
\end{DoxyParamCaption}
)}}\label{class_ti_xml_element_a6f18d54fbe25bbc527936ee65363b3c5}
\hypertarget{class_ti_xml_element_ace6f4be75e373726d4774073d666d1a7}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Set\-Attribute@{Set\-Attribute}}
\index{Set\-Attribute@{Set\-Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Set\-Attribute}]{\setlength{\rightskip}{0pt plus 5cm}void Ti\-Xml\-Element\-::\-Set\-Attribute (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name, }
\item[{int}]{value}
\end{DoxyParamCaption}
)}}\label{class_ti_xml_element_ace6f4be75e373726d4774073d666d1a7}
Sets an attribute of name to a given value. The attribute will be created if it does not exist, or changed if it does. 

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



References Set\-Attribute().

\hypertarget{class_ti_xml_element_a0d1dd975d75496778177e35abfe0ec0b}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Set\-Double\-Attribute@{Set\-Double\-Attribute}}
\index{Set\-Double\-Attribute@{Set\-Double\-Attribute}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Set\-Double\-Attribute}]{\setlength{\rightskip}{0pt plus 5cm}void Ti\-Xml\-Element\-::\-Set\-Double\-Attribute (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name, }
\item[{double}]{value}
\end{DoxyParamCaption}
)}}\label{class_ti_xml_element_a0d1dd975d75496778177e35abfe0ec0b}
Sets an attribute of name to a given value. The attribute will be created if it does not exist, or changed if it does. 

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



References Set\-Attribute().

\hypertarget{class_ti_xml_element_acc42052299e0bcf04871f3c2d229fe93}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!Stream\-In@{Stream\-In}}
\index{Stream\-In@{Stream\-In}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{Stream\-In}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Ti\-Xml\-Element\-::\-Stream\-In (
\begin{DoxyParamCaption}
\item[{std\-::istream $\ast$}]{in, }
\item[{{\bf T\-I\-X\-M\-L\-\_\-\-S\-T\-R\-I\-N\-G} $\ast$}]{tag}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}}\label{class_ti_xml_element_acc42052299e0bcf04871f3c2d229fe93}


Implements \hyperlink{class_ti_xml_node_ab4b4af1a6b486dcbc0e327cf291270af}{Ti\-Xml\-Node}.

\hypertarget{class_ti_xml_element_ac5b8d0e25fa23fd9acbb6d146082901c}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!To\-Element@{To\-Element}}
\index{To\-Element@{To\-Element}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{To\-Element}]{\setlength{\rightskip}{0pt plus 5cm}virtual const {\bf Ti\-Xml\-Element}$\ast$ Ti\-Xml\-Element\-::\-To\-Element (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{class_ti_xml_element_ac5b8d0e25fa23fd9acbb6d146082901c}


Cast to a more defined type. Will return null not of the requested type. 



Reimplemented from \hyperlink{class_ti_xml_node_a72abed96dc9667ab9e0a2a275301bb1c}{Ti\-Xml\-Node}.



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

\hypertarget{class_ti_xml_element_a9def86337ea7a755eb41cac980f60c7a}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!To\-Element@{To\-Element}}
\index{To\-Element@{To\-Element}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{To\-Element}]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf Ti\-Xml\-Element}$\ast$ Ti\-Xml\-Element\-::\-To\-Element (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{class_ti_xml_element_a9def86337ea7a755eb41cac980f60c7a}


Cast to a more defined type. Will return null not of the requested type. 



Reimplemented from \hyperlink{class_ti_xml_node_aa65d000223187d22a4dcebd7479e9ebc}{Ti\-Xml\-Node}.



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



\subsection{Member Data Documentation}
\hypertarget{class_ti_xml_element_a56d7e69380c3cc938bf213d2857791b2}{\index{Ti\-Xml\-Element@{Ti\-Xml\-Element}!attribute\-Set@{attribute\-Set}}
\index{attribute\-Set@{attribute\-Set}!TiXmlElement@{Ti\-Xml\-Element}}
\subsubsection[{attribute\-Set}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ti\-Xml\-Attribute\-Set} Ti\-Xml\-Element\-::attribute\-Set\hspace{0.3cm}{\ttfamily [private]}}}\label{class_ti_xml_element_a56d7e69380c3cc938bf213d2857791b2}


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



Referenced by Accept(), Attribute(), Attribute\-Node(), Clear\-Attributes(), Clear\-This(), Copy\-To(), First\-Attribute(), Last\-Attribute(), Parse(), Print(), Query\-Double\-Attribute(), Query\-Int\-Attribute(), Query\-Value\-Attribute(), Remove\-Attribute(), and Set\-Attribute().



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}\item 
/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Core/src/\-X\-M\-L/\hyperlink{tinyxmlparser__inl_8h}{tinyxmlparser\-\_\-inl.\-h}\end{DoxyCompactItemize}
