OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
An array expression defined as a table row. More...
#include <ARow.h>
Public Member Functions | |
ARow (const std::string &tabName, const PlaceRep &row, const std::vector< std::string > &col) | |
Constructor. More... | |
ARow (const ARow &) | |
~ARow () | |
virtual OArray< double > * | clone () const |
Make clone. More... | |
virtual std::vector< double > | evaluate () const |
Evaluate. More... | |
virtual void | print (std::ostream &os, int precedence=99) const |
Print expression. More... | |
Public Member Functions inherited from Expressions::OArray< double > | |
OArray () | |
OArray (const OArray &) | |
virtual | ~OArray () |
virtual OArray< double > * | clone () const=0 |
Copy expression. More... | |
virtual std::vector< 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 | |
ARow () | |
const ARow & | operator= (const ARow &) |
Private Attributes | |
const std::string | tabName |
PlaceRep | position |
const std::vector< std::string > | columns |
Expressions::ARow::ARow | ( | const std::string & | tabName, |
const PlaceRep & | row, | ||
const std::vector< std::string > & | col | ||
) |
|
private |
Referenced by clone().
|
virtual |
Make clone.
Implements Expressions::OArray< double >.
Definition at line 46 of file ARow.cpp.
References ARow().
|
virtual |
Evaluate.
Implements Expressions::OArray< double >.
Definition at line 51 of file ARow.cpp.
References columns, Table::fill(), Table::find(), Table::getRow(), position, and tabName.
|
virtual |
|
private |
Definition at line 71 of file ARow.h.
Referenced by evaluate(), and print().
|
private |
Definition at line 68 of file ARow.h.
Referenced by evaluate(), and print().
|
private |
Definition at line 65 of file ARow.h.
Referenced by evaluate(), and print().