28 #ifndef TABLES_EXPRUNITNODE_H 29 #define TABLES_EXPRUNITNODE_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/tables/TaQL/ExprNodeRep.h> 34 #include <casacore/tables/TaQL/ExprNodeArray.h>
virtual Double getDouble(const TableExprId &id)
virtual DComplex getDComplex(const TableExprId &id)
Base class for arrays in table select expression.
Abstract base class for a node in a table column expression tree.
virtual MArray< Double > getArrayDouble(const TableExprId &id)
static Unit adaptUnits(TENShPtr &node1, TENShPtr &node2, TENShPtr &node3)
Find the unit to be used and adapt the nodes to it.
virtual MArray< DComplex > getArrayDComplex(const TableExprId &id)
std::complex< Double > DComplex
virtual Double getUnitFactor() const
Get the unit factor.
const Unit & unit() const
Get the unit.
Unit for array values in a table select expression tree.
TableExprNodeUnit(const TENShPtr &child, const Unit &unit)
Construct from the given child node and unit.
static void adaptUnit(TENShPtr &node, const Unit &unit)
Use useUnit to see if a conversion is needed.
The identification of a TaQL selection subject.
static TENShPtr useUnit(const TENShPtr &node, const Unit &unit)
Create a new node if unit conversion is needed.
Unit for scalar values in a table select expression tree.
Abstract base class for a node having 0, 1, or 2 child nodes.
this file contains all the compiler specific defines