TiXmlText Class Reference

XML text. More...

#include <tinyxml.h>

Inheritance diagram for TiXmlText:

Inheritance graph
[legend]
Collaboration diagram for TiXmlText:

Collaboration graph
[legend]

Public Member Functions

 TiXmlText (const char *initValue)
 Constructor.
virtual ~TiXmlText ()
 TiXmlText (const std::string &initValue)
 Constructor.

Protected Member Functions

virtual TiXmlNode * Clone () const
virtual void Print (FILE *cfile, int depth) const
 All TinyXml classes can print themselves to a filestream.
virtual void StreamOut (TIXML_OSTREAM *out) const
bool Blank () const
virtual const char * Parse (const char *p)
virtual void StreamIn (TIXML_ISTREAM *in, TIXML_STRING *tag)

Friends

class TiXmlElement

Detailed Description

XML text.

Contained in an element.

Definition at line 754 of file tinyxml.h.


Constructor & Destructor Documentation

TiXmlText::TiXmlText ( const char *  initValue  )  [inline]

Constructor.

Definition at line 759 of file tinyxml.h.

References TiXmlNode::SetValue().

Referenced by Clone().

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

Definition at line 763 of file tinyxml.h.

TiXmlText::TiXmlText ( const std::string &  initValue  )  [inline]

Constructor.

Definition at line 767 of file tinyxml.h.

References TiXmlNode::SetValue().


Member Function Documentation

bool TiXmlText::Blank (  )  const [protected]

Definition at line 958 of file tinyxmlparser.cpp.

References TiXmlNode::value.

Referenced by TiXmlElement::ReadValue().

TiXmlNode * TiXmlText::Clone (  )  const [protected, virtual]

Implements TiXmlNode.

Definition at line 959 of file tinyxml.cpp.

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

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

Implements TiXmlBase.

Definition at line 866 of file tinyxmlparser.cpp.

References TiXmlBase::ReadText(), and TiXmlNode::value.

Referenced by TiXmlElement::ReadValue().

void TiXmlText::Print ( FILE *  cfile,
int  depth 
) const [protected, 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 945 of file tinyxml.cpp.

References TiXmlBase::PutString(), and TIXML_STRING.

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

Implements TiXmlNode.

Definition at line 852 of file tinyxmlparser.cpp.

Referenced by TiXmlElement::StreamIn().

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

Implements TiXmlBase.

Definition at line 953 of file tinyxml.cpp.

References TiXmlBase::PutString().


Friends And Related Function Documentation

friend class TiXmlElement [friend]

Reimplemented from TiXmlNode.

Definition at line 756 of file tinyxml.h.


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