|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
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. | |
| int | addReference () const |
| Increment reference count. | |
| int | removeReference () const |
| Decrement the reference count. | |
| bool | isShared () const |
| Test for sharing. | |
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 |
| int | refCount |
Object attribute with an ``automatic'' array value.
Definition at line 39 of file AAutomatic.h.
|
explicit |
Constructor.
Definition at line 88 of file AAutomatic.h.
References Expressions::ADeferred< T >::ADeferred(), OpalData::getInstance(), is_known, and OpalData::registerExpression().
Referenced by AAutomatic(), clone(), and operator=().
|
explicit |
Constructor.
Definition at line 96 of file AAutomatic.h.
References Expressions::ADeferred< T >::ADeferred(), OpalData::getInstance(), is_known, and OpalData::registerExpression().
| Expressions::AAutomatic< T >::AAutomatic | ( | const AAutomatic< T > & | rhs | ) |
Definition at line 80 of file AAutomatic.h.
References AAutomatic(), Expressions::ADeferred< T >::ADeferred(), OpalData::getInstance(), is_known, and OpalData::registerExpression().
|
virtual |
Definition at line 104 of file AAutomatic.h.
References OpalData::getInstance(), and OpalData::unregisterExpression().
|
private |
|
inlineinherited |
Increment reference count.
Definition at line 83 of file RCObject.h.
References refCount.
Referenced by Pointer< Object >::operator=(), Pointer< Object >::operator=(), and Pointer< Object >::unique().
|
virtual |
Make a clone.
Reimplemented from Expressions::ADeferred< T >.
Definition at line 111 of file AAutomatic.h.
References AAutomatic().
|
virtual |
Evaluate.
Reimplemented from Expressions::ADeferred< T >.
Definition at line 117 of file AAutomatic.h.
References Expressions::ADeferred< T >::evaluate(), is_known, and Expressions::AValue< T >::value.
|
inherited |
Convert to string.
Definition at line 34 of file AttributeBase.cpp.
References print().
Referenced by Expressions::ADeferred< T >::evaluate(), Expressions::SDeferred< T >::evaluate(), and Expressions::SRefAttr< T >::evaluate().
|
virtual |
Invalidate.
Reimplemented from Invalidator.
Definition at line 128 of file AAutomatic.h.
References is_known.
|
virtualinherited |
Get expression flag.
Reimplemented from AttributeBase.
Definition at line 213 of file ADeferred.h.
References itsLaw, and itsOverrides.
|
inlineinherited |
|
private |
|
virtualinherited |
Print the attribute value.
Reimplemented from Expressions::AValue< T >.
Definition at line 219 of file ADeferred.h.
References itsLaw, and itsOverrides.
|
inlineinherited |
|
inherited |
Set a component of the value.
Definition at line 242 of file ADeferred.h.
References itsOverrides.
Referenced by Attributes::BoolArray::parseComponent(), and Attributes::RealArray::parseComponent().
|
mutableprivateinherited |
Definition at line 99 of file ADeferred.h.
Referenced by ADeferred(), ADeferred(), ADeferred(), ADeferred(), ADeferred(), and evaluate().
|
mutableprivate |
Definition at line 72 of file AAutomatic.h.
Referenced by AAutomatic(), AAutomatic(), AAutomatic(), evaluate(), and invalidate().
|
protectedinherited |
The generating law for the array expression.
Definition at line 85 of file ADeferred.h.
Referenced by ADeferred(), ADeferred(), ADeferred(), ADeferred(), ADeferred(), evaluate(), isExpression(), and print().
|
protectedinherited |
Overrides for single components.
Definition at line 91 of file ADeferred.h.
Referenced by ADeferred(), ADeferred(), ADeferred(), ADeferred(), ADeferred(), evaluate(), isExpression(), print(), and setComponent().
|
mutableprivateinherited |
Definition at line 76 of file RCObject.h.
Referenced by addReference(), isShared(), RCObject(), RCObject(), and removeReference().
|
mutableprotectedinherited |
The value of the attribute.
Definition at line 63 of file AValue.h.
Referenced by AValue(), AValue(), AValue(), clone(), Expressions::AAutomatic< T >::evaluate(), Expressions::ADeferred< T >::evaluate(), evaluate(), and print().