TrueCondExpression Class Reference

Represents XQuery standard function fn:true. More...

#include <truecondexpression.h>

Inheritance diagram for TrueCondExpression:

Inheritance graph
[legend]
Collaboration diagram for TrueCondExpression:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TrueCondExpression ()
 Constructor.
virtual ~TrueCondExpression ()
void print (OutputStream &dos) const
bool evalCond (OutputStream &eos, Environment *env, unsigned modus)


Detailed Description

Represents XQuery standard function fn:true.

Represents XQuery standard function fn:true, e.g. fn:true(), which takes no arguments and returns the boolean value true.

Author:
Michael Schmidt

Gunnar Jehl

Version:
2.1
License:
Software License Agreement (BSD License)

Definition at line 49 of file truecondexpression.h.


Constructor & Destructor Documentation

TrueCondExpression::TrueCondExpression (  ) 

Constructor.

Constructor - creating object.

Definition at line 37 of file truecondexpression.cpp.

TrueCondExpression::~TrueCondExpression (  )  [virtual]

Destructor.

Definition at line 41 of file truecondexpression.cpp.


Member Function Documentation

bool TrueCondExpression::evalCond ( OutputStream eos,
Environment env,
unsigned  modus 
) [virtual]

Evaluates the corresponding CondExpression.

Evaluates the corresponding CondExpression.

Parameters:
[in] eos Pointer to a OutputStream object.
[in] env Pointer to a Environment object.
[in] modus Evaluation modus.
Return values:
bool true if the corresponding CondExpression is true, false otherwise.
Exceptions:
RuntimeException If illegal evaluation mode (argument: unsigned modus).

Implements CondExpression.

Definition at line 48 of file truecondexpression.cpp.

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

Prints the expression.

Prints the expression.

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

Implements Expression.

Definition at line 44 of file truecondexpression.cpp.


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