TiXmlUnknown Class Reference

Unknown XML element. More...

#include <edelib/TiXml.h>

Inheritance diagram for TiXmlUnknown:
TiXmlNode TiXmlBase

List of all members.

Public Member Functions

 TiXmlUnknown ()
 TiXmlUnknown (const TiXmlUnknown &copy)
void operator= (const TiXmlUnknown &copy)
virtual TiXmlNodeClone () const
virtual void Print (FILE *cfile, int depth) const
virtual const TiXmlUnknownToUnknown () const
virtual TiXmlUnknownToUnknown ()
virtual bool Accept (TiXmlVisitor *content) const

Detailed Description

Unknown XML element.

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.


Constructor & Destructor Documentation

TiXmlUnknown (  )  [inline]

Empty constructor

TiXmlUnknown ( const TiXmlUnknown copy  )  [inline]

Constructor from another TiXmlUnknown

References TiXmlNode::CopyTo().


Member Function Documentation

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

Reimplemented from 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.


The documentation for this class was generated from the following file:

Generated on 23 May 2013 for edelib by  doxygen 1.6.1