casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
casa::TableExprUDFNode Class Reference

Class representing a function in table select expression. More...

#include <ExprUDFNode.h>

Inheritance diagram for casa::TableExprUDFNode:
casa::TableExprNodeMulti casa::TableExprNodeRep

List of all members.

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

UDFBaseitsUDF
 
     


Detailed Description

Class representing a function in table select expression.

Intended use:

Internal

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

Prerequisite

Synopsis

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.


Constructor & Destructor Documentation

casa::TableExprUDFNode::TableExprUDFNode ( UDFBase udf,
const Table ,
const TableExprNodeSet source 
)

Constructor.

Destructor.


Member Function Documentation

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.


Member Data Documentation

     

Definition at line 97 of file ExprUDFNode.h.


The documentation for this class was generated from the following file: