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 
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:
112 private:
114 };
115 
116 
117 // <summary>
118 // Double Array constant in table select expression tree
119 // </summary>
120 
121 // <use visibility=local>
122 
123 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
124 // </reviewed>
125 
126 // <prerequisite>
127 //# Classes you should understand before using this one.
128 // <li> TableExprNodeArray
129 // </prerequisite>
130 
131 // <synopsis>
132 // This class represents a constant in a table select expression tree.
133 // This is also used to hold the value of a table keyword, which is
134 // constant over the entire table.
135 // </synopsis>
136 
138 {
139 public:
149 private:
151 };
152 
153 
154 // <summary>
155 // DComplex Array constant in table select expression tree
156 // </summary>
157 
158 // <use visibility=local>
159 
160 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
161 // </reviewed>
162 
163 // <prerequisite>
164 //# Classes you should understand before using this one.
165 // <li> TableExprNodeArray
166 // </prerequisite>
167 
168 // <synopsis>
169 // This class represents a constant in a table select expression tree.
170 // This is also used to hold the value of a table keyword, which is
171 // constant over the entire table.
172 // </synopsis>
173 
175 {
176 public:
187 private:
189 };
190 
191 
192 // <summary>
193 // String Array constant in table select expression tree
194 // </summary>
195 
196 // <use visibility=local>
197 
198 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
199 // </reviewed>
200 
201 // <prerequisite>
202 //# Classes you should understand before using this one.
203 // <li> TableExprNodeArray
204 // </prerequisite>
205 
206 // <synopsis>
207 // This class represents a constant in a table select expression tree.
208 // This is also used to hold the value of a table keyword, which is
209 // constant over the entire table.
210 // </synopsis>
211 
213 {
214 public:
219 private:
221 };
222 
223 
224 // <summary>
225 // Date Array constant in table select expression tree
226 // </summary>
227 
228 // <use visibility=local>
229 
230 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="">
231 // </reviewed>
232 
233 // <prerequisite>
234 //# Classes you should understand before using this one.
235 // <li> TableExprNodeArray
236 // </prerequisite>
237 
238 // <synopsis>
239 // This class represents a constant in a table select expression tree.
240 // This is also used to hold the value of a table keyword, which is
241 // constant over the entire table.
242 // </synopsis>
243 
245 {
246 public:
252 private:
254 };
255 
256 
257 
258 
259 } //# NAMESPACE CASACORE - END
260 
261 #endif
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const Array< uShort > &value)
casacore::TableExprNodeArrayConstDate
Date Array constant in table select expression tree.
Definition: ExprDerNodeArray.h:245
casacore::TableExprNodeArrayConstDouble::TableExprNodeArrayConstDouble
TableExprNodeArrayConstDouble(const MArray< Float > &value)
casacore::TableExprNodeArrayConstInt::getArrayInt
MArray< Int64 > getArrayInt(const TableExprId &id)
casacore::TableExprNodeArrayConstBool::getArrayBool
MArray< Bool > getArrayBool(const TableExprId &id)
Get an array value for this node in the given row.
casacore::TableExprNodeArrayConstDouble::TableExprNodeArrayConstDouble
TableExprNodeArrayConstDouble(const MArray< Int64 > &value)
casacore::TableExprNodeArrayConstDComplex::TableExprNodeArrayConstDComplex
TableExprNodeArrayConstDComplex(const Array< Double > &value)
casacore::TableExprNodeArrayConstDComplex
DComplex Array constant in table select expression tree.
Definition: ExprDerNodeArray.h:175
casacore::TableExprNodeArrayConstDComplex::TableExprNodeArrayConstDComplex
TableExprNodeArrayConstDComplex(const MArray< DComplex > &value)
casacore::TableExprNodeArrayConstDouble::~TableExprNodeArrayConstDouble
~TableExprNodeArrayConstDouble()
casacore::TableExprNodeArrayConstDouble::TableExprNodeArrayConstDouble
TableExprNodeArrayConstDouble(const Array< Float > &value)
casacore::TableExprNodeArrayConstString::TableExprNodeArrayConstString
TableExprNodeArrayConstString(const Array< String > &value)
casacore::TableExprNodeArrayConstDouble::TableExprNodeArrayConstDouble
TableExprNodeArrayConstDouble(const Array< Double > &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 MArray< Int > &value)
casacore::TableExprNodeArrayConstDComplex::~TableExprNodeArrayConstDComplex
~TableExprNodeArrayConstDComplex()
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const MArray< uInt > &value)
casacore::TableExprNodeArrayConstBool
Bool Array constant in table select expression tree.
Definition: ExprDerNodeArray.h:62
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const MArray< uShort > &value)
casacore::TableExprNodeArrayConstDouble::TableExprNodeArrayConstDouble
TableExprNodeArrayConstDouble(const Array< Int64 > &value)
casacore::TableExprNodeArrayConstInt
Int Array constant in table select expression tree.
Definition: ExprDerNodeArray.h:94
casacore::TableExprNodeArrayConstInt::getArrayDComplex
MArray< DComplex > getArrayDComplex(const TableExprId &id)
The default implementation of getArrayDComplex does getArrayDouble and converts the result.
casacore::TableExprNodeArrayConstDComplex::TableExprNodeArrayConstDComplex
TableExprNodeArrayConstDComplex(const MArray< Double > &value)
casacore::TableExprNodeArrayConstDComplex::TableExprNodeArrayConstDComplex
TableExprNodeArrayConstDComplex(const Array< Complex > &value)
casacore::TableExprNodeArrayConstDComplex::getArrayDComplex
MArray< DComplex > getArrayDComplex(const TableExprId &id)
The default implementation of getArrayDComplex does getArrayDouble and converts the result.
casacore::TableExprNodeArrayConstDate::getArrayDouble
MArray< Double > getArrayDouble(const TableExprId &id)
The default implementation of getArrayDouble does getArrayInt and converts the result.
casacore::value
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
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::TableExprNodeArrayConstString::getArrayString
MArray< String > getArrayString(const TableExprId &id)
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const Array< uChar > &value)
casacore::TableExprNodeArrayConstString::~TableExprNodeArrayConstString
~TableExprNodeArrayConstString()
casacore::TableExprNodeArray
Base class for arrays in table select expression.
Definition: ExprNodeArray.h:66
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const Array< Int > &value)
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const MArray< Short > &value)
casacore::TableExprNodeArrayConstBool::value_p
MArray< Bool > value_p
Definition: ExprDerNodeArray.h:69
casacore::TableExprNodeArrayConstString
String Array constant in table select expression tree.
Definition: ExprDerNodeArray.h:213
casacore::TableExprNodeArrayConstDouble::TableExprNodeArrayConstDouble
TableExprNodeArrayConstDouble(const MArray< Double > &value)
casacore::TableExprNodeArrayConstBool::~TableExprNodeArrayConstBool
~TableExprNodeArrayConstBool()
casacore::TableExprNodeArrayConstDate::value_p
MArray< MVTime > value_p
Definition: ExprDerNodeArray.h:253
casacore
this file contains all the compiler specific defines
Definition: mainpage.dox:28
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const MArray< Int64 > &value)
casacore::TableExprNodeArrayConstDComplex::value_p
MArray< DComplex > value_p
Definition: ExprDerNodeArray.h:188
casacore::TableExprNodeArrayConstDate::TableExprNodeArrayConstDate
TableExprNodeArrayConstDate(const Array< MVTime > &value)
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const MArray< uChar > &value)
casacore::TableExprId
The identification of a TaQL selection subject.
Definition: TableExprId.h:98
casacore::TableExprNodeArrayConstBool::TableExprNodeArrayConstBool
TableExprNodeArrayConstBool(const MArray< Bool > &value)
casacore::TableExprNodeArrayConstDComplex::TableExprNodeArrayConstDComplex
TableExprNodeArrayConstDComplex(const Array< DComplex > &value)
casacore::TableExprNodeArrayConstInt::~TableExprNodeArrayConstInt
~TableExprNodeArrayConstInt()
casacore::TableExprNodeArrayConstDate::TableExprNodeArrayConstDate
TableExprNodeArrayConstDate(const MArray< MVTime > &value)
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const Array< uInt > &value)
casacore::TableExprNodeArrayConstDComplex::TableExprNodeArrayConstDComplex
TableExprNodeArrayConstDComplex(const MArray< Int64 > &value)
casacore::TableExprNodeArrayConstDComplex::TableExprNodeArrayConstDComplex
TableExprNodeArrayConstDComplex(const MArray< Complex > &value)
casacore::TableExprNodeArrayConstString::TableExprNodeArrayConstString
TableExprNodeArrayConstString(const MArray< String > &value)
casacore::TableExprNodeArrayConstDComplex::TableExprNodeArrayConstDComplex
TableExprNodeArrayConstDComplex(const Array< Int64 > &value)
casacore::Array< Bool >
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const Array< Int64 > &value)
casacore::TableExprNodeArrayConstDate::~TableExprNodeArrayConstDate
~TableExprNodeArrayConstDate()
casacore::TableExprNodeArrayConstString::value_p
MArray< String > value_p
Definition: ExprDerNodeArray.h:220
casacore::TableExprNodeArrayConstInt::TableExprNodeArrayConstInt
TableExprNodeArrayConstInt(const Array< Short > &value)
casacore::TableExprNodeArrayConstDouble
Double Array constant in table select expression tree.
Definition: ExprDerNodeArray.h:138
casacore::TableExprNodeArrayConstInt::value_p
MArray< Int64 > value_p
Definition: ExprDerNodeArray.h:113
casacore::TableExprNodeArrayConstBool::TableExprNodeArrayConstBool
TableExprNodeArrayConstBool(const Array< Bool > &value)
casacore::MArray< Bool >
casacore::TableExprNodeArrayConstDate::getArrayDate
MArray< MVTime > getArrayDate(const TableExprId &id)
casacore::TableExprNodeArrayConstDouble::getArrayDouble
MArray< Double > getArrayDouble(const TableExprId &id)
The default implementation of getArrayDouble does getArrayInt and converts the result.