fn:true
.
More...
#include <truecondexpression.h>
Public Member Functions | |
TrueCondExpression () | |
Constructor. | |
virtual | ~TrueCondExpression () |
void | print (OutputStream &dos) const |
bool | evalCond (OutputStream &eos, Environment *env, unsigned modus) |
fn:true
.
Represents XQuery standard function fn:true
, e.g. fn:true()
, which takes no arguments and returns the boolean value true
.
Definition at line 49 of file truecondexpression.h.
TrueCondExpression::TrueCondExpression | ( | ) |
TrueCondExpression::~TrueCondExpression | ( | ) | [virtual] |
Destructor.
Definition at line 41 of file truecondexpression.cpp.
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. |
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. |
void |
Implements Expression.
Definition at line 44 of file truecondexpression.cpp.