|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Object attribute with a constant scalar value. More...
#include <SValue.h>


Public Member Functions | |
| SValue () | |
| Default constructor. | |
| SValue (const T &val) | |
| Constructor. | |
| SValue (const SValue< T > &) | |
| virtual | ~SValue () |
| virtual SValue< T > * | clone () const |
| Make clone. | |
| virtual T | evaluate () |
| Evaluate. | |
| virtual void | print (std::ostream &) const |
| Print the attribute value. | |
| void | print (std::ostream &os) const |
| Print value. | |
| void | print (std::ostream &os) const |
| Print value. | |
| void | print (std::ostream &os) const |
| Print value. | |
| std::string | getImage () const |
| Convert to string. | |
| virtual bool | isExpression () const |
| Test for expression. | |
| virtual void | invalidate () |
| Force re-evaluation. | |
Protected Attributes | |
| T | value |
| The value of the attribute. | |
Private Member Functions | |
| void | operator= (const SValue< T > &) |
| 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 >.
Definition at line 87 of file SValue.h.
Referenced by Attributes::setBool(), Attributes::setPredefinedString(), Attributes::setReal(), Attributes::setString(), and Attributes::setUpperCaseString().
|
inherited |
Convert to string.
Definition at line 29 of file AttributeBase.cpp.
References AttributeBase::print().

|
virtualinherited |
Force re-evaluation.
Reimplemented in Expressions::AAutomatic< T >, Expressions::SAutomatic< T >, Expressions::SRefAttr< T >, and Expressions::SRefExpr< T >.
Definition at line 25 of file Invalidator.cpp.
|
virtualinherited |
Test for expression.
Reimplemented in Expressions::ADeferred< T >, and Expressions::SDeferred< T >.
Definition at line 36 of file AttributeBase.cpp.
Referenced by OpalElement::printMultipoleStrength().
|
private |
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
mutableprotected |