OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
An expression defined as a reference to an array. More...
#include <ARefExpr.h>
Public Member Functions | |
ARefExpr (const std::string &objName, const std::string &attName) | |
Constructor. More... | |
ARefExpr (const ARefExpr< T > &rhs) | |
virtual | ~ARefExpr () |
virtual OArray< T > * | clone () const |
Make clone. More... | |
virtual std::vector< T > | evaluate () const |
Evaluate the reference and return the value referred to. More... | |
virtual void | print (std::ostream &os, int precedence=99) const |
Print expression. More... | |
Public Member Functions inherited from Expressions::OArray< T > | |
OArray () | |
OArray (const OArray &) | |
virtual | ~OArray () |
virtual OArray< T > * | clone () const =0 |
Copy expression. More... | |
virtual std::vector< T > | evaluate () const =0 |
Evaluate. More... | |
virtual bool | isConstant () const |
Test for constant. More... | |
virtual void | print (std::ostream &, int precedence=99) const =0 |
Print expression. More... | |
Public Member Functions inherited from Invalidator | |
virtual void | invalidate () |
Force re-evaluation. More... | |
Private Member Functions | |
void | operator= (const ARefExpr &) |
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 an array.
Definition at line 42 of file ARefExpr.h.
Expressions::ARefExpr< T >::ARefExpr | ( | const std::string & | objName, |
const std::string & | attName | ||
) |
Constructor.
Definition at line 88 of file ARefExpr.h.
Expressions::ARefExpr< T >::ARefExpr | ( | const ARefExpr< T > & | rhs | ) |
Definition at line 96 of file ARefExpr.h.
|
virtual |
Definition at line 104 of file ARefExpr.h.
|
virtual |
|
inlinevirtual |
Evaluate the reference and return the value referred to.
Implements Expressions::OArray< T >.
Definition at line 116 of file ARefExpr.h.
|
private |
Definition at line 151 of file ARefExpr.h.
References OpalData::find(), and OpalData::getInstance().
|
private |
Definition at line 135 of file ARefExpr.h.
|
private |
|
virtual |
|
private |
Definition at line 76 of file ARefExpr.h.
|
mutableprivate |
Definition at line 80 of file ARefExpr.h.
|
mutableprivate |
Definition at line 79 of file ARefExpr.h.
|
private |
Definition at line 75 of file ARefExpr.h.