#include <edelib/TiXml.h>
Public Member Functions | |
TiXmlComment () | |
TiXmlComment (const char *_value) | |
TiXmlComment (const TiXmlComment &) | |
void | operator= (const TiXmlComment &base) |
virtual | ~TiXmlComment () |
virtual TiXmlNode * | Clone () const |
virtual void | Print (FILE *cfile, int depth) const |
virtual const char * | Parse (const char *p, TiXmlParsingData *data, TiXmlEncoding encoding) |
virtual const TiXmlComment * | ToComment () const |
virtual TiXmlComment * | ToComment () |
virtual bool | Accept (TiXmlVisitor *visitor) const |
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
virtual bool Accept | ( | TiXmlVisitor * | visitor | ) | const [virtual] |
Walk the XML tree visiting this node and all of its children
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 TiXmlComment* ToComment | ( | ) | [inline, virtual] |
Cast to a more defined type. Will return null not of the requested type
Reimplemented from TiXmlNode.
virtual const TiXmlComment* ToComment | ( | ) | const [inline, virtual] |
Cast to a more defined type. Will return null not of the requested type
Reimplemented from TiXmlNode.