edelib  2.0.0
Public Member Functions
TiXmlComment Class Reference

A XML Comment. More...

#include <edelib/TiXml.h>

Inheritance diagram for TiXmlComment:
TiXmlNode TiXmlBase

List of all members.

Public Member Functions

 TiXmlComment ()
 TiXmlComment (const char *_value)
 TiXmlComment (const TiXmlComment &)
void operator= (const TiXmlComment &base)
virtual ~TiXmlComment ()
virtual TiXmlNodeClone () const
virtual void Print (FILE *cfile, int depth) const
virtual const char * Parse (const char *p, TiXmlParsingData *data, TiXmlEncoding encoding)
virtual const TiXmlCommentToComment () const
virtual TiXmlCommentToComment ()
virtual bool Accept (TiXmlVisitor *visitor) const

Detailed Description

A XML Comment.


Constructor & Destructor Documentation

TiXmlComment ( ) [inline]

Constructs an empty comment

TiXmlComment ( const char *  _value) [inline]

Construct a comment from text

References TiXmlNode::SetValue().

TiXmlComment ( const TiXmlComment )

Construct a comment from TiXmlComment

virtual ~TiXmlComment ( ) [inline, virtual]

Destructor


Member Function Documentation

virtual bool Accept ( TiXmlVisitor visitor) const [virtual]

Walk the XML tree visiting this node and all of its children

Implements TiXmlNode.

virtual TiXmlNode* Clone ( ) const [virtual]

Returns a copy of this Comment

Implements TiXmlNode.

void operator= ( const TiXmlComment base)

Construct a comment from TiXmlComment

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

Attribtue parsing starts: at the ! of the !-- returns: next char past '>'

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

Write this Comment to a FILE stream

Implements TiXmlBase.

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

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

Reimplemented from TiXmlNode.

virtual TiXmlComment* ToComment ( ) [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 file: