casacore
ExprDerNodeArray.h
Go to the documentation of this file.
1//# ExprDerArrayNode.h: Nodes representing constant arrays in table select expression tree
2//# Copyright (C) 1997,1999,2000
3//# Associated Universities, Inc. Washington DC, USA.
4//#
5//# This library is free software; you can redistribute it and/or modify it
6//# under the terms of the GNU Library General Public License as published by
7//# the Free Software Foundation; either version 2 of the License, or (at your
8//# option) any later version.
9//#
10//# This library is distributed in the hope that it will be useful, but WITHOUT
11//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13//# License for more details.
14//#
15//# You should have received a copy of the GNU Library General Public License
16//# along with this library; if not, write to the Free Software Foundation,
17//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
18//#
19//# Correspondence concerning AIPS++ should be addressed as follows:
20//# Internet email: aips2-request@nrao.edu.
21//# Postal address: AIPS++ Project Office
22//# National Radio Astronomy Observatory
23//# 520 Edgemont Road
24//# Charlottesville, VA 22903-2475 USA
25//#
26//# $Id: ExprDerNodeArray.h 21262 2012-09-07 12:38:36Z gervandiepen $
27
28#ifndef TABLES_EXPRDERNODEARRAY_H
29#define TABLES_EXPRDERNODEARRAY_H
30
31//# Includes
32#include <casacore/casa/aips.h>
33#include <casacore/tables/TaQL/ExprNodeArray.h>
34#include <casacore/casa/Arrays/Array.h>
35
36namespace casacore { //# NAMESPACE CASACORE - BEGIN
37
38//# Forward Declarations
39
40
41// <summary>
42// Bool Array constant in table select expression tree
43// </summary>
44
45// <use visibility=local>
46
47// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
48// </reviewed>
49
50// <prerequisite>
51//# Classes you should understand before using this one.
52// <li> TableExprNodeArray
53// </prerequisite>
54
55// <synopsis>
56// This class represents a constant in a table select expression tree.
57// This is also used to hold the value of a table keyword, which is
58// constant over the entire table.
59// </synopsis>
60
62{
63public:
68private:
70};
71
72
73// <summary>
74// Int Array constant in table select expression tree
75// </summary>
76
77// <use visibility=local>
78
79// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
80// </reviewed>
81
82// <prerequisite>
83//# Classes you should understand before using this one.
84// <li> TableExprNodeArray
85// </prerequisite>
86
87// <synopsis>
88// This class represents a constant in a table select expression tree.
89// This is also used to hold the value of a table keyword, which is
90// constant over the entire table.
91// </synopsis>
92
94{
95public:
114private:
116};
117
118
119// <summary>
120// Double Array constant in table select expression tree
121// </summary>
122
123// <use visibility=local>
124
125// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
126// </reviewed>
127
128// <prerequisite>
129//# Classes you should understand before using this one.
130// <li> TableExprNodeArray
131// </prerequisite>
132
133// <synopsis>
134// This class represents a constant in a table select expression tree.
135// This is also used to hold the value of a table keyword, which is
136// constant over the entire table.
137// </synopsis>
138
140{
141public:
151private:
153};
154
155
156// <summary>
157// DComplex Array constant in table select expression tree
158// </summary>
159
160// <use visibility=local>
161
162// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
163// </reviewed>
164
165// <prerequisite>
166//# Classes you should understand before using this one.
167// <li> TableExprNodeArray
168// </prerequisite>
169
170// <synopsis>
171// This class represents a constant in a table select expression tree.
172// This is also used to hold the value of a table keyword, which is
173// constant over the entire table.
174// </synopsis>
175
177{
178public:
189private:
191};
192
193
194// <summary>
195// String Array constant in table select expression tree
196// </summary>
197
198// <use visibility=local>
199
200// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
201// </reviewed>
202
203// <prerequisite>
204//# Classes you should understand before using this one.
205// <li> TableExprNodeArray
206// </prerequisite>
207
208// <synopsis>
209// This class represents a constant in a table select expression tree.
210// This is also used to hold the value of a table keyword, which is
211// constant over the entire table.
212// </synopsis>
213
215{
216public:
221private:
223};
224
225
226// <summary>
227// Date Array constant in table select expression tree
228// </summary>
229
230// <use visibility=local>
231
232// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
233// </reviewed>
234
235// <prerequisite>
236//# Classes you should understand before using this one.
237// <li> TableExprNodeArray
238// </prerequisite>
239
240// <synopsis>
241// This class represents a constant in a table select expression tree.
242// This is also used to hold the value of a table keyword, which is
243// constant over the entire table.
244// </synopsis>
245
247{
248public:
254private:
256};
257
258
259
260
261} //# NAMESPACE CASACORE - END
262
263#endif
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
TableExprNodeArrayConstBool(const Array< Bool > &value)
TableExprNodeArrayConstBool(const MArray< Bool > &value)
DComplex Array constant in table select expression tree.
TableExprNodeArrayConstDComplex(const Array< Double > &value)
TableExprNodeArrayConstDComplex(const MArray< Int64 > &value)
TableExprNodeArrayConstDComplex(const MArray< DComplex > &value)
TableExprNodeArrayConstDComplex(const MArray< Double > &value)
TableExprNodeArrayConstDComplex(const MArray< Complex > &value)
TableExprNodeArrayConstDComplex(const Array< Complex > &value)
TableExprNodeArrayConstDComplex(const Array< DComplex > &value)
MArray< DComplex > getArrayDComplex(const TableExprId &id)
The default implementation of getArrayDComplex does getArrayDouble and converts the result.
TableExprNodeArrayConstDComplex(const Array< Int64 > &value)
Date Array constant in table select expression tree.
TableExprNodeArrayConstDate(const Array< MVTime > &value)
MArray< MVTime > getArrayDate(const TableExprId &id)
TableExprNodeArrayConstDate(const MArray< MVTime > &value)
MArray< Double > getArrayDouble(const TableExprId &id)
The default implementation of getArrayDouble does getArrayInt and converts the result.
Double Array constant in table select expression tree.
TableExprNodeArrayConstDouble(const MArray< Int64 > &value)
MArray< Double > getArrayDouble(const TableExprId &id)
The default implementation of getArrayDouble does getArrayInt and converts the result.
MArray< DComplex > getArrayDComplex(const TableExprId &id)
The default implementation of getArrayDComplex does getArrayDouble and converts the result.
TableExprNodeArrayConstDouble(const MArray< Float > &value)
TableExprNodeArrayConstDouble(const Array< Float > &value)
TableExprNodeArrayConstDouble(const Array< Int64 > &value)
TableExprNodeArrayConstDouble(const MArray< Double > &value)
TableExprNodeArrayConstDouble(const Array< Double > &value)
Int Array constant in table select expression tree.
MArray< Int64 > getArrayInt(const TableExprId &id)
TableExprNodeArrayConstInt(const MArray< uInt64 > &value)
TableExprNodeArrayConstInt(const MArray< uShort > &value)
TableExprNodeArrayConstInt(const MArray< Short > &value)
MArray< DComplex > getArrayDComplex(const TableExprId &id)
The default implementation of getArrayDComplex does getArrayDouble and converts the result.
TableExprNodeArrayConstInt(const Array< uChar > &value)
TableExprNodeArrayConstInt(const Array< Int64 > &value)
TableExprNodeArrayConstInt(const MArray< Int > &value)
TableExprNodeArrayConstInt(const Array< uInt > &value)
MArray< Double > getArrayDouble(const TableExprId &id)
The default implementation of getArrayDouble does getArrayInt and converts the result.
TableExprNodeArrayConstInt(const Array< uInt64 > &value)
TableExprNodeArrayConstInt(const Array< Short > &value)
TableExprNodeArrayConstInt(const Array< Int > &value)
TableExprNodeArrayConstInt(const MArray< Int64 > &value)
TableExprNodeArrayConstInt(const MArray< uInt > &value)
TableExprNodeArrayConstInt(const MArray< uChar > &value)
TableExprNodeArrayConstInt(const Array< uShort > &value)
String Array constant in table select expression tree.
TableExprNodeArrayConstString(const MArray< String > &value)
TableExprNodeArrayConstString(const Array< String > &value)
MArray< String > getArrayString(const TableExprId &id)
this file contains all the compiler specific defines
Definition: mainpage.dox:28
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.