CommentExpression Class Reference

Represents an XQuery comment expression. More...

#include <commentexpression.h>

Inheritance diagram for CommentExpression:

Inheritance graph
Collaboration diagram for CommentExpression:

Collaboration graph

List of all members.

Public Member Functions

 CommentExpression (const char *_comment)
virtual ~CommentExpression ()
virtual void print (OutputStream &dos) const

Private Attributes

const char * comment
 The entered string (comment).

Detailed Description

Represents an XQuery comment expression.

Represents an XQuery comment expression, e.g. (: foo :) or (: (: foo :) (: bar :) :), which takes therefore a string as argument.

Currently comment expressions are only supported in front of a query and not inside a query!
Michael Schmidt

Gunnar Jehl

Software License Agreement (BSD License)

Definition at line 51 of file commentexpression.h.

Constructor & Destructor Documentation

CommentExpression::CommentExpression ( const char *  _comment  ) 


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]


Definition at line 42 of file commentexpression.cpp.

References comment.

Member Function Documentation

void CommentExpression::print ( OutputStream dos  )  const [virtual]

Prints the expression.

Prints the expression.

[in] dos Pointer to a OutputStream object.
Return values:

Implements Expression.

Definition at line 48 of file commentexpression.cpp.

References comment, and NEWLINE.

Member Data Documentation

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().

Generated on Sun May 24 20:20:21 2009 for G(arbage) C(ollected) X(Query) Engine by  doxygen 1.5.9