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


Public Member Functions | |
| AAutomatic (PtrToArray< T > expr) | |
| Constructor. | |
| AAutomatic (ArrayOfPtrs< T > expr) | |
| Constructor. | |
| AAutomatic (const AAutomatic &) | |
| virtual | ~AAutomatic () |
| virtual AAutomatic< T > * | clone () const |
| Make a clone. | |
| virtual std::vector< T > | evaluate () |
| Evaluate. | |
| virtual void | invalidate () |
| Invalidate. | |
| 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. | |
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 | |
| AAutomatic () | |
| void | operator= (const AAutomatic &) |
Private Attributes | |
| bool | is_known |
| bool | in_evaluation |
Object attribute with an `‘automatic’' array value.
Definition at line 38 of file AAutomatic.h.
|
explicit |
Constructor.
Definition at line 80 of file AAutomatic.h.
References OpalData::getInstance(), and OpalData::registerExpression().

|
explicit |
Constructor.
Definition at line 85 of file AAutomatic.h.
References OpalData::getInstance(), and OpalData::registerExpression().

| Expressions::AAutomatic< T >::AAutomatic | ( | const AAutomatic< T > & | ) |
|
virtual |
Definition at line 90 of file AAutomatic.h.
References OpalData::getInstance(), and OpalData::unregisterExpression().

|
private |
|
virtual |
Make a clone.
Reimplemented from Expressions::ADeferred< T >.
Definition at line 96 of file AAutomatic.h.
|
virtual |
Evaluate.
Reimplemented from Expressions::ADeferred< T >.
Definition at line 101 of file AAutomatic.h.
References Expressions::ADeferred< T >::evaluate().

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

|
virtual |
|
virtualinherited |
|
private |
|
virtualinherited |
Print the attribute value.
Reimplemented from Expressions::AValue< T >.
Definition at line 181 of file ADeferred.h.
|
inherited |
Set a component of the value.
Definition at line 203 of file ADeferred.h.
Referenced by Attributes::BoolArray::parseComponent(), and Attributes::RealArray::parseComponent().
|
mutableprivateinherited |
Definition at line 95 of file ADeferred.h.
|
mutableprivate |
Definition at line 68 of file AAutomatic.h.
|
protectedinherited |
The generating law for the array expression.
Definition at line 82 of file ADeferred.h.
|
protectedinherited |
Overrides for single components.
Definition at line 88 of file ADeferred.h.
Referenced by Expressions::ADeferred< T >::ADeferred().
|
mutableprotectedinherited |