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


Public Member Functions | |
| ADeferred () | |
| Default constructor. | |
| ADeferred (PtrToArray< T > expr) | |
| Constructor. | |
| ADeferred (const std::vector< T > &val) | |
| Constructor. | |
| ADeferred (ArrayOfPtrs< T > expr) | |
| Constructor. | |
| ADeferred (const ADeferred< T > &) | |
| virtual | ~ADeferred () |
| virtual ADeferred< T > * | clone () const |
| Make clone. | |
| virtual std::vector< T > | evaluate () |
| Evaluate. | |
| virtual bool | isExpression () const |
| Get expression flag. | |
| virtual void | print (std::ostream &) const |
| Print the attribute value. | |
| void | setComponent (int i, const PtrToScalar< T > expr) |
| Set a component of the value. | |
| std::string | getImage () const |
| Convert to string. | |
| virtual void | invalidate () |
| Force re-evaluation. | |
Protected Attributes | |
| PtrToArray< T > | itsLaw |
| The generating law for the array expression. | |
| ArrayOfPtrs< T > | itsOverrides |
| Overrides for single components. | |
| std::vector< T > | value |
| The value of the attribute. | |
Private Member Functions | |
| void | operator= (const ADeferred< T > &) |
Private Attributes | |
| bool | in_evaluation |
Object attribute with a `‘deferred’' array value.
Definition at line 40 of file ADeferred.h.
| Expressions::ADeferred< T >::ADeferred | ( | ) |
Default constructor.
Definition at line 102 of file ADeferred.h.
|
explicit |
Constructor.
Definition at line 120 of file ADeferred.h.
|
explicit |
Constructor.
Definition at line 116 of file ADeferred.h.
|
explicit |
Constructor.
Definition at line 124 of file ADeferred.h.
| Expressions::ADeferred< T >::ADeferred | ( | const ADeferred< T > & | rhs | ) |
Definition at line 105 of file ADeferred.h.
References Expressions::ADeferred< T >::itsOverrides.
|
virtual |
Definition at line 128 of file ADeferred.h.
|
virtual |
Make clone.
Reimplemented from Expressions::AValue< T >.
Reimplemented in Expressions::AAutomatic< T >.
Definition at line 131 of file ADeferred.h.
|
virtual |
Evaluate.
Reimplemented from Expressions::AValue< T >.
Reimplemented in Expressions::AAutomatic< T >.
Definition at line 136 of file ADeferred.h.
References OpalException::what(), and OpalException::where().
Referenced by Expressions::AAutomatic< 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 |
|
private |
|
virtual |
Print the attribute value.
Reimplemented from Expressions::AValue< T >.
Definition at line 181 of file ADeferred.h.
| void Expressions::ADeferred< T >::setComponent | ( | int | i, |
| const PtrToScalar< T > | expr | ||
| ) |
Set a component of the value.
Definition at line 203 of file ADeferred.h.
Referenced by Attributes::BoolArray::parseComponent(), and Attributes::RealArray::parseComponent().
|
mutableprivate |
Definition at line 95 of file ADeferred.h.
|
protected |
The generating law for the array expression.
Definition at line 82 of file ADeferred.h.
|
protected |
Overrides for single components.
Definition at line 88 of file ADeferred.h.
Referenced by Expressions::ADeferred< T >::ADeferred().
|
mutableprotectedinherited |