\section{Ti\-Xml\-Comment Class Reference}
\label{classTiXmlComment}\index{Ti\-Xml\-Comment@{Ti\-Xml\-Comment}}


An X\-M\-L comment.  




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

Inheritance diagram for Ti\-Xml\-Comment\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classTiXmlComment}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Ti\-Xml\-Comment} ()\label{classTiXmlComment_aaa3252031d3e8bd3a2bf51a1c61201b7}

\begin{DoxyCompactList}\small\item\em Constructs an empty comment. \end{DoxyCompactList}\item 
{\bf Ti\-Xml\-Comment} (const char $\ast$\-\_\-value)\label{classTiXmlComment_a37e7802ef17bc03ebe5ae79bf0713d47}

\begin{DoxyCompactList}\small\item\em Construct a comment from text. \end{DoxyCompactList}\item 
{\bfseries Ti\-Xml\-Comment} (const {\bf Ti\-Xml\-Comment} \&)\label{classTiXmlComment_afaec41ac2760ce946ba1590eb5708e50}

\item 
void {\bfseries operator=} (const {\bf Ti\-Xml\-Comment} \&base)\label{classTiXmlComment_a46373f99b65cb960637dccb1f126bd49}

\item 
virtual {\bf Ti\-Xml\-Node} $\ast$ {\bf Clone} () const \label{classTiXmlComment_a4f6590c9c9a2b63a48972655b78eb853}

\begin{DoxyCompactList}\small\item\em Returns a copy of this Comment. \end{DoxyCompactList}\item 
virtual void {\bf Print} (F\-I\-L\-E $\ast$cfile, int depth) const 
\begin{DoxyCompactList}\small\item\em All Tiny\-Xml classes can print themselves to a filestream or the string class (\doxyref{Ti\-Xml\-String}{p.}{classTiXmlString} in non-\/\-S\-T\-L mode, std\-::string in S\-T\-L mode.) Either or both cfile and str can be null. \end{DoxyCompactList}\item 
virtual const char $\ast$ {\bfseries Parse} (const char $\ast$p, {\bf Ti\-Xml\-Parsing\-Data} $\ast$data, Ti\-Xml\-Encoding encoding)\label{classTiXmlComment_a43bddc18ac057734b41d84653b71d3e0}

\item 
virtual const {\bf Ti\-Xml\-Comment} $\ast$ {\bf To\-Comment} () const \label{classTiXmlComment_a00fb4215c20a2399ea05ac9b9e7e68a0}

\begin{DoxyCompactList}\small\item\em Cast to a more defined type. Will return null not of the requested type. \end{DoxyCompactList}\item 
virtual {\bf Ti\-Xml\-Comment} $\ast$ {\bf To\-Comment} ()\label{classTiXmlComment_acc7c7e07e13c23f17797d642981511df}

\begin{DoxyCompactList}\small\item\em Cast to a more defined type. Will return null not of the requested type. \end{DoxyCompactList}\item 
virtual bool {\bf Accept} ({\bf Ti\-Xml\-Visitor} $\ast$visitor) const \label{classTiXmlComment_a4382de0e50da973f11a23ea5852568bd}

\begin{DoxyCompactList}\small\item\em Walk the X\-M\-L tree visiting this node and all of its children. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void {\bfseries Copy\-To} ({\bf Ti\-Xml\-Comment} $\ast$target) const \label{classTiXmlComment_a3175b2f27628f4fb7a043897930cd934}

\item 
virtual void {\bfseries Stream\-In} (std\-::istream $\ast$in, T\-I\-X\-M\-L\-\_\-\-S\-T\-R\-I\-N\-G $\ast$tag)\label{classTiXmlComment_ad69c1024082f716462b6fd4b94488320}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
An X\-M\-L comment. 

\subsection{Member Function Documentation}
\index{Ti\-Xml\-Comment@{Ti\-Xml\-Comment}!Print@{Print}}
\index{Print@{Print}!TiXmlComment@{Ti\-Xml\-Comment}}
\subsubsection[{Print}]{\setlength{\rightskip}{0pt plus 5cm}void Ti\-Xml\-Comment\-::\-Print (
\begin{DoxyParamCaption}
\item[{F\-I\-L\-E $\ast$}]{cfile, }
\item[{int}]{depth}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classTiXmlComment_a17398061d62c470f57801ce28fa33ad4}


All Tiny\-Xml classes can print themselves to a filestream or the string class (\doxyref{Ti\-Xml\-String}{p.}{classTiXmlString} 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 {\bf Ti\-Xml\-Base} \doxyref{}{p.}{classTiXmlBase_a0de56b3f2ef14c65091a3b916437b512}.



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
tinyxml.\-h\item 
tinyxml.\-cc\item 
tinyxmlparser.\-cc\end{DoxyCompactItemize}
