casa
$Rev:20696$
|
Class representing a function in table select expression. More...
#include <ExprUDFNodeArray.h>
Public Member Functions | |
TableExprUDFNodeArray (UDFBase *udf, const Table &, const TableExprNodeSet &source) | |
Constructor. | |
virtual | ~TableExprUDFNodeArray () |
Destructor. | |
virtual Array< Bool > | getArrayBool (const TableExprId &id) |
Functions to get the desired result of a function. | |
virtual Array< Int64 > | getArrayInt (const TableExprId &id) |
virtual Array< Double > | getArrayDouble (const TableExprId &id) |
virtual Array< DComplex > | getArrayDComplex (const TableExprId &id) |
The default implementation of getArrayDComplex does getArrayDouble and converts the result. | |
virtual Array< String > | getArrayString (const TableExprId &id) |
virtual Array< MVTime > | getArrayDate (const TableExprId &id) |
Private Attributes | |
UDFBase * | itsUDF |
Class representing a function in table select expression.
Internal
This class represents a function in a table select tree. The rownumber
function is represented by class TableExprNodeRownr . The rowid
function is represented by class TableExprNodeRowid . The rand
function is represented by class TableExprNodeRandom .
When one wants to add a function to the table selection grammar, the following has to be done:
Definition at line 74 of file ExprUDFNodeArray.h.
casa::TableExprUDFNodeArray::TableExprUDFNodeArray | ( | UDFBase * | udf, |
const Table & | , | ||
const TableExprNodeSet & | source | ||
) |
Constructor.
virtual casa::TableExprUDFNodeArray::~TableExprUDFNodeArray | ( | ) | [virtual] |
Destructor.
virtual Array<Bool> casa::TableExprUDFNodeArray::getArrayBool | ( | const TableExprId & | id | ) | [virtual] |
Functions to get the desired result of a function.
Reimplemented from casa::TableExprNodeRep.
virtual Array<MVTime> casa::TableExprUDFNodeArray::getArrayDate | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
virtual Array<DComplex> casa::TableExprUDFNodeArray::getArrayDComplex | ( | const TableExprId & | id | ) | [virtual] |
The default implementation of getArrayDComplex does getArrayDouble and converts the result.
Reimplemented from casa::TableExprNodeArray.
virtual Array<Double> casa::TableExprUDFNodeArray::getArrayDouble | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
virtual Array<Int64> casa::TableExprUDFNodeArray::getArrayInt | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
virtual Array<String> casa::TableExprUDFNodeArray::getArrayString | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
UDFBase* casa::TableExprUDFNodeArray::itsUDF [private] |
Definition at line 96 of file ExprUDFNodeArray.h.