casa
$Rev:20696$
|
Double subtraction in table select expression tree. More...
#include <ExprMathNode.h>
Public Member Functions | |
TableExprNodeMinusDouble (const TableExprNodeRep &) | |
~TableExprNodeMinusDouble () | |
virtual void | handleUnits () |
Handle the units of the children and possibly set the parent's unit. | |
Double | getDouble (const TableExprId &id) |
DComplex | getDComplex (const TableExprId &id) |
Double subtraction in table select expression tree.
Internal
This class represents a subtraction in a table select expression tree. Numeric data types will be promoted if possible, so for instance a subtraction of Int and Complex is possible.
Definition at line 318 of file ExprMathNode.h.
DComplex casa::TableExprNodeMinusDouble::getDComplex | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
Double casa::TableExprNodeMinusDouble::getDouble | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
virtual void casa::TableExprNodeMinusDouble::handleUnits | ( | ) | [virtual] |
Handle the units of the children and possibly set the parent's unit.
The default implementation make the units of the children equal and set the parent unit to that unit if the parent is not a Bool value.
Reimplemented from casa::TableExprNodeBinary.