OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
A scalar expression. More...
#include <SHash.h>
Public Member Functions | |
SHash (const ATable &) | |
Constructor. More... | |
SHash (const SHash &) | |
virtual | ~SHash () |
virtual Scalar< double > * | clone () const |
Make clone. More... | |
virtual double | evaluate () const |
Evaluate. More... | |
virtual void | print (std::ostream &str, int precedence=99) const |
Print expression. More... | |
Public Member Functions inherited from Expressions::Scalar< double > | |
Scalar () | |
Scalar (const Scalar &) | |
virtual | ~Scalar () |
virtual Scalar< double > * | clone () const=0 |
Copy scalar expression. More... | |
virtual double | 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... | |
Private Member Functions | |
SHash () | |
void | operator= (const SHash &) |
Private Attributes | |
const ATable & | itsTable |
|
explicit |
|
private |
|
virtual |
Make clone.
Implements Expressions::Scalar< double >.
Definition at line 45 of file SHash.cpp.
References Expressions::ATable::getHash(), and itsTable.
|
virtual |
Evaluate.
Implements Expressions::Scalar< double >.
Definition at line 50 of file SHash.cpp.
References Expressions::ATable::getHash(), and itsTable.
|
private |
|
virtual |
Print expression.
Implements Expressions::Scalar< double >.
|
private |
Definition at line 66 of file SHash.h.
Referenced by clone(), and evaluate().