Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1TableExprUDFNodeArray.html
Дата изменения: Unknown
Дата индексирования: Mon Feb 14 23:32:46 2011
Кодировка:

Поисковые слова: m 13
casacore: casa::TableExprUDFNodeArray Class Reference
Public Member Functions | Private Attributes

casa::TableExprUDFNodeArray Class Reference
[Tables_module_internal_classes]

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

#include <ExprUDFNodeArray.h>

Inheritance diagram for casa::TableExprUDFNodeArray:
casa::TableExprNodeArray casa::TableExprNodeBinary casa::TableExprNodeRep

List of all members.

Public Member Functions

 TableExprUDFNodeArray (UDFBase *udf, const TableExprNodeSet &source)
 Constructor.
virtual ~TableExprUDFNodeArray ()
 Destructor.
virtual Array< BoolgetArrayBool (const TableExprId &id)
 Functions to get the desired result of a function.
virtual Array< Int64getArrayInt (const TableExprId &id)
virtual Array< DoublegetArrayDouble (const TableExprId &id)
virtual Array< DComplex > getArrayDComplex (const TableExprId &id)
 The default implementation of getArrayDComplex does getArrayDouble and converts the result.
virtual Array< StringgetArrayString (const TableExprId &id)
virtual Array< MVTimegetArrayDate (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 ExprUDFNodeArray.h.


Constructor & Destructor Documentation

casa::TableExprUDFNodeArray::TableExprUDFNodeArray ( UDFBase udf,
const TableExprNodeSet source 
)

Constructor.

virtual casa::TableExprUDFNodeArray::~TableExprUDFNodeArray (  )  [virtual]

Destructor.


Member Function Documentation

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.


Member Data Documentation

Definition at line 95 of file ExprUDFNodeArray.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines