|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Object attribute with a `‘deferred’' scalar value. More...
#include <SDeferred.h>


Public Member Functions | |
| SDeferred (PtrToScalar< T > expr) | |
| Constructor. | |
| SDeferred (const SDeferred< T > &) | |
| virtual | ~SDeferred () |
| virtual SDeferred< T > * | clone () const |
| Make clone. | |
| virtual T | evaluate () |
| Evaluate. | |
| virtual bool | isExpression () const |
| Return expression flag. | |
| virtual void | print (std::ostream &) const |
| Print the attribute value. | |
| std::string | getImage () const |
| Convert to string. | |
| virtual void | invalidate () |
| Force re-evaluation. | |
Protected Attributes | |
| PtrToScalar< T > | expr_ptr |
| Pointer to expression. | |
| T | value |
| The value of the attribute. | |
Private Member Functions | |
| SDeferred () | |
| void | operator= (const SDeferred< T > &) |
Private Attributes | |
| bool | in_evaluation |
Object attribute with a `‘deferred’' scalar value.
Definition at line 39 of file SDeferred.h.
|
explicit |
Constructor.
Definition at line 83 of file SDeferred.h.
| Expressions::SDeferred< T >::SDeferred | ( | const SDeferred< T > & | rhs | ) |
Definition at line 79 of file SDeferred.h.
|
virtual |
Definition at line 87 of file SDeferred.h.
|
private |
|
virtual |
Make clone.
Reimplemented from Expressions::SValue< T >.
Reimplemented in Expressions::SAutomatic< T >.
Definition at line 90 of file SDeferred.h.
|
virtual |
Evaluate.
Reimplemented from Expressions::SValue< T >.
Reimplemented in Expressions::SAutomatic< T >.
Definition at line 95 of file SDeferred.h.
References OpalException::what(), and OpalException::where().
Referenced by Expressions::SAutomatic< T >::evaluate().

|
inherited |
Convert to string.
Definition at line 29 of file AttributeBase.cpp.
References AttributeBase::print().

|
virtualinherited |
Force re-evaluation.
Reimplemented in Expressions::AAutomatic< T >, Expressions::SAutomatic< T >, Expressions::SRefAttr< T >, and Expressions::SRefExpr< T >.
Definition at line 25 of file Invalidator.cpp.
|
virtual |
Return expression flag.
Reimplemented from AttributeBase.
Definition at line 125 of file SDeferred.h.
|
private |
|
virtual |
Print the attribute value.
Reimplemented from Expressions::SValue< T >.
Definition at line 130 of file SDeferred.h.
|
protected |
Pointer to expression.
Definition at line 64 of file SDeferred.h.
|
mutableprivate |
Definition at line 72 of file SDeferred.h.
|
mutableprotectedinherited |