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

The XML node type used to for a CDATA section. More...

#include <CDataNode.hpp>

Inheritance diagram for XML::CDataNode:
XML::Node

List of all members.

Public Member Functions

 CDataNode ()
 Default constructor.
 CDataNode (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 ~CDataNode ()
 Destructor.

Private Attributes

tstring m_strText
 The text string.

Detailed Description

The XML node type used to for a CDATA section.


Constructor & Destructor Documentation

Default constructor.

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

Construction from the text string.

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

Destructor.


Member Function Documentation

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

Get the real type of the node.

Implements XML::Node.

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

Get the text string.

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

Set the text string.


Member Data Documentation

tstring XML::CDataNode::m_strText [private]

The text string.


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