#include <edelib/TiXml.h>
Inheritance diagram for TiXmlText:

Public Member Functions | |
| TiXmlText (const char *initValue) | |
| TiXmlText (const TiXmlText ©) | |
| void | operator= (const TiXmlText &base) |
| virtual void | Print (FILE *cfile, int depth) const |
| bool | CDATA () const |
| void | SetCDATA (bool _cdata) |
| virtual const TiXmlText * | ToText () const |
| virtual TiXmlText * | ToText () |
| virtual bool | Accept (TiXmlVisitor *content) const |
Friends | |
| class | TiXmlElement |
A text node can have 2 ways to output the next. "normal" output and CDATA. It will default to the mode it was parsed from the XML file and you generally want to leave it alone, but you can change the output mode with SetCDATA() and query it with CDATA().
| TiXmlText | ( | const char * | initValue | ) | [inline] |
Constructor for text element. By default, it is treated as normal, encoded text. If you want it be output as a CDATA text element, set the parameter _cdata to 'true'
| virtual void Print | ( | FILE * | cfile, | |
| int | depth | |||
| ) | const [virtual] |
Write this text object to a FILE stream
Implements TiXmlBase.
| bool CDATA | ( | ) | const [inline] |
Queries whether this represents text using a CDATA section
| void SetCDATA | ( | bool | _cdata | ) | [inline] |
Turns on or off a CDATA representation of text
| virtual const TiXmlText* ToText | ( | ) | const [inline, virtual] |
Cast to a more defined type. Will return null not of the requested type.
Reimplemented from TiXmlNode.
| virtual TiXmlText* ToText | ( | ) | [inline, virtual] |
Cast to a more defined type. Will return null not of the requested type.
Reimplemented from TiXmlNode.
| virtual bool Accept | ( | TiXmlVisitor * | content | ) | const [virtual] |
Walk the XML tree visiting this node and all of its children.
Implements TiXmlNode.
1.5.2