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 MArray< Double > | getArrayDouble (const TableExprId &id) |
| The default implementation of getArrayDouble does getArrayInt and converts the result. | |
| virtual MArray< 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.
| casacore::TableExprNodeArrayUnit::TableExprNodeArrayUnit | ( | TableExprNodeRep & | child, | |
| const Unit & | unit | |||
| ) |
| casacore::TableExprNodeArrayUnit::~TableExprNodeArrayUnit | ( | ) |
| virtual MArray<DComplex> casacore::TableExprNodeArrayUnit::getArrayDComplex | ( | const TableExprId & | id | ) | [virtual] |
The default implementation of getArrayDComplex does getArrayDouble and converts the result.
Reimplemented from casacore::TableExprNodeArray.
| virtual MArray<Double> casacore::TableExprNodeArrayUnit::getArrayDouble | ( | const TableExprId & | id | ) | [virtual] |
The default implementation of getArrayDouble does getArrayInt and converts the result.
Reimplemented from casacore::TableExprNodeArray.
| virtual Double casacore::TableExprNodeArrayUnit::getUnitFactor | ( | ) | const [virtual] |
Get the unit conversion factor.
Default 1 is returned.
Reimplemented from casacore::TableExprNodeRep.
Definition at line 131 of file ExprUnitNode.h.
1.6.1