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 Array< Double > getArrayDouble(const TableExprId &id)
static Unit adaptUnits(TableExprNodeRep *&node1, TableExprNodeRep *&node2, TableExprNodeRep *&node3)
Find the unit to be used and adapt the nodes to it.
static void adaptUnit(TableExprNodeRep *&node, const Unit &unit)
Use useUnit to see if a conversion is needed.
static TableExprNodeRep * useUnit(TableExprNodeRep *const node, const Unit &unit)
Create a new node if unit conversion is needed.
virtual Double getUnitFactor() const
Get the unit factor.
std::complex< Double > DComplex
Unit for array values in a table select expression tree.
const Unit & unit() const
Get the unit.
The identification of a TaQL selection subject.
virtual Array< DComplex > getArrayDComplex(const TableExprId &id)
TableExprNodeUnit(TableExprNodeRep &child, const Unit &unit)
Constrcut from the given child node and unit.
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