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


Public Member Functions | |
| SAutomatic (PtrToScalar< T > expr) | |
| Constructor. More... | |
| SAutomatic (const SAutomatic< T > &) | |
| virtual | ~SAutomatic () |
| virtual SAutomatic< T > * | clone () const |
| Make clone. More... | |
| virtual T | evaluate () |
| Evaluate. More... | |
| virtual void | invalidate () |
| Invalidate. 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... | |
Protected Attributes | |
| PtrToScalar< T > | expr_ptr |
| Pointer to expression. More... | |
| T | value |
| The value of the attribute. More... | |
Private Member Functions | |
| SAutomatic () | |
| void | operator= (const SAutomatic< T > &) |
Private Attributes | |
| bool | is_known |
| bool | in_evaluation |
| int | refCount |
Object attribute with an `‘automatic’' scalar value.
Definition at line 38 of file SAutomatic.h.
|
explicit |
Constructor.
Definition at line 82 of file SAutomatic.h.
References OpalData::getInstance(), and OpalData::registerExpression().

| Expressions::SAutomatic< T >::SAutomatic | ( | const SAutomatic< T > & | rhs | ) |
Definition at line 75 of file SAutomatic.h.
References OpalData::getInstance(), and OpalData::registerExpression().

|
virtual |
Definition at line 89 of file SAutomatic.h.
References OpalData::getInstance(), and OpalData::unregisterExpression().

|
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::SDeferred< T >.
Definition at line 96 of file SAutomatic.h.
|
virtual |
Evaluate.
Reimplemented from Expressions::SDeferred< T >.
Definition at line 102 of file SAutomatic.h.
References Expressions::SDeferred< T >::evaluate().

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

|
virtual |
|
virtualinherited |
Return expression flag.
Reimplemented from AttributeBase.
Definition at line 144 of file SDeferred.h.
|
inlineinherited |
|
private |
|
virtualinherited |
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.
|
protectedinherited |
Pointer to expression.
Definition at line 67 of file SDeferred.h.
|
mutableprivateinherited |
Definition at line 76 of file SDeferred.h.
|
mutableprivate |
Definition at line 67 of file SAutomatic.h.
|
mutableprivateinherited |
Definition at line 76 of file RCObject.h.
Referenced by RCObject::addReference(), RCObject::isShared(), and RCObject::removeReference().
|
mutableprotectedinherited |