casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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>
35 
36 namespace 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 {
63 public:
68 private:
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 {
95 public:
114 private:
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 {
141 public:
151 private:
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 {
178 public:
189 private:
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 {
216 public:
221 private:
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 {
248 public:
254 private:
256 };
257 
258 
259 
260 
261 } //# NAMESPACE CASACORE - END
262 
263 #endif
TableExprNodeArrayConstDouble(const Array< Double > &value)
Int Array constant in table select expression tree.
Bool Array constant in table select expression tree.
MArray< Double > getArrayDouble(const TableExprId &id)
The default implementation of getArrayDouble does getArrayInt and converts the result.
Base class for arrays in table select expression.
Definition: ExprNodeArray.h:65
TableExprNodeArrayConstBool(const Array< Bool > &value)
TableExprNodeArrayConstDate(const Array< MVTime > &value)
TableExprNodeArrayConstString(const Array< String > &value)
MArray< DComplex > getArrayDComplex(const TableExprId &id)
The default implementation of getArrayDComplex does getArrayDouble and converts the result...
String Array constant in table select expression tree.
MArray< DComplex > getArrayDComplex(const TableExprId &id)
The default implementation of getArrayDComplex does getArrayDouble and converts the result...
TableExprNodeArrayConstDComplex(const Array< DComplex > &value)
MArray< String > getArrayString(const TableExprId &id)
MArray< Double > getArrayDouble(const TableExprId &id)
The default implementation of getArrayDouble does getArrayInt and converts the result.
TableExprNodeArrayConstInt(const Array< uInt64 > &value)
Double Array constant in table select expression tree.
MArray< MVTime > getArrayDate(const TableExprId &id)
MArray< DComplex > getArrayDComplex(const TableExprId &id)
The default implementation of getArrayDComplex does getArrayDouble and converts the result...
The identification of a TaQL selection subject.
Definition: TableExprId.h:97
MArray< Int64 > getArrayInt(const TableExprId &id)
MArray< Double > getArrayDouble(const TableExprId &id)
The default implementation of getArrayDouble does getArrayInt and converts the result.
DComplex Array constant in table select expression tree.
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
Date Array constant in table select expression tree.