#include <tinyxml.h>


Public Member Functions | |
| TiXmlComment () | |
| Constructs an empty comment. | |
| TiXmlComment (const TiXmlComment &) | |
| void | operator= (const TiXmlComment &base) |
| virtual | ~TiXmlComment () |
| virtual TiXmlNode * | Clone () const |
| Returns a copy of this Comment. | |
| virtual void | Print (FILE *cfile, int depth) const |
| Write this Comment to a FILE stream. | |
| virtual const char * | Parse (const char *p, TiXmlParsingData *data, TiXmlEncoding encoding) |
| virtual const TiXmlComment * | ToComment () const |
| Cast to a more defined type. Will return null not of the requested type. | |
| virtual TiXmlComment * | ToComment () |
| Cast to a more defined type. Will return null not of the requested type. | |
Protected Member Functions | |
| void | CopyTo (TiXmlComment *target) const |
| virtual void | StreamOut (TIXML_OSTREAM *out) const |
Definition at line 1008 of file tinyxml.h.
| TiXmlComment::TiXmlComment | ( | ) | [inline] |
| TiXmlComment::TiXmlComment | ( | const TiXmlComment & | copy | ) |
| virtual TiXmlComment::~TiXmlComment | ( | ) | [inline, virtual] |
| void TiXmlComment::operator= | ( | const TiXmlComment & | base | ) |
| TiXmlNode * TiXmlComment::Clone | ( | ) | const [virtual] |
Returns a copy of this Comment.
Implements TiXmlNode.
Definition at line 1381 of file tinyxml.cpp.
References CopyTo(), and TiXmlComment().
| void TiXmlComment::Print | ( | FILE * | cfile, | |
| int | depth | |||
| ) | const [virtual] |
Write this Comment to a FILE stream.
Implements TiXmlBase.
Definition at line 1357 of file tinyxml.cpp.
References TiXmlNode::value.
| const char * TiXmlComment::Parse | ( | const char * | p, | |
| TiXmlParsingData * | data, | |||
| TiXmlEncoding | encoding | |||
| ) | [virtual] |
Implements TiXmlBase.
Definition at line 1300 of file tinyxmlparser.cpp.
References TiXmlParsingData::Cursor(), TiXmlNode::GetDocument(), TiXmlBase::location, TiXmlBase::ReadText(), TiXmlDocument::SetError(), TiXmlBase::SkipWhiteSpace(), TiXmlParsingData::Stamp(), TiXmlBase::StringEqual(), TiXmlBase::TIXML_ERROR_PARSING_COMMENT, and TiXmlNode::value.
| virtual const TiXmlComment* TiXmlComment::ToComment | ( | ) | const [inline, virtual] |
| virtual TiXmlComment* TiXmlComment::ToComment | ( | ) | [inline, virtual] |
| void TiXmlComment::CopyTo | ( | TiXmlComment * | target | ) | const [protected] |
Definition at line 1375 of file tinyxml.cpp.
References TiXmlNode::CopyTo().
Referenced by Clone(), operator=(), and TiXmlComment().
| void TiXmlComment::StreamOut | ( | TIXML_OSTREAM * | out | ) | const [protected, virtual] |
1.5.6