XML Library
Public Member Functions | Private Member Functions | Private Attributes
XML::TextNode Class Reference

The XML node type used for the text contained between other nodes. More...

#include <TextNode.hpp>

Inheritance diagram for XML::TextNode:
XML::Node

List of all members.

Public Member Functions

 TextNode ()
 Default constructor.
 TextNode (const tstring &strText)
 Construction from the text string.
virtual NodeType type () const
 Get the real type of the node.
const tstring & text () const
 Get the text string.
void setText (const tstring &strText)
 Set the text string.

Private Member Functions

virtual ~TextNode ()
 Destructor.

Private Attributes

tstring m_strText
 The text string.

Detailed Description

The XML node type used for the text contained between other nodes.


Constructor & Destructor Documentation

Default constructor.

XML::TextNode::TextNode ( const tstring &  strText)

Construction from the text string.

XML::TextNode::~TextNode ( ) [private, virtual]

Destructor.


Member Function Documentation

NodeType XML::TextNode::type ( ) const [inline, virtual]

Get the real type of the node.

Implements XML::Node.

const tstring & XML::TextNode::text ( ) const [inline]

Get the text string.

void XML::TextNode::setText ( const tstring &  strText) [inline]

Set the text string.


Member Data Documentation

tstring XML::TextNode::m_strText [private]

The text string.


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