casa
$Rev:20696$
|
Unit for array values in a table select expression tree. More...
#include <ExprUnitNode.h>
Public Member Functions | |
TableExprNodeArrayUnit (TableExprNodeRep &child, const Unit &unit) | |
~TableExprNodeArrayUnit () | |
virtual Double | getUnitFactor () const |
Get the unit conversion factor. | |
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. | |
Private Attributes | |
Double | factor_p |
Unit for array values in a table select expression tree.
Internal
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.
casa::TableExprNodeArrayUnit::TableExprNodeArrayUnit | ( | TableExprNodeRep & | child, |
const Unit & | unit | ||
) |
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.
virtual Array<Double> casa::TableExprNodeArrayUnit::getArrayDouble | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
virtual Double casa::TableExprNodeArrayUnit::getUnitFactor | ( | ) | const [virtual] |
Double casa::TableExprNodeArrayUnit::factor_p [private] |
Definition at line 131 of file ExprUnitNode.h.