TiXmlText Class Reference

#include <tinyxml.h>

Inheritance diagram for TiXmlText:

TiXmlNode TiXmlBase List of all members.

Public Member Functions

 TiXmlText (const char *initValue)
virtual void Print (FILE *cfile, int depth) const
 Write this text object to a FILE stream.
bool CDATA ()
 Queries whether this represents text using a CDATA section.
void SetCDATA (bool _cdata)
 Turns on or off a CDATA representation of text.

Protected Member Functions

virtual TiXmlNodeClone () const
 [internal use] Creates a new Element and returns it.

Friends

class TiXmlElement

Detailed Description

XML text. 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().


Constructor & Destructor Documentation

TiXmlText::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'


The documentation for this class was generated from the following files:
Generated on Sun Jan 14 16:49:11 2007 for Propane Injector by  doxygen 1.4.6