casa
$Rev:20696$
|
Date addition in table select expression tree. More...
#include <ExprMathNode.h>
Public Member Functions | |
TableExprNodePlusDate (const TableExprNodeRep &) | |
~TableExprNodePlusDate () | |
virtual void | handleUnits () |
Handle the units of the children and possibly set the parent's unit. | |
Double | getDouble (const TableExprId &id) |
MVTime | getDate (const TableExprId &id) |
Date addition in table select expression tree.
Internal
This class represents an addition in a table select expression tree. Strings can also be added (ie. concatenated). Numeric data types will be promoted if possible, so for instance an addition of Int and Complex is possible.
Definition at line 225 of file ExprMathNode.h.
MVTime casa::TableExprNodePlusDate::getDate | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
Double casa::TableExprNodePlusDate::getDouble | ( | const TableExprId & | id | ) | [virtual] |
Reimplemented from casa::TableExprNodeRep.
virtual void casa::TableExprNodePlusDate::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.