casa
$Rev:20696$
|
Class representing a function in table select expression. More...
#include <ExprUDFNode.h>
Public Member Functions | |
TableExprUDFNode (UDFBase *udf, const Table &, const TableExprNodeSet &source) | |
Constructor. | |
virtual | ~TableExprUDFNode () |
Destructor. | |
virtual Bool | getBool (const TableExprId &id) |
Functions to get the desired result of a function. | |
virtual Int64 | getInt (const TableExprId &id) |
virtual Double | getDouble (const TableExprId &id) |
virtual DComplex | getDComplex (const TableExprId &id) |
virtual String | getString (const TableExprId &id) |
virtual TaqlRegex | getRegex (const TableExprId &id) |
virtual MVTime | getDate (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 ExprUDFNode.h.
casa::TableExprUDFNode::TableExprUDFNode | ( | UDFBase * | udf, |
const Table & | , | ||
const TableExprNodeSet & | source | ||
) |
Constructor.
virtual casa::TableExprUDFNode::~TableExprUDFNode | ( | ) | [virtual] |
Destructor.
virtual Bool casa::TableExprUDFNode::getBool | ( | const TableExprId & | id | ) | [virtual] |
Functions to get the desired result of a function.
Reimplemented from casa::TableExprNodeRep.
virtual MVTime casa::TableExprUDFNode::getDate | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
virtual DComplex casa::TableExprUDFNode::getDComplex | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
virtual Double casa::TableExprUDFNode::getDouble | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
virtual Int64 casa::TableExprUDFNode::getInt | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
virtual TaqlRegex casa::TableExprUDFNode::getRegex | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
virtual String casa::TableExprUDFNode::getString | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
UDFBase* casa::TableExprUDFNode::itsUDF [private] |
Definition at line 97 of file ExprUDFNode.h.