CondExpression Class Reference

Represents base class of all conditional expressions. More...

#include <condexpression.h>

Inheritance diagram for CondExpression:

Inheritance graph
Collaboration diagram for CondExpression:

Collaboration graph

List of all members.

Public Member Functions

 CondExpression (EXP_TYPE _type)
virtual ~CondExpression ()
virtual bool evalCond (OutputStream &eos, Environment *env, unsigned modus)=0
 Evaluates the corresponding CondExpression.

Detailed Description

Represents base class of all conditional expressions.

Represents base class of all conditional expressions.

Michael Schmidt

Gunnar Jehl

Software License Agreement (BSD License)

Definition at line 49 of file condexpression.h.

Constructor & Destructor Documentation

CondExpression::CondExpression ( EXP_TYPE  _type  ) 


Constructor - creating object for an EXP_TYPE.

[in] _type EXP_TYPE.

Definition at line 37 of file condexpression.cpp.

CondExpression::~CondExpression (  )  [virtual]


Definition at line 40 of file condexpression.cpp.

Member Function Documentation

bool CondExpression::evalCond ( OutputStream eos,
Environment env,
unsigned  modus 
) [pure 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).

Implemented in AndCondExpression, CondOperandExpression, EmptyCondExpression, ExistsCondExpression, FalseCondExpression, NotCondExpression, OrCondExpression, TrueCondExpression, and VarstepCondExpression.

Referenced by IfExpression::eval(), OrCondExpression::evalCond(), NotCondExpression::evalCond(), and AndCondExpression::evalCond().

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