TrueCondExpression Class Reference

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

#include <truecondexpression.h>

Inheritance diagram for TrueCondExpression:

Inheritance graph
Collaboration diagram for TrueCondExpression:

Collaboration graph

List of all members.

Public Member Functions

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

Michael Schmidt

Gunnar Jehl

Software License Agreement (BSD License)

Definition at line 49 of file truecondexpression.h.

Constructor & Destructor Documentation

TrueCondExpression::TrueCondExpression (  ) 


Constructor - creating object.

Definition at line 37 of file truecondexpression.cpp.

TrueCondExpression::~TrueCondExpression (  )  [virtual]


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.

[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.
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.

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

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