#include <tinyxml.h>
Any tag that tinyXml doesn't recognize is saved as an unknown. It is a tag of text, but should not be modified. It will be written back to the XML, unchanged, when the file is saved.
DTD tags get thrown into TiXmlUnknowns.
TiXmlUnknown::TiXmlUnknown | ( | ) | [inline] |
virtual TiXmlUnknown::~TiXmlUnknown | ( | ) | [inline, virtual] |
TiXmlUnknown::TiXmlUnknown | ( | const TiXmlUnknown & | copy | ) | [inline] |
void TiXmlUnknown::operator= | ( | const TiXmlUnknown & | copy | ) | [inline] |
TiXmlNode * TiXmlUnknown::Clone | ( | ) | const [virtual] |
Creates a copy of this Unknown and returns it.
Implements TiXmlNode.
References CopyTo(), and TiXmlUnknown().
void TiXmlUnknown::Print | ( | FILE * | cfile, | |
int | depth | |||
) | const [virtual] |
Print this Unknown to a FILE stream.
Implements TiXmlBase.
References TiXmlString::c_str(), and TiXmlNode::value.
const char * TiXmlUnknown::Parse | ( | const char * | p, | |
TiXmlParsingData * | data, | |||
TiXmlEncoding | encoding | |||
) | [virtual] |
Implements TiXmlBase.
References TiXmlParsingData::Cursor(), TiXmlNode::GetDocument(), TiXmlBase::location, TiXmlDocument::SetError(), TiXmlBase::SkipWhiteSpace(), TiXmlParsingData::Stamp(), TiXmlBase::TIXML_ERROR_PARSING_UNKNOWN, and TiXmlNode::value.
void TiXmlUnknown::CopyTo | ( | TiXmlUnknown * | target | ) | const [protected] |
void TiXmlUnknown::StreamOut | ( | TiXmlOutStream * | out | ) | const [protected, virtual] |
Implements TiXmlBase.
References TiXmlNode::value.