#include <ExprDerNode.h>
Inheritance diagram for casa::TableExprNodeColumn:


Internal
This class represents a scalar column in a table select expression tree. When the select expression gets evaluated, the value of the given row in the column is used.
Definition at line 265 of file ExprDerNode.h.
Public Member Functions | |
| TableExprNodeColumn (const Table &, const String &columnName) | |
| ~TableExprNodeColumn () | |
| virtual void | replaceTablePtr (const Table &) |
| Replace the Table pointer in this node. | |
| Bool | getBool (const TableExprId &id) |
| Get a scalar value for this node in the given row. | |
| Double | getDouble (const TableExprId &id) |
| DComplex | getDComplex (const TableExprId &id) |
| String | getString (const TableExprId &id) |
| const ROTableColumn & | getColumn () const |
| Bool | getColumnDataType (DataType &) const |
| Get the data type of this scalar column. | |
| Array< Bool > | getColumnBool () |
| Get the value of the expression evaluated for the entire column. | |
| Array< uChar > | getColumnuChar () |
| Array< Short > | getColumnShort () |
| Array< uShort > | getColumnuShort () |
| Array< Int > | getColumnInt () |
| Array< uInt > | getColumnuInt () |
| Array< Float > | getColumnFloat () |
| Array< Double > | getColumnDouble () |
| Array< Complex > | getColumnComplex () |
| Array< DComplex > | getColumnDComplex () |
| Array< String > | getColumnString () |
Static Public Member Functions | |
| static Unit | getColumnUnit (const ROTableColumn &) |
| Get the column unit (can be empty). | |
Protected Attributes | |
| ROTableColumn * | tabColPtr_p |
| casa::TableExprNodeColumn::~TableExprNodeColumn | ( | ) |
| virtual void casa::TableExprNodeColumn::replaceTablePtr | ( | const Table & | ) | [virtual] |
| Bool casa::TableExprNodeColumn::getBool | ( | const TableExprId & | id | ) | [virtual] |
Get a scalar value for this node in the given row.
The appropriate functions are implemented in the derived classes and will usually invoke the get in their children and apply the operator on the resulting values.
Reimplemented from casa::TableExprNodeRep.
| Double casa::TableExprNodeColumn::getDouble | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
| DComplex casa::TableExprNodeColumn::getDComplex | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
| String casa::TableExprNodeColumn::getString | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
| const ROTableColumn& casa::TableExprNodeColumn::getColumn | ( | ) | const |
| Bool casa::TableExprNodeColumn::getColumnDataType | ( | DataType & | ) | const [virtual] |
Get the value of the expression evaluated for the entire column.
The data of function called should match the data type as returned by function getColumnDataType.
Reimplemented from casa::TableExprNodeRep.
Reimplemented from casa::TableExprNodeRep.
Reimplemented from casa::TableExprNodeRep.
Reimplemented from casa::TableExprNodeRep.
Reimplemented from casa::TableExprNodeRep.
Reimplemented from casa::TableExprNodeRep.
Reimplemented from casa::TableExprNodeRep.
Reimplemented from casa::TableExprNodeRep.
| Array<Complex> casa::TableExprNodeColumn::getColumnComplex | ( | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
| Array<DComplex> casa::TableExprNodeColumn::getColumnDComplex | ( | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
Reimplemented from casa::TableExprNodeRep.
| static Unit casa::TableExprNodeColumn::getColumnUnit | ( | const ROTableColumn & | ) | [static] |
Get the column unit (can be empty).
ROTableColumn* casa::TableExprNodeColumn::tabColPtr_p [protected] |
Definition at line 299 of file ExprDerNode.h.
1.5.1