Public Member Functions | Protected Member Functions | Private Attributes | Friends
RTT::marsh::TiXmlText Class Reference

#include <tinyxml.h>

Inheritance diagram for RTT::marsh::TiXmlText:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool CDATA ()
 Queries whether this represents text using a CDATA section.
void operator= (const TiXmlText &base)
virtual const char * Parse (const char *p, TiXmlParsingData *data, TiXmlEncoding encoding)
virtual void Print (FILE *cfile, int depth) const
 Write this text object to a FILE stream.
void SetCDATA (bool _cdata)
 Turns on or off a CDATA representation of text.
 TiXmlText (const char *initValue)
 TiXmlText (const TiXmlText &copy)
virtual const TiXmlTextToText () const
 Cast to a more defined type. Will return null not of the requested type.
virtual TiXmlTextToText ()
 Cast to a more defined type. Will return null not of the requested type.
virtual ~TiXmlText ()

Protected Member Functions

bool Blank () const
virtual TiXmlNodeClone () const
 [internal use] Creates a new Element and returns it.
void CopyTo (TiXmlText *target) const
virtual void StreamOut (TIXML_OSTREAM *out) const

Private Attributes

bool cdata

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

Definition at line 1090 of file tinyxml.h.


Constructor & Destructor Documentation

RTT::marsh::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 1098 of file tinyxml.h.

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

Definition at line 1103 of file tinyxml.h.

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

Definition at line 1114 of file tinyxml.h.


Member Function Documentation

bool RTT::marsh::TiXmlText::Blank ( ) const [protected]

Definition at line 1613 of file tinyxmlparser.cpp.

bool RTT::marsh::TiXmlText::CDATA ( ) [inline]

Queries whether this represents text using a CDATA section.

Definition at line 1121 of file tinyxml.h.

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

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

Implements RTT::marsh::TiXmlNode.

Definition at line 1474 of file tinyxml.cpp.

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

Definition at line 1467 of file tinyxml.cpp.

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

Definition at line 1115 of file tinyxml.h.

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

Implements RTT::marsh::TiXmlBase.

Definition at line 1480 of file tinyxmlparser.cpp.

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

Write this text object to a FILE stream.

Implements RTT::marsh::TiXmlBase.

Definition at line 1432 of file tinyxml.cpp.

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

Turns on or off a CDATA representation of text.

Definition at line 1123 of file tinyxml.h.

void RTT::marsh::TiXmlText::StreamOut ( TIXML_OSTREAM out) const [protected, virtual]

Implements RTT::marsh::TiXmlBase.

Definition at line 1454 of file tinyxml.cpp.

virtual const TiXmlText* RTT::marsh::TiXmlText::ToText ( ) const [inline, virtual]

Cast to a more defined type. Will return null not of the requested type.

Reimplemented from RTT::marsh::TiXmlNode.

Definition at line 1127 of file tinyxml.h.

virtual TiXmlText* RTT::marsh::TiXmlText::ToText ( ) [inline, virtual]

Cast to a more defined type. Will return null not of the requested type.

Reimplemented from RTT::marsh::TiXmlNode.

Definition at line 1128 of file tinyxml.h.


Friends And Related Function Documentation

friend class TiXmlElement [friend]

Reimplemented from RTT::marsh::TiXmlNode.

Definition at line 1092 of file tinyxml.h.


Member Data Documentation

Definition at line 1143 of file tinyxml.h.


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


rtt
Author(s): RTT Developers
autogenerated on Wed Aug 26 2015 16:16:25