#include <tinyxml.h>
XML text. Contained in an element.
TiXmlText::TiXmlText | ( | const char * | initValue | ) | [inline] |
Constructor.
References TiXmlNode::SetValue().
Referenced by Clone().
virtual TiXmlText::~TiXmlText | ( | ) | [inline, virtual] |
TiXmlText::TiXmlText | ( | const TiXmlText & | copy | ) | [inline] |
void TiXmlText::operator= | ( | const TiXmlText & | base | ) | [inline] |
void TiXmlText::Print | ( | FILE * | cfile, | |
int | depth | |||
) | const [virtual] |
Write this text object to a FILE stream.
Implements TiXmlBase.
References TiXmlBase::PutString(), TIXML_STRING, and TiXmlNode::value.
const char * TiXmlText::Parse | ( | const char * | p, | |
TiXmlParsingData * | data, | |||
TiXmlEncoding | encoding | |||
) | [virtual] |
Implements TiXmlBase.
References TiXmlParsingData::Cursor(), TiXmlBase::location, TiXmlBase::ReadText(), TiXmlParsingData::Stamp(), and TiXmlNode::value.
Referenced by TiXmlElement::ReadValue().
TiXmlNode * TiXmlText::Clone | ( | ) | const [protected, virtual] |
[internal use] Creates a new Element and returns it.
Implements TiXmlNode.
References CopyTo(), and TiXmlText().
void TiXmlText::CopyTo | ( | TiXmlText * | target | ) | const [protected] |
void TiXmlText::StreamOut | ( | TiXmlOutStream * | out | ) | const [protected, virtual] |
Implements TiXmlBase.
References TiXmlBase::PutString(), and TiXmlNode::value.
bool TiXmlText::Blank | ( | ) | const [protected] |
References TiXmlBase::IsWhiteSpace(), TiXmlString::length(), and TiXmlNode::value.
Referenced by TiXmlElement::ReadValue().
friend class TiXmlElement [friend] |
Reimplemented from TiXmlNode.