TiXmlUnknown Class Reference

#include <tinyxml.h>

Inheritance diagram for TiXmlUnknown:

Inheritance graph
[legend]
Collaboration diagram for TiXmlUnknown:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TiXmlUnknown ()
virtual ~TiXmlUnknown ()
 TiXmlUnknown (const TiXmlUnknown &copy)
void operator= (const TiXmlUnknown &copy)
virtual TiXmlNodeClone () const
 Creates a copy of this Unknown and returns it.
virtual void Print (FILE *cfile, int depth) const
 Print this Unknown to a FILE stream.
virtual const char * Parse (const char *p, TiXmlParsingData *data, TiXmlEncoding encoding)
virtual const TiXmlUnknownToUnknown () const
 Cast to a more defined type. Will return null not of the requested type.
virtual TiXmlUnknownToUnknown ()
 Cast to a more defined type. Will return null not of the requested type.

Protected Member Functions

void CopyTo (TiXmlUnknown *target) const
virtual void StreamOut (TIXML_OSTREAM *out) const


Detailed Description

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.

Definition at line 1183 of file tinyxml.h.


Constructor & Destructor Documentation

TiXmlUnknown::TiXmlUnknown (  )  [inline]

Definition at line 1186 of file tinyxml.h.

Referenced by Clone().

virtual TiXmlUnknown::~TiXmlUnknown (  )  [inline, virtual]

Definition at line 1187 of file tinyxml.h.

TiXmlUnknown::TiXmlUnknown ( const TiXmlUnknown copy  )  [inline]

Definition at line 1189 of file tinyxml.h.

References CopyTo().


Member Function Documentation

void TiXmlUnknown::operator= ( const TiXmlUnknown copy  )  [inline]

Definition at line 1190 of file tinyxml.h.

References CopyTo().

TiXmlNode * TiXmlUnknown::Clone (  )  const [virtual]

Creates a copy of this Unknown and returns it.

Implements TiXmlNode.

Definition at line 1567 of file tinyxml.cpp.

References CopyTo(), and TiXmlUnknown().

void TiXmlUnknown::Print ( FILE *  cfile,
int  depth 
) const [virtual]

Print this Unknown to a FILE stream.

Implements TiXmlBase.

Definition at line 1547 of file tinyxml.cpp.

References TiXmlNode::value.

const char * TiXmlUnknown::Parse ( const char *  p,
TiXmlParsingData data,
TiXmlEncoding  encoding 
) [virtual]

virtual const TiXmlUnknown* TiXmlUnknown::ToUnknown (  )  const [inline, virtual]

Cast to a more defined type. Will return null not of the requested type.

Reimplemented from TiXmlNode.

Definition at line 1199 of file tinyxml.h.

virtual TiXmlUnknown* TiXmlUnknown::ToUnknown (  )  [inline, virtual]

Cast to a more defined type. Will return null not of the requested type.

Reimplemented from TiXmlNode.

Definition at line 1200 of file tinyxml.h.

void TiXmlUnknown::CopyTo ( TiXmlUnknown target  )  const [protected]

Definition at line 1561 of file tinyxml.cpp.

References TiXmlNode::CopyTo().

Referenced by Clone(), operator=(), and TiXmlUnknown().

void TiXmlUnknown::StreamOut ( TIXML_OSTREAM *  out  )  const [protected, virtual]

Implements TiXmlBase.

Definition at line 1555 of file tinyxml.cpp.

References TiXmlNode::value.


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

Generated on Tue May 22 06:00:31 2012 for cpp by  doxygen 1.5.6