#include <edelib/TiXml.h>
Public Member Functions | |
TiXmlUnknown () | |
TiXmlUnknown (const TiXmlUnknown ©) | |
void | operator= (const TiXmlUnknown ©) |
virtual TiXmlNode * | Clone () const |
virtual void | Print (FILE *cfile, int depth) const |
virtual const TiXmlUnknown * | ToUnknown () const |
virtual TiXmlUnknown * | ToUnknown () |
virtual bool | Accept (TiXmlVisitor *content) 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.
TiXmlUnknown | ( | ) | [inline] |
Empty constructor
TiXmlUnknown | ( | const TiXmlUnknown & | copy | ) | [inline] |
Constructor from another TiXmlUnknown
References TiXmlNode::CopyTo().
virtual bool Accept | ( | TiXmlVisitor * | content | ) | const [virtual] |
Walk the XML tree visiting this node and all of its children.
Implements TiXmlNode.
virtual TiXmlNode* Clone | ( | ) | const [virtual] |
Creates a copy of this Unknown and returns it.
Implements TiXmlNode.
void operator= | ( | const TiXmlUnknown & | copy | ) | [inline] |
Assignement from another TiXmlNode
References TiXmlNode::CopyTo().
virtual void Print | ( | FILE * | cfile, | |
int | depth | |||
) | const [virtual] |
Print this Unknown to a FILE stream.
Implements TiXmlBase.
virtual TiXmlUnknown* ToUnknown | ( | ) | [inline, virtual] |
Cast to a more defined type. Will return null not of the requested type.
Reimplemented from TiXmlNode.
virtual const TiXmlUnknown* ToUnknown | ( | ) | const [inline, virtual] |
Cast to a more defined type. Will return null not of the requested type.
Reimplemented from TiXmlNode.