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

Unit for array values in a table select expression tree. More...

#include <ExprUnitNode.h>

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

List of all members.

Public Member Functions

 TableExprNodeArrayUnit (TableExprNodeRep &child, const Unit &unit)
 ~TableExprNodeArrayUnit ()
virtual Double getUnitFactor () const
 Get the unit conversion factor.
virtual Array< DoublegetArrayDouble (const TableExprId &id)
virtual Array< DComplex > getArrayDComplex (const TableExprId &id)
 The default implementation of getArrayDComplex does getArrayDouble and converts the result.

Private Attributes

Double factor_p

Detailed Description

Unit for array values in a table select expression tree.

Intended use:

Internal

Review Status

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

Prerequisite

Synopsis

This class represents a unit in a table select expression tree. It contains a unit conversion factor to convert the child to this unit. The factor is 1 if the child has no unit.

Definition at line 122 of file ExprUnitNode.h.


Constructor & Destructor Documentation


Member Function Documentation

virtual Array<DComplex> casa::TableExprNodeArrayUnit::getArrayDComplex ( const TableExprId id) [virtual]

The default implementation of getArrayDComplex does getArrayDouble and converts the result.

Reimplemented from casa::TableExprNodeArray.

Reimplemented from casa::TableExprNodeRep.

Get the unit conversion factor.

Default 1 is returned.

Reimplemented from casa::TableExprNodeRep.


Member Data Documentation

Definition at line 131 of file ExprUnitNode.h.


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