|
OPAL (Object Oriented Parallel Accelerator Library)
2024.1
OPAL
|
Object attribute with a constant scalar value. More...
#include <SValue.h>


Public Member Functions | |
| 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... | |
| 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... | |
| virtual bool | isExpression () const |
| Test for expression. 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 | |
| T | value |
| The value of the attribute. More... | |
Private Member Functions | |
| void | operator= (const SValue< T > &) |
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 constant scalar value.
| Expressions::SValue< T >::SValue | ( | ) |
|
explicit |
| Expressions::SValue< T >::SValue | ( | const SValue< T > & | rhs | ) |
|
virtual |
|
virtual |
Make clone.
Implements AttributeBase.
Reimplemented in Expressions::SDeferred< T >, and Expressions::SAutomatic< T >.
|
virtual |
Evaluate.
Reimplemented in Expressions::SDeferred< T >, and Expressions::SAutomatic< T >.
Definition at line 104 of file SValue.h.
Referenced by Attributes::setBool(), Attributes::setPredefinedString(), Attributes::setReal(), Attributes::setString(), and Attributes::setUpperCaseString().
|
private |
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
mutableprotected |
1.8.5