TiXmlUnknown Class Reference

Any tag that tinyXml doesn't recognize is save as an unknown. More...

#include <tinyxml.h>

Inheritance diagram for TiXmlUnknown:

Inheritance graph
[legend]
Collaboration diagram for TiXmlUnknown:

Collaboration graph
[legend]

Public Member Functions

 TiXmlUnknown ()
virtual ~TiXmlUnknown ()
virtual TiXmlNode * Clone () const
virtual void Print (FILE *cfile, int depth) const
 All TinyXml classes can print themselves to a filestream.

Protected Member Functions

virtual void StreamIn (TIXML_ISTREAM *in, TIXML_STRING *tag)
virtual void StreamOut (TIXML_OSTREAM *out) const
virtual const char * Parse (const char *p)

Detailed Description

Any tag that tinyXml doesn't recognize is save 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.

Definition at line 869 of file tinyxml.h.


Constructor & Destructor Documentation

TiXmlUnknown::TiXmlUnknown (  )  [inline]

Definition at line 872 of file tinyxml.h.

Referenced by Clone().

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

Definition at line 873 of file tinyxml.h.


Member Function Documentation

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

Implements TiXmlNode.

Definition at line 1048 of file tinyxml.cpp.

References TiXmlNode::CopyToClone(), and TiXmlUnknown().

const char * TiXmlUnknown::Parse ( const char *  p  )  [protected, virtual]

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

All TinyXml classes can print themselves to a filestream.

This is a formatted print, and will insert tabs and newlines.

(For an unformatted stream, use the << operator.)

Implements TiXmlBase.

Definition at line 1036 of file tinyxml.cpp.

void TiXmlUnknown::StreamIn ( TIXML_ISTREAM *  in,
TIXML_STRING *  tag 
) [protected, virtual]

Implements TiXmlNode.

Definition at line 709 of file tinyxmlparser.cpp.

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

Implements TiXmlBase.

Definition at line 1043 of file tinyxml.cpp.


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

Generated on Sun Nov 23 04:12:57 2008 for Sofa by  doxygen 1.5.7.1