|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
|
A scalar expression referring to a table cell. More...
#include <SCell.h>
Public Member Functions | |
| SCell (const std::string &tab, const PlaceRep &place, const std::string &col) | |
| Constructor. | |
| virtual | ~SCell () |
| virtual Scalar< double > * | clone () const |
| Make clone. | |
| virtual double | evaluate () const |
| Evaluate. | |
| virtual void | print (std::ostream &stream, int) const |
| Print expression. | |
| virtual bool | isConstant () const |
| Test for constant. | |
Private Member Functions | |
| SCell () | |
| void | operator= (const SCell &) |
Private Attributes | |
| const std::string | tab_name |
| const PlaceRep | position |
| const std::string | col_name |
| ConstChannel * | itsChannel |
| Expressions::SCell::SCell | ( | const std::string & | tab, |
| const PlaceRep & | place, | ||
| const std::string & | col ) |
Constructor.
Definition at line 32 of file SCell.cpp.
References col_name, itsChannel, position, and tab_name.
Referenced by operator=().
|
virtual |
Definition at line 38 of file SCell.cpp.
References itsChannel.
|
private |
|
virtual |
Make clone.
Implements Expressions::Scalar< double >.
Definition at line 43 of file SCell.cpp.
References col_name, position, Expressions::Scalar< double >::Scalar(), SCell(), and tab_name.
|
virtual |
Evaluate.
Implements Expressions::Scalar< double >.
Definition at line 48 of file SCell.cpp.
References col_name, Table::fill(), Table::find(), Table::getCell(), position, and tab_name.
|
inlinevirtualinherited |
Test for constant.
Definition at line 90 of file AbstractObjects/Expressions.h.
|
private |
|
virtual |
|
private |
|
mutableprivate |
|
private |
|
private |