OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
An array expression defined as a table column. More...
#include <AColumn.h>
Public Member Functions | |
AColumn (const std::string &tName, const std::string &cName, const RangeRep &rng) | |
Constructor. More... | |
AColumn (const AColumn &) | |
~AColumn () | |
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... | |
![]() | |
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 | |
AColumn () | |
const AColumn & | operator= (const AColumn &) |
Private Attributes | |
const std::string | tab_name |
const std::string | col_name |
RangeRep | itsRange |
Expressions::AColumn::AColumn | ( | const std::string & | tName, |
const std::string & | cName, | ||
const RangeRep & | rng | ||
) |
Constructor.
Definition at line 38 of file AColumn.cpp.
Expressions::AColumn::AColumn | ( | const AColumn & | rhs | ) |
Definition at line 32 of file AColumn.cpp.
Expressions::AColumn::~AColumn | ( | ) |
Definition at line 44 of file AColumn.cpp.
|
private |
Referenced by clone().
|
virtual |
Make clone.
Implements Expressions::OArray< double >.
Definition at line 48 of file AColumn.cpp.
References AColumn().
|
virtual |
Evaluate.
Implements Expressions::OArray< double >.
Definition at line 53 of file AColumn.cpp.
References col_name, Table::fill(), Table::find(), Table::getColumn(), itsRange, and tab_name.
|
virtual |
Print expression.
Implements Expressions::OArray< double >.
Definition at line 60 of file AColumn.cpp.
|
private |
Definition at line 66 of file AColumn.h.
Referenced by evaluate(), and print().
|
private |
Definition at line 69 of file AColumn.h.
Referenced by evaluate(), and print().
|
private |
Definition at line 65 of file AColumn.h.
Referenced by evaluate(), and print().