Int comparison IN in table select expression tree. More...
#include <ExprLogicNode.h>
Public Member Functions | |
TableExprNodeINInt (const TableExprNodeRep &, Bool doTracing=False) | |
virtual | ~TableExprNodeINInt () |
virtual void | convertConstChild () |
When one of the children is a constant, convert its data type to that of the other operand. | |
virtual Bool | getBool (const TableExprId &id) |
Get a scalar value for this node in the given row. | |
Private Attributes | |
Bool | itsDoTracing |
Block< Bool > | itsIndex |
Int64 | itsMin |
Int64 | itsMax |
Int comparison IN in table select expression tree.
Internal
This class represents an IN comparison in a table select expression tree. This is defined for all data types. Only the Bool get function is defined, because the result of a compare is always a Bool.
Definition at line 797 of file ExprLogicNode.h.
casacore::TableExprNodeINInt::TableExprNodeINInt | ( | const TableExprNodeRep & | , | |
Bool | doTracing = False | |||
) |
virtual casacore::TableExprNodeINInt::~TableExprNodeINInt | ( | ) | [virtual] |
virtual void casacore::TableExprNodeINInt::convertConstChild | ( | ) | [virtual] |
When one of the children is a constant, convert its data type to that of the other operand.
This avoids that conversions are done for each get.
Reimplemented from casacore::TableExprNodeBinary.
virtual Bool casacore::TableExprNodeINInt::getBool | ( | const TableExprId & | id | ) | [virtual] |
Get a scalar value for this node in the given row.
The appropriate functions are implemented in the derived classes and will usually invoke the get in their children and apply the operator on the resulting values.
Reimplemented from casacore::TableExprNodeRep.
Definition at line 805 of file ExprLogicNode.h.
Block<Bool> casacore::TableExprNodeINInt::itsIndex [private] |
Definition at line 808 of file ExprLogicNode.h.
Int64 casacore::TableExprNodeINInt::itsMax [private] |
Definition at line 810 of file ExprLogicNode.h.
Int64 casacore::TableExprNodeINInt::itsMin [private] |
Definition at line 809 of file ExprLogicNode.h.