LuciadCPillar 2024.0.08
|
An expression is an opaque object whose evaluation returns a value. More...
#include <luciad/expressions/Expression.h>
Public Member Functions | |
void | accept (IExpressionVisitor &visitor) const |
An expression accepts a visitor allowing to traverse the expression hierarchy. More... | |
bool | isCondition () const |
Returns whether this expression is a condition. More... | |
bool | operator!= (const Expression &other) const |
bool | operator== (const Expression &other) const |
An expression is an opaque object whose evaluation returns a value.
A condition is a case of an expression that always returns a boolean value.
void luciad::Expression::accept | ( | IExpressionVisitor & | visitor | ) | const |
An expression accepts a visitor allowing to traverse the expression hierarchy.
visitor | the visitor. |
bool luciad::Expression::isCondition | ( | ) | const |
Returns whether this expression is a condition.
This is the case when the evaluation of the expression always results in a boolean.
true
when this expression is a condition. bool luciad::Expression::operator!= | ( | const Expression & | other | ) | const |
bool luciad::Expression::operator== | ( | const Expression & | other | ) | const |