casacore::TableExprNodeINInt Class Reference

Int comparison IN in table select expression tree. More...

#include <ExprLogicNode.h>

Inheritance diagram for casacore::TableExprNodeINInt:
casacore::TableExprNodeBinary casacore::TableExprNodeRep

List of all members.

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< BoolitsIndex
Int64 itsMin
Int64 itsMax

Detailed Description

Int comparison IN in table select expression tree.

Intended use:

Internal

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

Prerequisite

Synopsis

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.


Constructor & Destructor Documentation

casacore::TableExprNodeINInt::TableExprNodeINInt ( const TableExprNodeRep ,
Bool  doTracing = False 
)
virtual casacore::TableExprNodeINInt::~TableExprNodeINInt (  )  [virtual]

Member Function Documentation

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.


Member Data Documentation

Definition at line 805 of file ExprLogicNode.h.

Definition at line 808 of file ExprLogicNode.h.

Definition at line 810 of file ExprLogicNode.h.

Definition at line 809 of file ExprLogicNode.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1