#include <tinyxml.h>
Public Member Functions | |
virtual TiXmlNode * | Clone () const |
Creates a copy of this Unknown and returns it. | |
void | operator= (const TiXmlUnknown ©) |
virtual const char * | Parse (const char *p, TiXmlParsingData *data, TiXmlEncoding encoding) |
virtual void | Print (FILE *cfile, int depth) const |
Print this Unknown to a FILE stream. | |
TiXmlUnknown () | |
TiXmlUnknown (const TiXmlUnknown ©) | |
virtual const TiXmlUnknown * | ToUnknown () const |
Cast to a more defined type. Will return null not of the requested type. | |
virtual TiXmlUnknown * | ToUnknown () |
Cast to a more defined type. Will return null not of the requested type. | |
virtual | ~TiXmlUnknown () |
Protected Member Functions | |
void | CopyTo (TiXmlUnknown *target) const |
virtual void | StreamOut (TIXML_OSTREAM *out) const |
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.
RTT::marsh::TiXmlUnknown::TiXmlUnknown | ( | ) | [inline] |
virtual RTT::marsh::TiXmlUnknown::~TiXmlUnknown | ( | ) | [inline, virtual] |
RTT::marsh::TiXmlUnknown::TiXmlUnknown | ( | const TiXmlUnknown & | copy | ) | [inline] |
TiXmlNode * RTT::marsh::TiXmlUnknown::Clone | ( | ) | const [virtual] |
Creates a copy of this Unknown and returns it.
Implements RTT::marsh::TiXmlNode.
Definition at line 1606 of file tinyxml.cpp.
void RTT::marsh::TiXmlUnknown::CopyTo | ( | TiXmlUnknown * | target | ) | const [protected] |
Definition at line 1600 of file tinyxml.cpp.
void RTT::marsh::TiXmlUnknown::operator= | ( | const TiXmlUnknown & | copy | ) | [inline] |
const char * RTT::marsh::TiXmlUnknown::Parse | ( | const char * | p, |
TiXmlParsingData * | data, | ||
TiXmlEncoding | encoding | ||
) | [virtual] |
Implements RTT::marsh::TiXmlBase.
Definition at line 1279 of file tinyxmlparser.cpp.
void RTT::marsh::TiXmlUnknown::Print | ( | FILE * | cfile, |
int | depth | ||
) | const [virtual] |
Print this Unknown to a FILE stream.
Implements RTT::marsh::TiXmlBase.
Definition at line 1586 of file tinyxml.cpp.
void RTT::marsh::TiXmlUnknown::StreamOut | ( | TIXML_OSTREAM * | out | ) | const [protected, virtual] |
Implements RTT::marsh::TiXmlBase.
Definition at line 1594 of file tinyxml.cpp.
virtual const TiXmlUnknown* RTT::marsh::TiXmlUnknown::ToUnknown | ( | ) | const [inline, virtual] |
Cast to a more defined type. Will return null not of the requested type.
Reimplemented from RTT::marsh::TiXmlNode.
virtual TiXmlUnknown* RTT::marsh::TiXmlUnknown::ToUnknown | ( | ) | [inline, virtual] |
Cast to a more defined type. Will return null not of the requested type.
Reimplemented from RTT::marsh::TiXmlNode.