|
OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
Object attribute with a ``deferred'' array value. More...
#include <ADeferred.h>


Public Member Functions | |
| ADeferred () | |
| Default constructor. More... | |
| ADeferred (PtrToArray< T > expr) | |
| Constructor. More... | |
| ADeferred (const std::vector< T > &val) | |
| Constructor. More... | |
| ADeferred (ArrayOfPtrs< T > expr) | |
| Constructor. More... | |
| ADeferred (const ADeferred< T > &) | |
| virtual | ~ADeferred () |
| virtual ADeferred< T > * | clone () const |
| Make clone. More... | |
| virtual std::vector< T > | evaluate () |
| Evaluate. More... | |
| virtual bool | isExpression () const |
| Get expression flag. More... | |
| virtual void | print (std::ostream &) const |
| Print the attribute value. More... | |
| void | setComponent (int i, const PtrToScalar< T > expr) |
| Set a component of the value. More... | |
Public Member Functions inherited from Expressions::AValue< T > | |
| AValue () | |
| Default constructor. More... | |
| AValue (const std::vector< T > &val) | |
| Constructor. More... | |
| AValue (const AValue &) | |
| virtual | ~AValue () |
| template<> | |
| void | print (std::ostream &os) const |
| Print value. More... | |
| template<> | |
| void | print (std::ostream &os) const |
| Print value. More... | |
| template<> | |
| void | print (std::ostream &os) const |
| Print value. More... | |
| template<> | |
| void | print (std::ostream &os) const |
| Print value. More... | |
Public Member Functions inherited from AttributeBase | |
| AttributeBase () | |
| virtual | ~AttributeBase () |
| std::string | getImage () const |
| Convert to string. More... | |
Public Member Functions inherited from RCObject | |
| int | addReference () const |
| Increment reference count. More... | |
| int | removeReference () const |
| Decrement the reference count. More... | |
| bool | isShared () const |
| Test for sharing. More... | |
Public Member Functions inherited from Invalidator | |
| virtual void | invalidate () |
| Force re-evaluation. More... | |
Protected Attributes | |
| PtrToArray< T > | itsLaw |
| The generating law for the array expression. More... | |
| ArrayOfPtrs< T > | itsOverrides |
| Overrides for single components. More... | |
Protected Attributes inherited from Expressions::AValue< T > | |
| std::vector< T > | value |
| The value of the attribute. More... | |
Private Member Functions | |
| void | operator= (const ADeferred< T > &) |
Private Attributes | |
| bool | in_evaluation |
Additional Inherited Members | |
Protected Member Functions inherited from RCObject | |
| RCObject () | |
| Default constructor. More... | |
| RCObject (const RCObject &) | |
| Copy constructor. More... | |
| virtual | ~RCObject ()=0 |
| RCObject & | operator= (const RCObject &right) |
Object attribute with a ``deferred'' array value.
Definition at line 40 of file ADeferred.h.
| Expressions::ADeferred< T >::ADeferred | ( | ) |
Default constructor.
Definition at line 107 of file ADeferred.h.
|
explicit |
Constructor.
Definition at line 137 of file ADeferred.h.
|
explicit |
Constructor.
Definition at line 128 of file ADeferred.h.
|
explicit |
Constructor.
Definition at line 146 of file ADeferred.h.
| Expressions::ADeferred< T >::ADeferred | ( | const ADeferred< T > & | rhs | ) |
Definition at line 116 of file ADeferred.h.
References Expressions::ADeferred< T >::itsOverrides.
|
virtual |
Definition at line 155 of file ADeferred.h.
|
virtual |
Make clone.
Reimplemented from Expressions::AValue< T >.
Reimplemented in Expressions::AAutomatic< T >.
Definition at line 160 of file ADeferred.h.
|
virtual |
Evaluate.
Reimplemented from Expressions::AValue< T >.
Reimplemented in Expressions::AAutomatic< T >.
Definition at line 166 of file ADeferred.h.
References ClassicException::what(), and ClassicException::where().
Referenced by Expressions::AAutomatic< T >::evaluate().

|
virtual |
|
private |
|
virtual |
Print the attribute value.
Reimplemented from Expressions::AValue< T >.
Definition at line 219 of file ADeferred.h.
| void Expressions::ADeferred< T >::setComponent | ( | int | i, |
| const PtrToScalar< T > | expr | ||
| ) |
Set a component of the value.
Definition at line 243 of file ADeferred.h.
Referenced by Attributes::BoolArray::parseComponent(), and Attributes::RealArray::parseComponent().
|
mutableprivate |
Definition at line 99 of file ADeferred.h.
|
protected |
The generating law for the array expression.
Definition at line 85 of file ADeferred.h.
|
protected |
Overrides for single components.
Definition at line 91 of file ADeferred.h.
Referenced by Expressions::ADeferred< T >::ADeferred().
1.8.5