|
OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
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... | |
Public Member Functions inherited from Expressions::OArray< double > | |
| OArray () | |
| OArray (const OArray &) | |
| virtual | ~OArray () |
| virtual bool | isConstant () const |
| Test for constant. 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 39 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().
1.8.5