Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

TiXmlComment Class Reference

An XML comment. More...

#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 TiXmlNode * Clone () 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 TiXmlComment * ToComment () const
 Cast to a more defined type. Will return null not of the requested type.

virtual TiXmlComment * ToComment ()
 Cast to a more defined type. Will return null not of the requested type.


Protected Member Functions

void CopyTo (TiXmlComment *target) const
virtual void StreamIn (TIXML_ISTREAM *in, TIXML_STRING *tag)
virtual void StreamOut (TIXML_OSTREAM *out) const

Detailed Description

An XML comment.


Constructor & Destructor Documentation

TiXmlComment::TiXmlComment (   )  [inline]
 

Constructs an empty comment.

TiXmlComment::TiXmlComment (  const TiXmlComment &   ) 
 

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


Member Function Documentation

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

Returns a copy of this Comment.

Implements TiXmlNode.

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

void TiXmlComment::operator= (  const TiXmlComment &  base  ) 
 

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

Implements TiXmlBase.

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

Write this Comment to a FILE stream.

Implements TiXmlBase.

void TiXmlComment::StreamIn (  TIXML_ISTREAM *  in,
TIXML_STRING *  tag
)  [protected, virtual]
 

Implements TiXmlNode.

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

Implements TiXmlBase.

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

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

Reimplemented from TiXmlNode.

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.


The documentation for this class was generated from the following files:
Generated for TinyXPath by doxygen SourceForge Logo