Implementation of a binary expression. More...
#include <arcane/core/expr/WhereExpressionImpl.h>
Public Member Functions | |
| WhereExpressionImpl (IExpressionImpl *test, IExpressionImpl *iftrue, IExpressionImpl *iffalse) | |
| virtual void | assign (IExpressionImpl *) |
| virtual void | assign (IExpressionImpl *, IntegerConstArrayView) |
| virtual void | apply (ExpressionResult *result) |
| virtual Integer | vectorSize () const |
| Number of elements in the vector. | |
| Public Member Functions inherited from Arcane::ExpressionImpl | |
| virtual void | addRef () |
| virtual void | removeRef () |
| virtual void | setTrace (bool v) |
| virtual void | dumpIf (IExpressionImpl *test_expr, Array< Expression > &exprs) |
Private Attributes | |
| Expression | m_test |
| Test expression. | |
| Expression | m_iftrue |
| Expression evaluated when the test is positive. | |
| Expression | m_iffalse |
| Expression evaluated when the test is negative. | |
Additional Inherited Members | |
| Protected Member Functions inherited from Arcane::ExpressionImpl | |
| bool | isTraceMode () const |
| Protected Member Functions inherited from Arcane::IExpressionImpl | |
| virtual | ~IExpressionImpl () |
| Releases resources. Only called by a removeRef(). | |
| Protected Attributes inherited from Arcane::ExpressionImpl | |
| OperatorMng * | m_op_mng |
Implementation of a binary expression.
Definition at line 38 of file WhereExpressionImpl.h.
| Arcane::WhereExpressionImpl::WhereExpressionImpl | ( | IExpressionImpl * | test, |
| IExpressionImpl * | iftrue, | ||
| IExpressionImpl * | iffalse ) |
Definition at line 30 of file WhereExpressionImpl.cc.
|
virtual |
Implements Arcane::IExpressionImpl.
Definition at line 43 of file WhereExpressionImpl.cc.
|
inlinevirtual |
Implements Arcane::IExpressionImpl.
Definition at line 49 of file WhereExpressionImpl.h.
|
inlinevirtual |
Implements Arcane::IExpressionImpl.
Definition at line 50 of file WhereExpressionImpl.h.
|
inlinevirtual |
Number of elements in the vector.
If the expression is a vector and a terminal symbol (a leaf), it returns its number of elements. Otherwise, it returns 0.
Implements Arcane::IExpressionImpl.
Definition at line 52 of file WhereExpressionImpl.h.
|
private |
Expression evaluated when the test is negative.
Definition at line 58 of file WhereExpressionImpl.h.
|
private |
Expression evaluated when the test is positive.
Definition at line 57 of file WhereExpressionImpl.h.
|
private |
Test expression.
Definition at line 56 of file WhereExpressionImpl.h.