28 #ifndef TABLES_EXPRLOGICNODE_H
29 #define TABLES_EXPRLOGICNODE_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/tables/TaQL/ExprNodeRep.h>
Logical and in table select expression tree.
void ranges(Block< TableExprRange > &)
Convert the tree to a number of range vectors which at least select the same things.
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
TableExprNodeAND(const TableExprNodeRep &)
Abstract base class for a node having 0, 1, or 2 child nodes.
TableExprNodeEQBool(const TableExprNodeRep &)
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
DComplex comparison == in table select expression tree.
TableExprNodeEQDComplex(const TableExprNodeRep &)
~TableExprNodeEQDComplex()
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
Date comparison == in table select expression tree.
TableExprNodeEQDate(const TableExprNodeRep &)
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
Double comparison == in table select expression tree.
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
TableExprNodeEQDouble(const TableExprNodeRep &)
void ranges(Block< TableExprRange > &)
Convert the tree to a number of range vectors which at least select the same things.
Int comparison == in table select expression tree.
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
TableExprNodeEQInt(const TableExprNodeRep &)
Regex comparison == in table select expression tree.
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
TableExprNodeEQRegex(const TableExprNodeRep &)
String comparison == in table select expression tree.
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
TableExprNodeEQString(const TableExprNodeRep &)
DComplex comparison >= in table select expression tree.
TableExprNodeGEDComplex(const TableExprNodeRep &)
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
~TableExprNodeGEDComplex()
Date comparison >= in table select expression tree.
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
TableExprNodeGEDate(const TableExprNodeRep &)
Double comparison >= in table select expression tree.
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
void ranges(Block< TableExprRange > &)
Convert the tree to a number of range vectors which at least select the same things.
TableExprNodeGEDouble(const TableExprNodeRep &)
Int comparison >= in table select expression tree.
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
TableExprNodeGEInt(const TableExprNodeRep &)
String comparison >= in table select expression tree.
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
TableExprNodeGEString(const TableExprNodeRep &)
DComplex comparison > in table select expression tree.
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
TableExprNodeGTDComplex(const TableExprNodeRep &)
~TableExprNodeGTDComplex()
Date comparison > in table select expression tree.
TableExprNodeGTDate(const TableExprNodeRep &)
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
Double comparison > in table select expression tree.
TableExprNodeGTDouble(const TableExprNodeRep &)
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
void ranges(Block< TableExprRange > &)
Convert the tree to a number of range vectors which at least select the same things.
Int comparison > in table select expression tree.
TableExprNodeGTInt(const TableExprNodeRep &)
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
String comparison > in table select expression tree.
TableExprNodeGTString(const TableExprNodeRep &)
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
DComplex comparison IN in table select expression tree.
TableExprNodeINDComplex(const TableExprNodeRep &)
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
~TableExprNodeINDComplex()
Date comparison IN in table select expression tree.
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
TableExprNodeINDate(const TableExprNodeRep &)
Double comparison IN in table select expression tree.
TableExprNodeINDouble(const TableExprNodeRep &)
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
Int comparison IN in table select expression tree.
virtual ~TableExprNodeINInt()
virtual Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
TableExprNodeINInt(const TableExprNodeRep &, Bool doTracing=False)
doTracing is not used.
std::set< Int64 > itsIndexSet
If the right node is constant it is converted to a set.
virtual void convertConstChild()
If one of the children is a constant, convert its data type to that of the other operand (if appropri...
String comparison IN in table select expression tree.
TableExprNodeINString(const TableExprNodeRep &)
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
Bool comparison != in table select expression tree.
TableExprNodeNEBool(const TableExprNodeRep &)
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
DComplex comparison != in table select expression tree.
~TableExprNodeNEDComplex()
TableExprNodeNEDComplex(const TableExprNodeRep &)
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
Date comparison != in table select expression tree.
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
TableExprNodeNEDate(const TableExprNodeRep &)
Double comparison != in table select expression tree.
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
TableExprNodeNEDouble(const TableExprNodeRep &)
Int comparison != in table select expression tree.
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
TableExprNodeNEInt(const TableExprNodeRep &)
Regex comparison != in table select expression tree.
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
TableExprNodeNERegex(const TableExprNodeRep &)
String comparison != in table select expression tree.
TableExprNodeNEString(const TableExprNodeRep &)
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
Logical not in table select expression tree.
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
TableExprNodeNOT(const TableExprNodeRep &)
Logical or in table select expression tree.
void ranges(Block< TableExprRange > &)
Convert the tree to a number of range vectors which at least select the same things.
TableExprNodeOR(const TableExprNodeRep &)
Bool getBool(const TableExprId &id)
Get a scalar value for this node in the given row.
Abstract base class for a node in a table column expression tree.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.