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


Public Member Functions | |
| SDeferred (PtrToScalar< T > expr) | |
| Constructor. More... | |
| SDeferred (const SDeferred< T > &) | |
| virtual | ~SDeferred () |
| virtual SDeferred< T > * | clone () const |
| Make clone. More... | |
| virtual T | evaluate () |
| Evaluate. More... | |
| virtual bool | isExpression () const |
| Return expression flag. More... | |
| virtual void | print (std::ostream &) const |
| Print the attribute value. More... | |
| std::string | getImage () const |
| Convert to string. More... | |
| int | addReference () const |
| Increment reference count. More... | |
| int | removeReference () const |
| Decrement the reference count. More... | |
| bool | isShared () const |
| Test for sharing. More... | |
| virtual void | invalidate () |
| Force re-evaluation. More... | |
Protected Attributes | |
| PtrToScalar< T > | expr_ptr |
| Pointer to expression. More... | |
| T | value |
| The value of the attribute. More... | |
Private Member Functions | |
| SDeferred () | |
| void | operator= (const SDeferred< T > &) |
Private Attributes | |
| bool | in_evaluation |
| int | refCount |
Object attribute with a `‘deferred’' scalar value.
Definition at line 39 of file SDeferred.h.
|
explicit |
Constructor.
Definition at line 90 of file SDeferred.h.
| Expressions::SDeferred< T >::SDeferred | ( | const SDeferred< T > & | rhs | ) |
Definition at line 84 of file SDeferred.h.
|
virtual |
Definition at line 96 of file SDeferred.h.
|
private |
|
inlineinherited |
Increment reference count.
Definition at line 83 of file RCObject.h.
References RCObject::refCount.
Referenced by Pointer< Object >::operator=(), and Pointer< Object >::unique().
|
virtual |
Make clone.
Reimplemented from Expressions::SValue< T >.
Reimplemented in Expressions::SAutomatic< T >.
Definition at line 101 of file SDeferred.h.
|
virtual |
Evaluate.
Reimplemented from Expressions::SValue< T >.
Reimplemented in Expressions::SAutomatic< T >.
Definition at line 107 of file SDeferred.h.
References OpalException::what(), and OpalException::where().
Referenced by Expressions::SAutomatic< T >::evaluate().

|
inherited |
Convert to string.
Definition at line 34 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 27 of file Invalidator.cpp.
|
virtual |
Return expression flag.
Reimplemented from AttributeBase.
Definition at line 144 of file SDeferred.h.
|
inlineinherited |
|
private |
|
virtual |
Print the attribute value.
Reimplemented from Expressions::SValue< T >.
Definition at line 150 of file SDeferred.h.
|
inlineinherited |
Decrement the reference count.
Definition at line 88 of file RCObject.h.
References RCObject::refCount.
|
protected |
Pointer to expression.
Definition at line 67 of file SDeferred.h.
|
mutableprivate |
Definition at line 76 of file SDeferred.h.
|
mutableprivateinherited |
Definition at line 76 of file RCObject.h.
Referenced by RCObject::addReference(), RCObject::isShared(), and RCObject::removeReference().
|
mutableprotectedinherited |