Loading...
Searching...
No Matches
ExprDerNodeArray.h
Go to the documentation of this file.
//# ExprDerArrayNode.h: Nodes representing constant arrays 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_EXPRDERNODEARRAY_H
#define TABLES_EXPRDERNODEARRAY_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
// <summary>
// Bool Array constant 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 constant in a table select expression tree.
// This is also used to hold the value of a table keyword, which is
// constant over the entire table.
// </synopsis>
class TableExprNodeArrayConstBool : public TableExprNodeArray
{
public:
TableExprNodeArrayConstBool (const Array<Bool>& value);
TableExprNodeArrayConstBool (const MArray<Bool>& value);
~TableExprNodeArrayConstBool();
MArray<Bool> getArrayBool (const TableExprId& id);
private:
MArray<Bool> value_p;
};
// <summary>
// Int Array constant 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 constant in a table select expression tree.
// This is also used to hold the value of a table keyword, which is
// constant over the entire table.
// </synopsis>
class TableExprNodeArrayConstInt : public TableExprNodeArray
{
public:
TableExprNodeArrayConstInt (const Array<uInt64>& value);
TableExprNodeArrayConstInt (const Array<Int64>& value);
TableExprNodeArrayConstInt (const Array<uInt>& value);
TableExprNodeArrayConstInt (const Array<Int>& value);
TableExprNodeArrayConstInt (const Array<uShort>& value);
TableExprNodeArrayConstInt (const Array<Short>& value);
TableExprNodeArrayConstInt (const Array<uChar>& value);
TableExprNodeArrayConstInt (const MArray<uInt64>& value);
TableExprNodeArrayConstInt (const MArray<Int64>& value);
TableExprNodeArrayConstInt (const MArray<uInt>& value);
TableExprNodeArrayConstInt (const MArray<Int>& value);
TableExprNodeArrayConstInt (const MArray<uShort>& value);
TableExprNodeArrayConstInt (const MArray<Short>& value);
TableExprNodeArrayConstInt (const MArray<uChar>& value);
~TableExprNodeArrayConstInt();
MArray<Int64> getArrayInt (const TableExprId& id);
MArray<Double> getArrayDouble (const TableExprId& id);
MArray<DComplex> getArrayDComplex (const TableExprId& id);
private:
MArray<Int64> value_p;
};
// <summary>
// Double Array constant 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 constant in a table select expression tree.
// This is also used to hold the value of a table keyword, which is
// constant over the entire table.
// </synopsis>
class TableExprNodeArrayConstDouble : public TableExprNodeArray
{
public:
TableExprNodeArrayConstDouble (const Array<Double>& value);
TableExprNodeArrayConstDouble (const Array<Float>& value);
TableExprNodeArrayConstDouble (const Array<Int64>& value);
TableExprNodeArrayConstDouble (const MArray<Double>& value);
TableExprNodeArrayConstDouble (const MArray<Float>& value);
TableExprNodeArrayConstDouble (const MArray<Int64>& value);
~TableExprNodeArrayConstDouble();
MArray<Double> getArrayDouble (const TableExprId& id);
MArray<DComplex> getArrayDComplex (const TableExprId& id);
private:
MArray<Double> value_p;
};
// <summary>
// DComplex Array constant 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 constant in a table select expression tree.
// This is also used to hold the value of a table keyword, which is
// constant over the entire table.
// </synopsis>
class TableExprNodeArrayConstDComplex : public TableExprNodeArray
{
public:
TableExprNodeArrayConstDComplex (const Array<DComplex>& value);
TableExprNodeArrayConstDComplex (const Array<Complex>& value);
TableExprNodeArrayConstDComplex (const Array<Double>& value);
TableExprNodeArrayConstDComplex (const Array<Int64>& value);
TableExprNodeArrayConstDComplex (const MArray<DComplex>& value);
TableExprNodeArrayConstDComplex (const MArray<Complex>& value);
TableExprNodeArrayConstDComplex (const MArray<Double>& value);
TableExprNodeArrayConstDComplex (const MArray<Int64>& value);
~TableExprNodeArrayConstDComplex();
MArray<DComplex> getArrayDComplex (const TableExprId& id);
private:
MArray<DComplex> value_p;
};
// <summary>
// String Array constant 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 constant in a table select expression tree.
// This is also used to hold the value of a table keyword, which is
// constant over the entire table.
// </synopsis>
class TableExprNodeArrayConstString : public TableExprNodeArray
{
public:
TableExprNodeArrayConstString (const Array<String>& value);
TableExprNodeArrayConstString (const MArray<String>& value);
~TableExprNodeArrayConstString();
MArray<String> getArrayString (const TableExprId& id);
private:
MArray<String> value_p;
};
// <summary>
// Date Array constant 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 constant in a table select expression tree.
// This is also used to hold the value of a table keyword, which is
// constant over the entire table.
// </synopsis>
class TableExprNodeArrayConstDate : public TableExprNodeArray
{
public:
TableExprNodeArrayConstDate (const Array<MVTime>& value);
TableExprNodeArrayConstDate (const MArray<MVTime>& value);
~TableExprNodeArrayConstDate();
MArray<Double> getArrayDouble(const TableExprId& id);
MArray<MVTime> getArrayDate (const TableExprId& id);
private:
MArray<MVTime> value_p;
};
} //# NAMESPACE CASACORE - END
#endif
casacore::Array
Definition Array.h:155
casacore::MArray
Definition MArray.h:68
casacore::TableExprId
Definition TableExprId.h:95
casacore::TableExprNodeArrayConstBool::value_p
MArray< Bool > value_p
Definition ExprDerNodeArray.h:67
casacore::TableExprNodeArrayConstBool::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayConstBool::TableExprNodeArrayConstBool
TableExprNodeArrayConstBool(const Array< Bool > &value)
casacore::TableExprNodeArrayConstBool::TableExprNodeArrayConstBool
TableExprNodeArrayConstBool(const MArray< Bool > &value)
casacore::TableExprNodeArrayConstBool::~TableExprNodeArrayConstBool
~TableExprNodeArrayConstBool()
casacore::TableExprNodeArrayConstDComplex::TableExprNodeArrayConstDComplex
TableExprNodeArrayConstDComplex(const Array< Double > &value)
casacore::TableExprNodeArrayConstDComplex::TableExprNodeArrayConstDComplex
TableExprNodeArrayConstDComplex(const MArray< Int64 > &value)
casacore::TableExprNodeArrayConstDComplex::value_p
MArray< DComplex > value_p
Definition ExprDerNodeArray.h:188
casacore::TableExprNodeArrayConstDComplex::TableExprNodeArrayConstDComplex
TableExprNodeArrayConstDComplex(const MArray< DComplex > &value)
casacore::TableExprNodeArrayConstDComplex::TableExprNodeArrayConstDComplex
TableExprNodeArrayConstDComplex(const MArray< Double > &value)
casacore::TableExprNodeArrayConstDComplex::~TableExprNodeArrayConstDComplex
~TableExprNodeArrayConstDComplex()
casacore::TableExprNodeArrayConstDComplex::TableExprNodeArrayConstDComplex
TableExprNodeArrayConstDComplex(const MArray< Complex > &value)
casacore::TableExprNodeArrayConstDComplex::TableExprNodeArrayConstDComplex
TableExprNodeArrayConstDComplex(const Array< Complex > &value)
casacore::TableExprNodeArrayConstDComplex::TableExprNodeArrayConstDComplex
TableExprNodeArrayConstDComplex(const Array< DComplex > &value)
casacore::TableExprNodeArrayConstDComplex::getArrayDComplex
MArray< DComplex > getArrayDComplex(const TableExprId &id)
The default implementation of getArrayDComplex does getArrayDouble and converts the result.
casacore::TableExprNodeArrayConstDComplex::TableExprNodeArrayConstDComplex
TableExprNodeArrayConstDComplex(const Array< Int64 > &value)
casacore::TableExprNodeArrayConstDate::value_p
MArray< MVTime > value_p
Definition ExprDerNodeArray.h:253
casacore::TableExprNodeArrayConstDate::~TableExprNodeArrayConstDate
~TableExprNodeArrayConstDate()
casacore::TableExprNodeArrayConstDate::TableExprNodeArrayConstDate
TableExprNodeArrayConstDate(const Array< MVTime > &value)
casacore::TableExprNodeArrayConstDate::getArrayDate
MArray< MVTime > getArrayDate(const TableExprId &id)
casacore::TableExprNodeArrayConstDate::TableExprNodeArrayConstDate
TableExprNodeArrayConstDate(const MArray< MVTime > &value)
casacore::TableExprNodeArrayConstDate::getArrayDouble
MArray< Double > getArrayDouble(const TableExprId &id)
The default implementation of getArrayDouble does getArrayInt and converts the result.
casacore::TableExprNodeArrayConstDouble::TableExprNodeArrayConstDouble
TableExprNodeArrayConstDouble(const MArray< Int64 > &value)
casacore::TableExprNodeArrayConstDouble::getArrayDouble
MArray< Double > getArrayDouble(const TableExprId &id)
The default implementation of getArrayDouble does getArrayInt and converts the result.
casacore::TableExprNodeArrayConstDouble::getArrayDComplex
MArray< DComplex > getArrayDComplex(const TableExprId &id)
The default implementation of getArrayDComplex does getArrayDouble and converts the result.
casacore::TableExprNodeArrayConstDouble::value_p
MArray< Double > value_p
Definition ExprDerNodeArray.h:150
casacore::TableExprNodeArrayConstDouble::TableExprNodeArrayConstDouble
TableExprNodeArrayConstDouble(const MArray< Float > &value)
casacore::TableExprNodeArrayConstDouble::~TableExprNodeArrayConstDouble
~TableExprNodeArrayConstDouble()
casacore::TableExprNodeArrayConstDouble::TableExprNodeArrayConstDouble
TableExprNodeArrayConstDouble(const Array< Float > &value)
casacore::TableExprNodeArrayConstDouble::TableExprNodeArrayConstDouble
TableExprNodeArrayConstDouble(const Array< Int64 > &value)
casacore::TableExprNodeArrayConstDouble::TableExprNodeArrayConstDouble
TableExprNodeArrayConstDouble(const MArray< Double > &value)
casacore::TableExprNodeArrayConstDouble::TableExprNodeArrayConstDouble
TableExprNodeArrayConstDouble(const Array< Double > &value)
casacore::TableExprNodeArrayConstInt::getArrayInt
MArray< Int64 > getArrayInt(const TableExprId &id)
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const MArray< uInt64 > &value)
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const MArray< uShort > &value)
casacore::TableExprNodeArrayConstInt::~TableExprNodeArrayConstInt
~TableExprNodeArrayConstInt()
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const MArray< Short > &value)
casacore::TableExprNodeArrayConstInt::getArrayDComplex
MArray< DComplex > getArrayDComplex(const TableExprId &id)
The default implementation of getArrayDComplex does getArrayDouble and converts the result.
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const Array< uChar > &value)
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const Array< Int64 > &value)
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const MArray< Int > &value)
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const Array< uInt > &value)
casacore::TableExprNodeArrayConstInt::getArrayDouble
MArray< Double > getArrayDouble(const TableExprId &id)
The default implementation of getArrayDouble does getArrayInt and converts the result.
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const Array< uInt64 > &value)
casacore::TableExprNodeArrayConstInt::value_p
MArray< Int64 > value_p
Definition ExprDerNodeArray.h:113
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const Array< Short > &value)
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const Array< Int > &value)
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const MArray< Int64 > &value)
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const MArray< uInt > &value)
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const MArray< uChar > &value)
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const Array< uShort > &value)
casacore::TableExprNodeArrayConstString::TableExprNodeArrayConstString
TableExprNodeArrayConstString(const MArray< String > &value)
casacore::TableExprNodeArrayConstString::value_p
MArray< String > value_p
Definition ExprDerNodeArray.h:220
casacore::TableExprNodeArrayConstString::TableExprNodeArrayConstString
TableExprNodeArrayConstString(const Array< String > &value)
casacore::TableExprNodeArrayConstString::getArrayString
MArray< String > getArrayString(const TableExprId &id)
casacore::TableExprNodeArrayConstString::~TableExprNodeArrayConstString
~TableExprNodeArrayConstString()
casacore::TableExprNodeArray::TableExprNodeArray
TableExprNodeArray(NodeDataType, OperType)
Create the object.
casacore
this file contains all the compiler specific defines
Definition mainpage.dox:28
casacore::value
NewDelAllocator< T > NewDelAllocator< T >::value
Definition Allocator.h:368