OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
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. More... | |
virtual | ~SCell () |
virtual Scalar< double > * | clone () const |
Make clone. More... | |
virtual double | evaluate () const |
Evaluate. More... | |
virtual void | print (std::ostream &stream, int) const |
Print expression. More... | |
![]() | |
Scalar () | |
Scalar (const Scalar &) | |
virtual | ~Scalar () |
virtual bool | isConstant () const |
Test for constant. More... | |
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 | ||
) |
|
private |
|
virtual |
|
virtual |
Evaluate.
Implements Expressions::Scalar< double >.
Definition at line 49 of file SCell.cpp.
References Table::fill(), Table::find(), and Table::getCell().
|
private |
|
virtual |
Print expression.
Implements Expressions::Scalar< double >.
|
mutableprivate |