casa
$Rev:20696$
|
Int subtraction in table select expression tree. More...
#include <ExprMathNode.h>
Public Member Functions | |
TableExprNodeMinusInt (const TableExprNodeRep &) | |
~TableExprNodeMinusInt () | |
virtual void | handleUnits () |
Handle the units of the children and possibly set the parent's unit. | |
Int64 | getInt (const TableExprId &id) |
Double | getDouble (const TableExprId &id) |
DComplex | getDComplex (const TableExprId &id) |
Int 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 285 of file ExprMathNode.h.
DComplex casa::TableExprNodeMinusInt::getDComplex | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
Double casa::TableExprNodeMinusInt::getDouble | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
Int64 casa::TableExprNodeMinusInt::getInt | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
virtual void casa::TableExprNodeMinusInt::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.