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


Public Member Functions | |
| SAutomatic (PtrToScalar< T > expr) | |
| Constructor. | |
| SAutomatic (const SAutomatic< T > &) | |
| virtual | ~SAutomatic () |
| virtual SAutomatic< T > * | clone () const |
| Make clone. | |
| virtual T | evaluate () |
| Evaluate. | |
| virtual void | invalidate () |
| Invalidate. | |
| virtual bool | isExpression () const |
| Return expression flag. | |
| virtual void | print (std::ostream &) const |
| Print the attribute value. | |
| std::string | getImage () const |
| Convert to string. | |
Protected Attributes | |
| PtrToScalar< T > | expr_ptr |
| Pointer to expression. | |
| T | value |
| The value of the attribute. | |
Private Member Functions | |
| SAutomatic () | |
| void | operator= (const SAutomatic< T > &) |
Private Attributes | |
| bool | is_known |
| bool | in_evaluation |
Object attribute with an `‘automatic’' scalar value.
Definition at line 38 of file SAutomatic.h.
|
explicit |
Constructor.
Definition at line 76 of file SAutomatic.h.
References OpalData::getInstance(), and OpalData::registerExpression().

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

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

|
private |
|
virtual |
Make clone.
Reimplemented from Expressions::SDeferred< T >.
Definition at line 87 of file SAutomatic.h.
|
virtual |
Evaluate.
Reimplemented from Expressions::SDeferred< T >.
Definition at line 92 of file SAutomatic.h.
References Expressions::SDeferred< T >::evaluate().

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

|
virtual |
|
virtualinherited |
Return expression flag.
Reimplemented from AttributeBase.
Definition at line 125 of file SDeferred.h.
|
private |
|
virtualinherited |
Print the attribute value.
Reimplemented from Expressions::SValue< T >.
Definition at line 130 of file SDeferred.h.
|
protectedinherited |
Pointer to expression.
Definition at line 64 of file SDeferred.h.
|
mutableprivateinherited |
Definition at line 72 of file SDeferred.h.
|
mutableprivate |
Definition at line 64 of file SAutomatic.h.
|
mutableprotectedinherited |