decXmlComment Class Reference

XML Comment. More...

#include <decXmlComment.h>

Inheritance diagram for decXmlComment:
decXmlElement

List of all members.

Public Member Functions

Constructors and Destructors
 decXmlComment (const char *comment)
 Creates a new xml comment.
 ~decXmlComment ()
 Cleans up the xml comment.
Management
const char * GetComment () const
void SetComment (const char *comment)
Visiting
void Visit (decXmlVisitor *visitor)
 Visits this node.
Casting
virtual bool CanCastToComment ()
 Determines if this element can be cast to decXmlComment which is by default false.
virtual decXmlCommentCastToComment ()
 Safely casts this element to decXmlComment or throwns an exception otherwise.

Detailed Description

XML Comment.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

decXmlComment::decXmlComment ( const char *  comment )

Creates a new xml comment.

decXmlComment::~decXmlComment (  )

Cleans up the xml comment.


Member Function Documentation

virtual bool decXmlComment::CanCastToComment (  ) [virtual]

Determines if this element can be cast to decXmlComment which is by default false.

Reimplemented from decXmlElement.

virtual decXmlComment* decXmlComment::CastToComment (  ) [virtual]

Safely casts this element to decXmlComment or throwns an exception otherwise.

Reimplemented from decXmlElement.

const char* decXmlComment::GetComment (  ) const [inline]
void decXmlComment::SetComment ( const char *  comment )
void decXmlComment::Visit ( decXmlVisitor visitor ) [virtual]

Visits this node.

Reimplemented from decXmlElement.


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