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$
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 
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:
67 private:
69 };
70 
71 
72 // <summary>
73 // Int Array constant in table select expression tree
74 // </summary>
75 
76 // <use visibility=local>
77 
78 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
79 // </reviewed>
80 
81 // <prerequisite>
82 //# Classes you should understand before using this one.
83 // <li> TableExprNodeArray
84 // </prerequisite>
85 
86 // <synopsis>
87 // This class represents a constant in a table select expression tree.
88 // This is also used to hold the value of a table keyword, which is
89 // constant over the entire table.
90 // </synopsis>
91 
93 {
94 public:
105 private:
107 };
108 
109 
110 // <summary>
111 // Double Array constant in table select expression tree
112 // </summary>
113 
114 // <use visibility=local>
115 
116 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
117 // </reviewed>
118 
119 // <prerequisite>
120 //# Classes you should understand before using this one.
121 // <li> TableExprNodeArray
122 // </prerequisite>
123 
124 // <synopsis>
125 // This class represents a constant in a table select expression tree.
126 // This is also used to hold the value of a table keyword, which is
127 // constant over the entire table.
128 // </synopsis>
129 
131 {
132 public:
139 private:
141 };
142 
143 
144 // <summary>
145 // DComplex Array constant in table select expression tree
146 // </summary>
147 
148 // <use visibility=local>
149 
150 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
151 // </reviewed>
152 
153 // <prerequisite>
154 //# Classes you should understand before using this one.
155 // <li> TableExprNodeArray
156 // </prerequisite>
157 
158 // <synopsis>
159 // This class represents a constant in a table select expression tree.
160 // This is also used to hold the value of a table keyword, which is
161 // constant over the entire table.
162 // </synopsis>
163 
165 {
166 public:
173 private:
175 };
176 
177 
178 // <summary>
179 // String Array constant in table select expression tree
180 // </summary>
181 
182 // <use visibility=local>
183 
184 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
185 // </reviewed>
186 
187 // <prerequisite>
188 //# Classes you should understand before using this one.
189 // <li> TableExprNodeArray
190 // </prerequisite>
191 
192 // <synopsis>
193 // This class represents a constant in a table select expression tree.
194 // This is also used to hold the value of a table keyword, which is
195 // constant over the entire table.
196 // </synopsis>
197 
199 {
200 public:
204 private:
206 };
207 
208 
209 // <summary>
210 // Date Array constant in table select expression tree
211 // </summary>
212 
213 // <use visibility=local>
214 
215 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
216 // </reviewed>
217 
218 // <prerequisite>
219 //# Classes you should understand before using this one.
220 // <li> TableExprNodeArray
221 // </prerequisite>
222 
223 // <synopsis>
224 // This class represents a constant in a table select expression tree.
225 // This is also used to hold the value of a table keyword, which is
226 // constant over the entire table.
227 // </synopsis>
228 
230 {
231 public:
236 private:
238 };
239 
240 
241 
242 
243 } //# NAMESPACE CASACORE - END
244 
245 #endif
virtual Array< String > getArrayString(const TableExprId &id)
Int Array constant in table select expression tree.
virtual Array< MVTime > getArrayDate(const TableExprId &id)
Bool Array constant in table select expression tree.
Base class for arrays in table select expression.
Definition: ExprNodeArray.h:66
TableExprNodeArrayConstBool(const Array< Bool > &value)
virtual Array< Double > getArrayDouble(const TableExprId &id)
The default implementation of getArrayDouble does getArrayInt and converts the result.
Array< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
String Array constant in table select expression tree.
virtual Array< DComplex > getArrayDComplex(const TableExprId &id)
The default implementation of getArrayDComplex does getArrayDouble and converts the result...
Double Array constant in table select expression tree.
virtual Array< Int64 > getArrayInt(const TableExprId &id)
The identification of a TaQL selection subject.
Definition: TableExprId.h:98
DComplex Array constant in table select expression tree.
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.
Date Array constant in table select expression tree.