Interface for the different implementations of an expression. More...
#include <arcane/core/expr/IExpressionImpl.h>
Public Member Functions | |
| virtual void | assign (IExpressionImpl *expr)=0 |
| virtual void | assign (IExpressionImpl *expr, IntegerConstArrayView indices)=0 |
| virtual Integer | vectorSize () const =0 |
| Number of elements in the vector. | |
| virtual void | dumpIf (IExpressionImpl *test_expr, Array< Expression > &exprs)=0 |
| virtual void | apply (ExpressionResult *result)=0 |
| virtual void | addRef ()=0 |
| virtual void | removeRef ()=0 |
| virtual void | setTrace (bool v)=0 |
Protected Member Functions | |
| virtual | ~IExpressionImpl () |
| Releases resources. Only called by a removeRef(). | |
Interface for the different implementations of an expression.
Definition at line 37 of file IExpressionImpl.h.
|
inlineprotectedvirtual |
Releases resources. Only called by a removeRef().
Definition at line 42 of file IExpressionImpl.h.
|
pure virtual |
Implemented in Arcane::ExpressionImpl.
|
pure virtual |
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.
Implemented in Arcane::ArrayExpressionImpl, Arcane::BinaryExpressionImpl, Arcane::LitteralExpressionImpl, Arcane::UnaryExpressionImpl, and Arcane::WhereExpressionImpl.
Referenced by Arcane::ExpressionImpl::dumpIf().