|
OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
Object attribute with an `‘automatic’' scalar value. More...
#include <SAutomatic.h>


Public Member Functions | |
| SAutomatic (PtrToScalar< T > expr) | |
| Constructor. More... | |
| SAutomatic (const SAutomatic< T > &) | |
| virtual | ~SAutomatic () |
| virtual SAutomatic< T > * | clone () const |
| Make clone. More... | |
| virtual T | evaluate () |
| Evaluate. More... | |
| virtual void | invalidate () |
| Invalidate. More... | |
Public Member Functions inherited from Expressions::SDeferred< T > | |
| SDeferred (PtrToScalar< T > expr) | |
| Constructor. More... | |
| SDeferred (const SDeferred< T > &) | |
| virtual | ~SDeferred () |
| virtual SDeferred< T > * | clone () const |
| Make clone. More... | |
| virtual T | evaluate () |
| Evaluate. More... | |
| virtual bool | isExpression () const |
| Return expression flag. More... | |
| virtual void | print (std::ostream &) const |
| Print the attribute value. More... | |
Public Member Functions inherited from Expressions::SValue< T > | |
| SValue () | |
| Default constructor. More... | |
| SValue (const T &val) | |
| Constructor. More... | |
| SValue (const SValue< T > &) | |
| virtual | ~SValue () |
| virtual SValue< T > * | clone () const |
| Make clone. More... | |
| virtual T | evaluate () |
| Evaluate. More... | |
| virtual void | print (std::ostream &) const |
| Print the attribute value. More... | |
| void | print (std::ostream &os) const |
| Print value. More... | |
| void | print (std::ostream &os) const |
| Print value. More... | |
| void | print (std::ostream &os) const |
| Print value. More... | |
Public Member Functions inherited from AttributeBase | |
| AttributeBase () | |
| virtual | ~AttributeBase () |
| virtual AttributeBase * | clone () const =0 |
| Make clone. More... | |
| std::string | getImage () const |
| Convert to string. More... | |
| virtual bool | isExpression () const |
| Test for expression. More... | |
| virtual void | print (std::ostream &) const =0 |
| Print value. 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... | |
| virtual void | invalidate () |
| Force re-evaluation. More... | |
Private Member Functions | |
| SAutomatic () | |
| void | operator= (const SAutomatic< T > &) |
Private Attributes | |
| bool | is_known |
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) |
Protected Attributes inherited from Expressions::SDeferred< T > | |
| PtrToScalar< T > | expr_ptr |
| Pointer to expression. More... | |
Protected Attributes inherited from Expressions::SValue< T > | |
| T | value |
| The value of the attribute. More... | |
Object attribute with an `‘automatic’' scalar value.
Definition at line 38 of file SAutomatic.h.
|
explicit |
Constructor.
Definition at line 82 of file SAutomatic.h.
References OpalData::getInstance(), and OpalData::registerExpression().

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

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

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

|
virtual |
|
private |
|
mutableprivate |
Definition at line 67 of file SAutomatic.h.