OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
An expression defined as a reference to a scalar. More...
#include <SRefExpr.h>
Public Member Functions | |
SRefExpr (const std::string &objName, const std::string &attName) | |
Constructor. More... | |
SRefExpr (const SRefExpr< T > &rhs) | |
virtual | ~SRefExpr () |
virtual Scalar< T > * | clone () const |
Make clone. More... | |
virtual T | evaluate () const |
Evaluate. More... | |
virtual void | invalidate () |
Invalidate. More... | |
virtual void | print (std::ostream &os, int precedence=99) const |
Print expression. More... | |
Public Member Functions inherited from Expressions::Scalar< T > | |
Scalar () | |
Scalar (const Scalar &) | |
virtual | ~Scalar () |
virtual bool | isConstant () const |
Test for constant. More... | |
Private Member Functions | |
void | operator= (const SRefExpr &) |
void | fill () const |
const std::string | getImage () const |
Private Attributes | |
const std::string | obj_name |
const std::string | att_name |
Object * | itsObject |
Attribute * | itsAttr |
An expression defined as a reference to a scalar.
Definition at line 41 of file SRefExpr.h.
Expressions::SRefExpr< T >::SRefExpr | ( | const std::string & | objName, |
const std::string & | attName | ||
) |
Constructor.
Definition at line 91 of file SRefExpr.h.
Expressions::SRefExpr< T >::SRefExpr | ( | const SRefExpr< T > & | rhs | ) |
Definition at line 99 of file SRefExpr.h.
|
virtual |
Definition at line 107 of file SRefExpr.h.
|
virtual |
|
inlinevirtual |
Evaluate.
Implements Expressions::Scalar< T >.
Definition at line 119 of file SRefExpr.h.
References Attrib::Legacy::Distribution::T.
|
private |
Definition at line 160 of file SRefExpr.h.
References OpalData::find(), and OpalData::getInstance().
|
private |
Definition at line 136 of file SRefExpr.h.
|
virtual |
|
private |
|
virtual |
|
private |
Definition at line 79 of file SRefExpr.h.
|
mutableprivate |
Definition at line 83 of file SRefExpr.h.
|
mutableprivate |
Definition at line 82 of file SRefExpr.h.
|
private |
Definition at line 78 of file SRefExpr.h.