TiXmlComment Class Reference

#include <tinyxml.h>

Inheritance diagram for TiXmlComment:

Inheritance graph
[legend]
Collaboration diagram for TiXmlComment:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TiXmlComment ()
 Constructs an empty comment.
 TiXmlComment (const TiXmlComment &)
void operator= (const TiXmlComment &base)
virtual ~TiXmlComment ()
virtual TiXmlNodeClone () const
 Returns a copy of this Comment.
virtual void Print (FILE *cfile, int depth) const
 Write this Comment to a FILE stream.
virtual const char * Parse (const char *p, TiXmlParsingData *data, TiXmlEncoding encoding)
virtual const TiXmlCommentToComment () const
 Cast to a more defined type. Will return null not of the requested type.
virtual TiXmlCommentToComment ()
 Cast to a more defined type. Will return null not of the requested type.

Protected Member Functions

void CopyTo (TiXmlComment *target) const
virtual void StreamOut (TIXML_OSTREAM *out) const


Detailed Description

An XML comment.

Definition at line 1008 of file tinyxml.h.


Constructor & Destructor Documentation

TiXmlComment::TiXmlComment (  )  [inline]

Constructs an empty comment.

Definition at line 1012 of file tinyxml.h.

Referenced by Clone().

TiXmlComment::TiXmlComment ( const TiXmlComment copy  ) 

Definition at line 1344 of file tinyxml.cpp.

References CopyTo().

virtual TiXmlComment::~TiXmlComment (  )  [inline, virtual]

Definition at line 1016 of file tinyxml.h.


Member Function Documentation

void TiXmlComment::operator= ( const TiXmlComment base  ) 

Definition at line 1350 of file tinyxml.cpp.

References TiXmlNode::Clear(), and CopyTo().

TiXmlNode * TiXmlComment::Clone (  )  const [virtual]

Returns a copy of this Comment.

Implements TiXmlNode.

Definition at line 1381 of file tinyxml.cpp.

References CopyTo(), and TiXmlComment().

void TiXmlComment::Print ( FILE *  cfile,
int  depth 
) const [virtual]

Write this Comment to a FILE stream.

Implements TiXmlBase.

Definition at line 1357 of file tinyxml.cpp.

References TiXmlNode::value.

const char * TiXmlComment::Parse ( const char *  p,
TiXmlParsingData data,
TiXmlEncoding  encoding 
) [virtual]

virtual const TiXmlComment* TiXmlComment::ToComment (  )  const [inline, virtual]

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

Reimplemented from TiXmlNode.

Definition at line 1028 of file tinyxml.h.

virtual TiXmlComment* TiXmlComment::ToComment (  )  [inline, virtual]

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

Reimplemented from TiXmlNode.

Definition at line 1029 of file tinyxml.h.

void TiXmlComment::CopyTo ( TiXmlComment target  )  const [protected]

Definition at line 1375 of file tinyxml.cpp.

References TiXmlNode::CopyTo().

Referenced by Clone(), operator=(), and TiXmlComment().

void TiXmlComment::StreamOut ( TIXML_OSTREAM *  out  )  const [protected, virtual]

Implements TiXmlBase.

Definition at line 1366 of file tinyxml.cpp.

References TiXmlNode::value.


The documentation for this class was generated from the following files:

Generated on Tue May 22 06:00:31 2012 for cpp by  doxygen 1.5.6