XML Library
|
The XML node type used for the text contained between other nodes. More...
#include <TextNode.hpp>
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. |
The XML node type used for the text contained between other nodes.
Default constructor.
XML::TextNode::TextNode | ( | const tstring & | strText | ) |
Construction from the text string.
XML::TextNode::~TextNode | ( | ) | [private, virtual] |
Destructor.
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.
tstring XML::TextNode::m_strText [private] |
The text string.