TiXmlText Class Reference
#include <tinyxml.hh>
Inheritance diagram for TiXmlText:

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
- TiXmlText (const char *initValue)
- virtual ~TiXmlText ()
- TiXmlText (const std::string &initValue)
- TiXmlText (const TiXmlText ©)
- void operator= (const TiXmlText &base)
- virtual void Print (FILE *cfile, int depth) const
- bool CDATA ()
- void SetCDATA (bool _cdata)
- virtual const char * Parse (const char *p, TiXmlParsingData *data, TiXmlEncoding encoding)
Protected Member Functions
- virtual TiXmlNode * Clone () const
- void CopyTo (TiXmlText *target) const
- virtual void StreamOut (TIXML_OSTREAM *out, int depth) const
- bool Blank () const
- virtual void StreamIn (TIXML_ISTREAM *in, TIXML_STRING *tag)
Friends
- class TiXmlElement
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] |
| 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] |
| 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] |
| void TiXmlText::SetCDATA | ( | bool | _cdata | ) | [inline] |
| 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] |
The documentation for this class was generated from the following file:
- /home/tetron/hack/vos/libs/vos/vutil/tinyxml.hh