Loading...
Searching...
No Matches
ExprLogicNodeArray.h
Go to the documentation of this file.
//# ExprLogicArrayNode.h: Nodes representing logical array operators in table select expression tree
//# Copyright (C) 1997,1999,2000
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as published by
//# the Free Software Foundation; either version 2 of the License, or (at your
//# option) any later version.
//#
//# This library is distributed in the hope that it will be useful, but WITHOUT
//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
//# License for more details.
//#
//# You should have received a copy of the GNU Library General Public License
//# along with this library; if not, write to the Free Software Foundation,
//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
//#
//# Correspondence concerning AIPS++ should be addressed as follows:
//# Internet email: casa-feedback@nrao.edu.
//# Postal address: AIPS++ Project Office
//# National Radio Astronomy Observatory
//# 520 Edgemont Road
//# Charlottesville, VA 22903-2475 USA
#ifndef TABLES_EXPRLOGICNODEARRAY_H
#define TABLES_EXPRLOGICNODEARRAY_H
//# Includes
#include <casacore/casa/aips.h>
#include <casacore/tables/TaQL/ExprNodeArray.h>
#include <casacore/casa/Arrays/Array.h>
namespace casacore { //# NAMESPACE CASACORE - BEGIN
//# Forward Declarations
//# This file defines classes derived from TableExprNode representing
//# the data type and operator in a table expression.
//#
//# Data types Bool, Int64, Double, DComplex and String are used.
//# Char, uChar, Short, uShort, Int, and uInt are converted to Int64,
//# Float to Double, and Complex to DComplex.
//# Binary operators ==, >=, >, <, <= and != are recognized.
//# Also &&, ||, and unary ! are recognized.
// <summary>
// Bool Array comparison == in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayEQBool : public TableExprNodeArray
{
public:
TableExprNodeArrayEQBool (const TableExprNodeRep&);
~TableExprNodeArrayEQBool();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// Int Array comparison == in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayEQInt : public TableExprNodeArray
{
public:
TableExprNodeArrayEQInt (const TableExprNodeRep&);
~TableExprNodeArrayEQInt();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// Double Array comparison == in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayEQDouble : public TableExprNodeArray
{
public:
TableExprNodeArrayEQDouble (const TableExprNodeRep&);
~TableExprNodeArrayEQDouble();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// DComplex Array comparison == in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayEQDComplex : public TableExprNodeArray
{
public:
TableExprNodeArrayEQDComplex (const TableExprNodeRep&);
~TableExprNodeArrayEQDComplex();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// String Array comparison == in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayEQString : public TableExprNodeArray
{
public:
TableExprNodeArrayEQString (const TableExprNodeRep&);
~TableExprNodeArrayEQString();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// Regex Array comparison == in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayEQRegex : public TableExprNodeArray
{
public:
TableExprNodeArrayEQRegex (const TableExprNodeRep&);
~TableExprNodeArrayEQRegex();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// Date Array comparison == in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayEQDate : public TableExprNodeArray
{
public:
TableExprNodeArrayEQDate (const TableExprNodeRep&);
~TableExprNodeArrayEQDate();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// Bool Array comparison != in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayNEBool : public TableExprNodeArray
{
public:
TableExprNodeArrayNEBool (const TableExprNodeRep&);
~TableExprNodeArrayNEBool();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// Int Array comparison != in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayNEInt : public TableExprNodeArray
{
public:
TableExprNodeArrayNEInt (const TableExprNodeRep&);
~TableExprNodeArrayNEInt();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// Double Array comparison != in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayNEDouble : public TableExprNodeArray
{
public:
TableExprNodeArrayNEDouble (const TableExprNodeRep&);
~TableExprNodeArrayNEDouble();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// DComplex Array comparison != in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayNEDComplex : public TableExprNodeArray
{
public:
TableExprNodeArrayNEDComplex (const TableExprNodeRep&);
~TableExprNodeArrayNEDComplex();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// String Array comparison != in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayNEString : public TableExprNodeArray
{
public:
TableExprNodeArrayNEString (const TableExprNodeRep&);
~TableExprNodeArrayNEString();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// Regex Array comparison != in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayNERegex : public TableExprNodeArray
{
public:
TableExprNodeArrayNERegex (const TableExprNodeRep&);
~TableExprNodeArrayNERegex();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// Date Array comparison != in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayNEDate : public TableExprNodeArray
{
public:
TableExprNodeArrayNEDate (const TableExprNodeRep&);
~TableExprNodeArrayNEDate();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// Int Array comparison > in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayGTInt : public TableExprNodeArray
{
public:
TableExprNodeArrayGTInt (const TableExprNodeRep&);
~TableExprNodeArrayGTInt();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// Double Array comparison > in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayGTDouble : public TableExprNodeArray
{
public:
TableExprNodeArrayGTDouble (const TableExprNodeRep&);
~TableExprNodeArrayGTDouble();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// DComplex Array comparison > in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayGTDComplex : public TableExprNodeArray
{
public:
TableExprNodeArrayGTDComplex (const TableExprNodeRep&);
~TableExprNodeArrayGTDComplex();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// String Array comparison > in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayGTString : public TableExprNodeArray
{
public:
TableExprNodeArrayGTString (const TableExprNodeRep&);
~TableExprNodeArrayGTString();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// Date Array comparison > in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayGTDate : public TableExprNodeArray
{
public:
TableExprNodeArrayGTDate (const TableExprNodeRep&);
~TableExprNodeArrayGTDate();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// Int Array comparison >= in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayGEInt : public TableExprNodeArray
{
public:
TableExprNodeArrayGEInt (const TableExprNodeRep&);
~TableExprNodeArrayGEInt();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// Double Array comparison >= in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayGEDouble : public TableExprNodeArray
{
public:
TableExprNodeArrayGEDouble (const TableExprNodeRep&);
~TableExprNodeArrayGEDouble();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// DComplex Array comparison >= in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayGEDComplex : public TableExprNodeArray
{
public:
TableExprNodeArrayGEDComplex (const TableExprNodeRep&);
~TableExprNodeArrayGEDComplex();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// String Array comparison >= in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayGEString : public TableExprNodeArray
{
public:
TableExprNodeArrayGEString (const TableExprNodeRep&);
~TableExprNodeArrayGEString();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// Date Array comparison >= in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayGEDate : public TableExprNodeArray
{
public:
TableExprNodeArrayGEDate (const TableExprNodeRep&);
~TableExprNodeArrayGEDate();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// Int Array comparison IN in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// The right hand side can be optimized if it contains a constant array which
// can be replaced by an std::unordered_set<Int64> or a Block<Bool>.
// </synopsis>
class TableExprNodeArrayINInt : public TableExprNodeArray
{
public:
TableExprNodeArrayINInt (const TableExprNodeRep&);
~TableExprNodeArrayINInt();
virtual void optimize() override;
virtual MArray<Bool> getArrayBool (const TableExprId& id) override;
};
// <summary>
// Double Array comparison IN in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayINDouble : public TableExprNodeArray
{
public:
TableExprNodeArrayINDouble (const TableExprNodeRep&);
~TableExprNodeArrayINDouble();
virtual void optimize() override;
MArray<Bool> getArrayBool (const TableExprId& id) override;
};
// <summary>
// DComplex Array comparison IN in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayINDComplex : public TableExprNodeArray
{
public:
TableExprNodeArrayINDComplex (const TableExprNodeRep&);
~TableExprNodeArrayINDComplex();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// String Array comparison IN in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// The right hand side can be optimized if it contains a constant array which
// can be replaced by an std::unordered_set<String>
// </synopsis>
class TableExprNodeArrayINString : public TableExprNodeArray
{
public:
TableExprNodeArrayINString (const TableExprNodeRep&);
~TableExprNodeArrayINString();
virtual void optimize() override;
virtual MArray<Bool> getArrayBool (const TableExprId& id) override;
};
// <summary>
// Date Array comparison IN in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </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.
// </synopsis>
class TableExprNodeArrayINDate : public TableExprNodeArray
{
public:
TableExprNodeArrayINDate (const TableExprNodeRep&);
~TableExprNodeArrayINDate();
virtual void optimize() override;
MArray<Bool> getArrayBool (const TableExprId& id) override;
};
// <summary>
// Logical or in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </prerequisite>
// <synopsis>
// This class represents a logical or in a table select expression tree.
// This is defined for Bool only.
// </synopsis>
class TableExprNodeArrayOR : public TableExprNodeArray
{
public:
TableExprNodeArrayOR (const TableExprNodeRep&);
~TableExprNodeArrayOR();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// Logical and in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNode
// </prerequisite>
// <synopsis>
// This class represents a logical and in a table select expression tree.
// This is defined for Bool only.
// </synopsis>
class TableExprNodeArrayAND: public TableExprNodeArray
{
public:
TableExprNodeArrayAND (const TableExprNodeRep&);
~TableExprNodeArrayAND();
MArray<Bool> getArrayBool (const TableExprId& id);
};
// <summary>
// Logical not in table select expression tree
// </summary>
// <use visibility=local>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
// </reviewed>
// <prerequisite>
//# Classes you should understand before using this one.
// <li> TableExprNodeArray
// </prerequisite>
// <synopsis>
// This class represents a logical not in a table select expression tree.
// This is defined for Bool only.
// </synopsis>
class TableExprNodeArrayNOT: public TableExprNodeArray
{
public:
TableExprNodeArrayNOT (const TableExprNodeRep&);
~TableExprNodeArrayNOT();
MArray<Bool> getArrayBool (const TableExprId& id);
};
} //# NAMESPACE CASACORE - END
#endif
casacore::MArray
Definition MArray.h:68
casacore::TableExprId
Definition TableExprId.h:95
casacore::TableExprNodeArrayAND::TableExprNodeArrayAND
TableExprNodeArrayAND(const TableExprNodeRep &)
casacore::TableExprNodeArrayAND::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayAND::~TableExprNodeArrayAND
~TableExprNodeArrayAND()
casacore::TableExprNodeArrayEQBool::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayEQBool::TableExprNodeArrayEQBool
TableExprNodeArrayEQBool(const TableExprNodeRep &)
casacore::TableExprNodeArrayEQBool::~TableExprNodeArrayEQBool
~TableExprNodeArrayEQBool()
casacore::TableExprNodeArrayEQDComplex::~TableExprNodeArrayEQDComplex
~TableExprNodeArrayEQDComplex()
casacore::TableExprNodeArrayEQDComplex::TableExprNodeArrayEQDComplex
TableExprNodeArrayEQDComplex(const TableExprNodeRep &)
casacore::TableExprNodeArrayEQDComplex::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayEQDate::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayEQDate::TableExprNodeArrayEQDate
TableExprNodeArrayEQDate(const TableExprNodeRep &)
casacore::TableExprNodeArrayEQDate::~TableExprNodeArrayEQDate
~TableExprNodeArrayEQDate()
casacore::TableExprNodeArrayEQDouble::~TableExprNodeArrayEQDouble
~TableExprNodeArrayEQDouble()
casacore::TableExprNodeArrayEQDouble::TableExprNodeArrayEQDouble
TableExprNodeArrayEQDouble(const TableExprNodeRep &)
casacore::TableExprNodeArrayEQDouble::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayEQInt::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayEQInt::~TableExprNodeArrayEQInt
~TableExprNodeArrayEQInt()
casacore::TableExprNodeArrayEQInt::TableExprNodeArrayEQInt
TableExprNodeArrayEQInt(const TableExprNodeRep &)
casacore::TableExprNodeArrayEQRegex::~TableExprNodeArrayEQRegex
~TableExprNodeArrayEQRegex()
casacore::TableExprNodeArrayEQRegex::TableExprNodeArrayEQRegex
TableExprNodeArrayEQRegex(const TableExprNodeRep &)
casacore::TableExprNodeArrayEQRegex::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayEQString::TableExprNodeArrayEQString
TableExprNodeArrayEQString(const TableExprNodeRep &)
casacore::TableExprNodeArrayEQString::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayEQString::~TableExprNodeArrayEQString
~TableExprNodeArrayEQString()
casacore::TableExprNodeArrayGEDComplex::~TableExprNodeArrayGEDComplex
~TableExprNodeArrayGEDComplex()
casacore::TableExprNodeArrayGEDComplex::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayGEDComplex::TableExprNodeArrayGEDComplex
TableExprNodeArrayGEDComplex(const TableExprNodeRep &)
casacore::TableExprNodeArrayGEDate::TableExprNodeArrayGEDate
TableExprNodeArrayGEDate(const TableExprNodeRep &)
casacore::TableExprNodeArrayGEDate::~TableExprNodeArrayGEDate
~TableExprNodeArrayGEDate()
casacore::TableExprNodeArrayGEDate::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayGEDouble::TableExprNodeArrayGEDouble
TableExprNodeArrayGEDouble(const TableExprNodeRep &)
casacore::TableExprNodeArrayGEDouble::~TableExprNodeArrayGEDouble
~TableExprNodeArrayGEDouble()
casacore::TableExprNodeArrayGEDouble::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayGEInt::TableExprNodeArrayGEInt
TableExprNodeArrayGEInt(const TableExprNodeRep &)
casacore::TableExprNodeArrayGEInt::~TableExprNodeArrayGEInt
~TableExprNodeArrayGEInt()
casacore::TableExprNodeArrayGEInt::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayGEString::TableExprNodeArrayGEString
TableExprNodeArrayGEString(const TableExprNodeRep &)
casacore::TableExprNodeArrayGEString::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayGEString::~TableExprNodeArrayGEString
~TableExprNodeArrayGEString()
casacore::TableExprNodeArrayGTDComplex::TableExprNodeArrayGTDComplex
TableExprNodeArrayGTDComplex(const TableExprNodeRep &)
casacore::TableExprNodeArrayGTDComplex::~TableExprNodeArrayGTDComplex
~TableExprNodeArrayGTDComplex()
casacore::TableExprNodeArrayGTDComplex::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayGTDate::~TableExprNodeArrayGTDate
~TableExprNodeArrayGTDate()
casacore::TableExprNodeArrayGTDate::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayGTDate::TableExprNodeArrayGTDate
TableExprNodeArrayGTDate(const TableExprNodeRep &)
casacore::TableExprNodeArrayGTDouble::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayGTDouble::~TableExprNodeArrayGTDouble
~TableExprNodeArrayGTDouble()
casacore::TableExprNodeArrayGTDouble::TableExprNodeArrayGTDouble
TableExprNodeArrayGTDouble(const TableExprNodeRep &)
casacore::TableExprNodeArrayGTInt::~TableExprNodeArrayGTInt
~TableExprNodeArrayGTInt()
casacore::TableExprNodeArrayGTInt::TableExprNodeArrayGTInt
TableExprNodeArrayGTInt(const TableExprNodeRep &)
casacore::TableExprNodeArrayGTInt::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayGTString::~TableExprNodeArrayGTString
~TableExprNodeArrayGTString()
casacore::TableExprNodeArrayGTString::TableExprNodeArrayGTString
TableExprNodeArrayGTString(const TableExprNodeRep &)
casacore::TableExprNodeArrayGTString::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayINDComplex::~TableExprNodeArrayINDComplex
~TableExprNodeArrayINDComplex()
casacore::TableExprNodeArrayINDComplex::TableExprNodeArrayINDComplex
TableExprNodeArrayINDComplex(const TableExprNodeRep &)
casacore::TableExprNodeArrayINDComplex::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayINDate::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id) override
Get an array value for this node in the given row.
casacore::TableExprNodeArrayINDate::optimize
virtual void optimize() override
Try to optimize the node (meant for the right hand of the IN operator).
casacore::TableExprNodeArrayINDate::~TableExprNodeArrayINDate
~TableExprNodeArrayINDate()
casacore::TableExprNodeArrayINDate::TableExprNodeArrayINDate
TableExprNodeArrayINDate(const TableExprNodeRep &)
casacore::TableExprNodeArrayINDouble::optimize
virtual void optimize() override
Try to optimize the node (meant for the right hand of the IN operator).
casacore::TableExprNodeArrayINDouble::TableExprNodeArrayINDouble
TableExprNodeArrayINDouble(const TableExprNodeRep &)
casacore::TableExprNodeArrayINDouble::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id) override
Get an array value for this node in the given row.
casacore::TableExprNodeArrayINDouble::~TableExprNodeArrayINDouble
~TableExprNodeArrayINDouble()
casacore::TableExprNodeArrayINInt::TableExprNodeArrayINInt
TableExprNodeArrayINInt(const TableExprNodeRep &)
casacore::TableExprNodeArrayINInt::getArrayBool
virtual MArray< Bool > getArrayBool(const TableExprId &id) override
Get an array value for this node in the given row.
casacore::TableExprNodeArrayINInt::~TableExprNodeArrayINInt
~TableExprNodeArrayINInt()
casacore::TableExprNodeArrayINInt::optimize
virtual void optimize() override
Try to optimize the node (meant for the right hand of the IN operator).
casacore::TableExprNodeArrayINString::~TableExprNodeArrayINString
~TableExprNodeArrayINString()
casacore::TableExprNodeArrayINString::TableExprNodeArrayINString
TableExprNodeArrayINString(const TableExprNodeRep &)
casacore::TableExprNodeArrayINString::optimize
virtual void optimize() override
Try to optimize the node (meant for the right hand of the IN operator).
casacore::TableExprNodeArrayINString::getArrayBool
virtual MArray< Bool > getArrayBool(const TableExprId &id) override
Get an array value for this node in the given row.
casacore::TableExprNodeArrayNEBool::TableExprNodeArrayNEBool
TableExprNodeArrayNEBool(const TableExprNodeRep &)
casacore::TableExprNodeArrayNEBool::~TableExprNodeArrayNEBool
~TableExprNodeArrayNEBool()
casacore::TableExprNodeArrayNEBool::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayNEDComplex::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayNEDComplex::~TableExprNodeArrayNEDComplex
~TableExprNodeArrayNEDComplex()
casacore::TableExprNodeArrayNEDComplex::TableExprNodeArrayNEDComplex
TableExprNodeArrayNEDComplex(const TableExprNodeRep &)
casacore::TableExprNodeArrayNEDate::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayNEDate::~TableExprNodeArrayNEDate
~TableExprNodeArrayNEDate()
casacore::TableExprNodeArrayNEDate::TableExprNodeArrayNEDate
TableExprNodeArrayNEDate(const TableExprNodeRep &)
casacore::TableExprNodeArrayNEDouble::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayNEDouble::~TableExprNodeArrayNEDouble
~TableExprNodeArrayNEDouble()
casacore::TableExprNodeArrayNEDouble::TableExprNodeArrayNEDouble
TableExprNodeArrayNEDouble(const TableExprNodeRep &)
casacore::TableExprNodeArrayNEInt::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayNEInt::~TableExprNodeArrayNEInt
~TableExprNodeArrayNEInt()
casacore::TableExprNodeArrayNEInt::TableExprNodeArrayNEInt
TableExprNodeArrayNEInt(const TableExprNodeRep &)
casacore::TableExprNodeArrayNERegex::~TableExprNodeArrayNERegex
~TableExprNodeArrayNERegex()
casacore::TableExprNodeArrayNERegex::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayNERegex::TableExprNodeArrayNERegex
TableExprNodeArrayNERegex(const TableExprNodeRep &)
casacore::TableExprNodeArrayNEString::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayNEString::~TableExprNodeArrayNEString
~TableExprNodeArrayNEString()
casacore::TableExprNodeArrayNEString::TableExprNodeArrayNEString
TableExprNodeArrayNEString(const TableExprNodeRep &)
casacore::TableExprNodeArrayNOT::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayNOT::~TableExprNodeArrayNOT
~TableExprNodeArrayNOT()
casacore::TableExprNodeArrayNOT::TableExprNodeArrayNOT
TableExprNodeArrayNOT(const TableExprNodeRep &)
casacore::TableExprNodeArrayOR::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayOR::~TableExprNodeArrayOR
~TableExprNodeArrayOR()
casacore::TableExprNodeArrayOR::TableExprNodeArrayOR
TableExprNodeArrayOR(const TableExprNodeRep &)
casacore::TableExprNodeArray::TableExprNodeArray
TableExprNodeArray(NodeDataType, OperType)
Create the object.
casacore::TableExprNodeRep
Abstract base class for a node in a table column expression tree.
Definition ExprNodeRep.h:202
casacore
this file contains all the compiler specific defines
Definition mainpage.dox:28