casa::TableExprNodeEQDouble Class Reference
[Tables_internal_classes]

#include <ExprLogicNode.h>

Inheritance diagram for casa::TableExprNodeEQDouble:

Inheritance graph
[legend]
Collaboration diagram for casa::TableExprNodeEQDouble:

Collaboration graph
[legend]
List of all members.

Detailed Description

Double comparison == in table select expression tree.

Intended use:

Internal

Review Status

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

Prerequisite

Synopsis

This class represents an == 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 100 of file ExprLogicNode.h.

Public Member Functions

 TableExprNodeEQDouble (const TableExprNodeRep &)
 ~TableExprNodeEQDouble ()
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.


Constructor & Destructor Documentation

casa::TableExprNodeEQDouble::TableExprNodeEQDouble ( const TableExprNodeRep  ) 

casa::TableExprNodeEQDouble::~TableExprNodeEQDouble (  ) 


Member Function Documentation

Bool casa::TableExprNodeEQDouble::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 casa::TableExprNodeRep.

void casa::TableExprNodeEQDouble::ranges ( Block< TableExprRange > &   )  [virtual]

Convert the tree to a number of range vectors which at least select the same things.

This function is very useful to convert the expression to some intervals covering the select expression. This can be used to do a rough fast selection via an index and do the the slower final selection on that much smaller subset. The function can only convert direct comparisons of columns with constants (via ==, !=, >, >=, < or <=) and their combinations using && or ||.

Reimplemented from casa::TableExprNodeRep.


The documentation for this class was generated from the following file:
Generated on Mon Sep 1 22:45:24 2008 for NRAOCASA by  doxygen 1.5.1