Implementation of a literal expression containing a scalar. More...
#include <arcane/core/expr/LitteralExpressionImpl.h>
Public Member Functions | |
| LitteralExpressionImpl (const ScalarVariant &value) | |
| 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 | |
| ScalarVariant | m_value |
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 literal expression containing a scalar.
Definition at line 40 of file LitteralExpressionImpl.h.
|
explicit |
Definition at line 29 of file LitteralExpressionImpl.cc.
|
virtual |
Implements Arcane::IExpressionImpl.
Definition at line 39 of file LitteralExpressionImpl.cc.
|
inlinevirtual |
Implements Arcane::IExpressionImpl.
Definition at line 49 of file LitteralExpressionImpl.h.
|
inlinevirtual |
Implements Arcane::IExpressionImpl.
Definition at line 50 of file LitteralExpressionImpl.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 LitteralExpressionImpl.h.
|
private |
Definition at line 56 of file LitteralExpressionImpl.h.