OPAL (Object Oriented Parallel Accelerator Library) 2022.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... | |
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... | |
![]() | |
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... | |
![]() | |
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... | |
Protected Attributes | |
T | value |
The value of the attribute. More... | |
Private Member Functions | |
void | operator= (const SValue< T > &) |
Additional Inherited Members | |
![]() | |
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::SAutomatic< T >, and Expressions::SDeferred< T >.
|
virtual |
Evaluate.
Reimplemented in Expressions::SAutomatic< T >, and Expressions::SDeferred< T >.
|
private |
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
mutableprotected |