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

The XML node type used to for a comment. More...

#include <CommentNode.hpp>

Inheritance diagram for XML::CommentNode:
XML::Node

List of all members.

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.

Detailed Description

The XML node type used to for a comment.


Constructor & Destructor Documentation

Default constructor.

XML::CommentNode::CommentNode ( const tstring &  strComment)

Construction from a string comment.

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

Destructor.


Member Function Documentation

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.


Member Data Documentation

tstring XML::CommentNode::m_strComment [private]

The string comment.


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