#include <tinyxml.h>

Public Member Functions | |
| TiXmlText (const char *initValue) | |
| virtual | ~TiXmlText () |
| TiXmlText (const std::string &initValue) | |
| Constructor. | |
| TiXmlText (const TiXmlText ©) | |
| void | operator= (const TiXmlText &base) |
| virtual void | Print (FILE *cfile, int depth) const |
| bool | CDATA () const |
| Queries whether this represents text using a CDATA section. | |
| void | SetCDATA (bool _cdata) |
| Turns on or off a CDATA representation of text. | |
| virtual const char * | Parse (const char *p, TiXmlParsingData *data, TiXmlEncoding encoding) |
| virtual const TiXmlText * | ToText () const |
| Cast to a more defined type. Will return null not of the requested type. | |
| virtual TiXmlText * | ToText () |
| Cast to a more defined type. Will return null not of the requested type. | |
| virtual bool | Accept (TiXmlVisitor *content) const |
Protected Member Functions | |
| virtual TiXmlNode * | Clone () const |
| [internal use] Creates a new Element and returns it. | |
| void | CopyTo (TiXmlText *target) const |
| bool | Blank () const |
| virtual void | StreamIn (std::istream *in, TIXML_STRING *tag) |
Private Attributes | |
| bool | cdata |
Friends | |
| class | TiXmlElement |
| 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 ~TiXmlText | ( | ) | [inline, virtual] |
| TiXmlText | ( | const std::string & | initValue | ) | [inline] |
Constructor.
| void operator= | ( | const TiXmlText & | base | ) | [inline] |
| void Print | ( | FILE * | cfile, | |
| int | depth | |||
| ) | const [virtual] |
All TinyXml classes can print themselves to a filestream or the string class (TiXmlString in non-STL mode, std::string in STL mode.) Either or both cfile and str can be null.
This is a formatted print, and will insert tabs and newlines.
(For an unformatted stream, use the << operator.)
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.
| const char * Parse | ( | const char * | p, | |
| TiXmlParsingData * | data, | |||
| TiXmlEncoding | encoding | |||
| ) | [virtual] |
Implements TiXmlBase.
| 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.
| bool Accept | ( | TiXmlVisitor * | content | ) | const [virtual] |
Walk the XML tree visiting this node and all of its children.
Implements TiXmlNode.
| TiXmlNode * Clone | ( | ) | const [protected, virtual] |
| void CopyTo | ( | TiXmlText * | target | ) | const [protected] |
| bool Blank | ( | ) | const [protected] |
| void StreamIn | ( | std::istream * | in, | |
| TIXML_STRING * | tag | |||
| ) | [protected, virtual] |
Implements TiXmlNode.
friend class TiXmlElement [friend] |
Reimplemented from TiXmlNode.
bool cdata [private] |
Navigation
Home Page
Screen Shots
Developers
Documentation
Doxygen
Namespace List
Class List
Class Hierarchy
File List
Todo List
Links
SDL Library
License
SourceForge Project
Forums
Download
Regimental Command
Copyright © 2008
Randi J. Relander