#include <commentexpression.h>
Public Member Functions | |
CommentExpression (const char *_comment) | |
Constructor. | |
virtual | ~CommentExpression () |
virtual void | print (OutputStream &dos) const |
Private Attributes | |
const char * | comment |
The entered string (comment). |
Represents an XQuery comment expression, e.g. (: foo :)
or (: (: foo :) (: bar :) :)
, which takes therefore a string as argument.
Definition at line 51 of file commentexpression.h.
CommentExpression::CommentExpression | ( | const char * | _comment | ) |
Constructor.
Constructor - creating object for a string (comment).
[in] | _comment | Pointer to a char object. |
Definition at line 38 of file commentexpression.cpp.
CommentExpression::~CommentExpression | ( | ) | [virtual] |
void CommentExpression::print | ( | OutputStream & | dos | ) | const [virtual] |
Prints the expression.
Prints the expression.
[in] | dos | Pointer to a OutputStream object. |
void |
Implements Expression.
Definition at line 48 of file commentexpression.cpp.
const char * CommentExpression::comment [private] |
The entered string (comment).
The entered string (comment), which is the argument of the constructor.
Definition at line 75 of file commentexpression.h.
Referenced by print(), and ~CommentExpression().