XML Library
|
The XML node type used to for a comment. More...
#include <CommentNode.hpp>
Public Member Functions | |
CommentNode () | |
Default constructor. | |
CommentNode (const tstring &strComment) | |
Construction from a string comment. | |
virtual NodeType | type () const |
Get the real type of the node. | |
const tstring & | comment () const |
Get the comment. | |
void | setComment (const tstring &strComment) |
Set the comment. | |
Private Member Functions | |
virtual | ~CommentNode () |
Destructor. | |
Private Attributes | |
tstring | m_strComment |
The string comment. |
The XML node type used to for a comment.
Default constructor.
XML::CommentNode::CommentNode | ( | const tstring & | strComment | ) |
Construction from a string comment.
XML::CommentNode::~CommentNode | ( | ) | [private, virtual] |
Destructor.
NodeType XML::CommentNode::type | ( | ) | const [inline, virtual] |
Get the real type of the node.
Implements XML::Node.
const tstring & XML::CommentNode::comment | ( | ) | const [inline] |
Get the comment.
void XML::CommentNode::setComment | ( | const tstring & | strComment | ) | [inline] |
Set the comment.
tstring XML::CommentNode::m_strComment [private] |
The string comment.