interreality.org [VOS]
[Home] [About]
[Screenshots]
[Download]
[News]
[Community]
[Documentation] [Manual]
[Bugs & Requests] [Wiki]

TiXmlText Class Reference

#include <tinyxml.hh>

Inheritance diagram for TiXmlText:

TiXmlNode TiXmlBase List of all members.

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

Definition at line 1066 of file tinyxml.hh.

Public Member Functions

Protected Member Functions

Friends


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'

Definition at line 1074 of file tinyxml.hh.

virtual TiXmlText::~TiXmlText (  )  [inline, virtual]

Definition at line 1079 of file tinyxml.hh.

TiXmlText::TiXmlText ( const std::string &  initValue  )  [inline]

Constructor.

Definition at line 1083 of file tinyxml.hh.

TiXmlText::TiXmlText ( const TiXmlText copy  )  [inline]

Definition at line 1090 of file tinyxml.hh.


Member Function Documentation

bool TiXmlText::Blank (  )  const [protected]

bool TiXmlText::CDATA (  )  [inline]

Queries whether this represents text using a CDATA section.

Definition at line 1097 of file tinyxml.hh.

virtual TiXmlNode* TiXmlText::Clone (  )  const [protected, virtual]

[internal use] Creates a new Element and returns it.

Implements TiXmlNode.

void TiXmlText::CopyTo ( TiXmlText target  )  const [protected]

Referenced by operator=(), and TiXmlText().

void TiXmlText::operator= ( const TiXmlText base  )  [inline]

Definition at line 1091 of file tinyxml.hh.

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

Implements TiXmlBase.

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

Write this text object to a FILE stream.

Implements TiXmlBase.

void TiXmlText::SetCDATA ( bool  _cdata  )  [inline]

Turns on or off a CDATA representation of text.

Definition at line 1099 of file tinyxml.hh.

virtual void TiXmlText::StreamIn ( TIXML_ISTREAM *  in,
TIXML_STRING *  tag 
) [protected, virtual]

Implements TiXmlNode.

virtual void TiXmlText::StreamOut ( TIXML_OSTREAM *  out,
int  depth 
) const [protected, virtual]

Implements TiXmlBase.


Friends And Related Function Documentation

friend class TiXmlElement [friend]

Reimplemented from TiXmlNode.

Definition at line 1068 of file tinyxml.hh.


The documentation for this class was generated from the following file: