casacore
Loading...
Searching...
No Matches
StManColumn.h
Go to the documentation of this file.
1// # StManColumn.h: Base storage manager column class
2// # Copyright (C) 1994,1995,1996,1998,2002
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: casa-feedback@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#ifndef TABLES_STMANCOLUMN_H
27#define TABLES_STMANCOLUMN_H
28
29// # Includes
30#include <casacore/casa/aips.h>
31#include <casacore/tables/DataMan/StManColumnBase.h>
32#include <casacore/casa/Arrays/IPosition.h>
33
34namespace casacore { // # NAMESPACE CASACORE - BEGIN
35
36// <summary>
37// Base table column storage manager class
38// </summary>
39
40// <use visibility=local>
41
42// <reviewed reviewer="Gareth Hunt" date="94Nov17" tests="">
43// </reviewed>
44
45// <prerequisite>
46// # Classes you should understand before using this one.
47// <li> DataManagerColumn
48// </prerequisite>
49
50// <etymology>
51// StManColumn handles a column for a storage manager.
52// </etymology>
53
54// <synopsis>
55// StManColumn is the old storage manager base class which has been replaced
56// by StManColumnBase.
57// However, the class still exists for backward compatibility for external storage
58// managers (such as LofarStMan) that do not derive from StManColumnBase yet.
59// It also maps the new get/put functions taking a rownr_t to the old
60// functions taking a uInt rownr.
61// </synopsis>
62
63// <motivation>
64// Provide backward compatibility for external storage managers.
65// </motivation>
66
67// <todo asof="$DATE:$">
68// # A List of bugs, limitations, extensions or planned refinements.
69// </todo>
70
72 public:
73 // Default constructor.
75
76 virtual ~StManColumn();
77
78 // The object cannot be copied.
79 StManColumn(const StManColumn&) = delete;
80
81 // The object cannot be assigned to.
83
84 // Set the shape of an (variable-shaped) array in the given row.
85 // By default it throws a "not possible" exception.
86 virtual void setShape(rownr_t rownr, const IPosition& shape);
87 virtual void setShape(uInt rownr, const IPosition& shape);
88
89 // Set the shape and tile shape of an (variable-shaped) array
90 // in the given row.
91 // By default it ignores the tile shape (thus only sets the shape).
92 virtual void setShapeTiled(rownr_t rownr, const IPosition& shape, const IPosition& tileShape);
93 virtual void setShapeTiled(uInt rownr, const IPosition& shape, const IPosition& tileShape);
94
95 // Is the value shape defined in the given row?
96 // By default it returns True.
97 virtual Bool isShapeDefined(rownr_t rownr);
98 virtual Bool isShapeDefined(uInt rownr);
99
100 // Get the dimensionality of the item in the given row.
101 // By default it returns shape(rownr).nelements().
102 virtual uInt ndim(rownr_t rownr);
103 virtual uInt ndim(uInt rownr);
104
105 // Get the shape of the item in the given row.
106 // By default it returns a zero-length IPosition (for a scalar value).
107 virtual IPosition shape(rownr_t rownr);
108 virtual IPosition shape(uInt rownr);
109
110 // Get the tile shape of the item in the given row.
111 // By default it returns a zero-length IPosition.
113 virtual IPosition tileShape(uInt rownr);
114
115 // Get the scalar value in the given row.
116 // <group>
117 virtual void getBool(rownr_t rownr, Bool* dataPtr);
118 virtual void getuChar(rownr_t rownr, uChar* dataPtr);
119 virtual void getShort(rownr_t rownr, Short* dataPtr);
120 virtual void getuShort(rownr_t rownr, uShort* dataPtr);
121 virtual void getInt(rownr_t rownr, Int* dataPtr);
122 virtual void getuInt(rownr_t rownr, uInt* dataPtr);
123 virtual void getfloat(rownr_t rownr, float* dataPtr);
124 virtual void getdouble(rownr_t rownr, double* dataPtr);
125 virtual void getComplex(rownr_t rownr, Complex* dataPtr);
126 virtual void getDComplex(rownr_t rownr, DComplex* dataPtr);
127 virtual void getString(rownr_t rownr, String* dataPtr);
128 // </group>
129
130 // Put the scalar value in the given row.
131 // <group>
132 virtual void putBool(rownr_t rownr, const Bool* dataPtr);
133 virtual void putuChar(rownr_t rownr, const uChar* dataPtr);
134 virtual void putShort(rownr_t rownr, const Short* dataPtr);
135 virtual void putuShort(rownr_t rownr, const uShort* dataPtr);
136 virtual void putInt(rownr_t rownr, const Int* dataPtr);
137 virtual void putuInt(rownr_t rownr, const uInt* dataPtr);
138 virtual void putfloat(rownr_t rownr, const float* dataPtr);
139 virtual void putdouble(rownr_t rownr, const double* dataPtr);
140 virtual void putComplex(rownr_t rownr, const Complex* dataPtr);
141 virtual void putDComplex(rownr_t rownr, const DComplex* dataPtr);
142 virtual void putString(rownr_t rownr, const String* dataPtr);
143 // </group>
144
145 // Get all scalar values in the column.
146 // The argument dataPtr is in fact a Vector<T>&, but an ArrayBase&
147 // is needed to be generic.
148 // The vector pointed to by dataPtr has to have the correct length
149 // (which is guaranteed by the ScalarColumn getColumn function).
150 // The default implementation calls the appropriate getScalarColumnXXV.
151 virtual void getScalarColumnV(ArrayBase& dataPtr);
152
153 // Put all scalar values in the column.
154 // The argument dataPtr is in fact a const Vector<T>&, but a const ArrayBase&
155 // is needed to be generic.
156 // The vector pointed to by dataPtr has to have the correct length
157 // (which is guaranteed by the ScalarColumn putColumn function).
158 // The default implementation calls the appropriate putScalarColumnXXV.
159 virtual void putScalarColumnV(const ArrayBase& dataPtr);
160
161 // Get some scalar values in the column.
162 // The argument dataPtr is in fact a Vector<T>&, but an ArrayBase&
163 // is needed to be generic.
164 // The vector pointed to by dataPtr has to have the correct length
165 // (which is guaranteed by the ScalarColumn getColumn function).
166 // The default implementation calls the appropriate getScalarColumnCellsXXV.
167 virtual void getScalarColumnCellsV(const RefRows& rownrs, ArrayBase& dataPtr);
168
169 // Put some scalar values in the column.
170 // The argument dataPtr is in fact a const Vector<T>&, but a const ArrayBase&
171 // is needed to be generic.
172 // The vector pointed to by dataPtr has to have the correct length
173 // (which is guaranteed by the ScalarColumn getColumn function).
174 // The default implementation calls the appropriate putScalarColumnCellsXXV.
175 virtual void putScalarColumnCellsV(const RefRows& rownrs, const ArrayBase& dataPtr);
176
177 // Get the array value in the given row.
178 // The argument dataPtr is in fact an Array<T>&, but a ArrayBase&
179 // is needed to be generic.
180 // The array pointed to by dataPtr has to have the correct shape
181 // (which is guaranteed by the ArrayColumn get function).
182 // The default implementation calls the appropriate getArrayXXV.
183 virtual void getArrayV(rownr_t rownr, ArrayBase& dataPtr);
184
185 // Put the array value into the given row.
186 // The argument dataPtr is in fact a const Array<T>&, but a const ArrayBase&
187 // is needed to be generic.
188 // The array pointed to by dataPtr has to have the correct shape
189 // (which is guaranteed by the ArrayColumn put function).
190 // The default implementation calls the appropriate putArrayXXV.
191 virtual void putArrayV(rownr_t rownr, const ArrayBase& dataPtr);
192
193 // Get all array values in the column.
194 // The argument dataPtr is in fact an Array<T>&, but a ArrayBase&
195 // is needed to be generic.
196 // The vector pointed to by dataPtr has to have the correct length
197 // (which is guaranteed by the ArrayColumn getColumn function).
198 // The default implementation calls the appropriate getArrayColumnXXV.
199 virtual void getArrayColumnV(ArrayBase& dataPtr);
200
201 // Put all array values in the column.
202 // The argument dataPtr is in fact a const Array<T>&, but a const ArrayBase&
203 // is needed to be generic.
204 // The vector pointed to by dataPtr has to have the correct length
205 // (which is guaranteed by the ArrayColumn putColumn function).
206 // The default implementation calls the appropriate putArrayColumnXXV.
207 virtual void putArrayColumnV(const ArrayBase& dataPtr);
208
209 // Get some array values in the column.
210 // The argument dataPtr is in fact an Array<T>&, but a ArrayBase&
211 // is needed to be generic.
212 // The vector pointed to by dataPtr has to have the correct length
213 // (which is guaranteed by the ArrayColumn getColumn function).
214 // The default implementation calls the appropriate getArrayColumnCellsXXV.
215 virtual void getArrayColumnCellsV(const RefRows& rownrs, ArrayBase& dataPtr);
216
217 // Put some array values in the column.
218 // The argument dataPtr is in fact an const Array<T>&, but a const ArrayBase&
219 // is needed to be generic.
220 // The vector pointed to by dataPtr has to have the correct length
221 // (which is guaranteed by the ArrayColumn getColumn function).
222 // The default implementation calls the appropriate putArrayColumnCellsXXV.
223 virtual void putArrayColumnCellsV(const RefRows& rownrs, const ArrayBase& dataPtr);
224
225 // Get a section of the array in the given row.
226 // The argument dataPtr is in fact an Array<T>&, but a ArrayBase&
227 // is needed to be generic.
228 // The array pointed to by dataPtr has to have the correct shape
229 // (which is guaranteed by the ArrayColumn getSlice function).
230 // The default implementation calls the appropriate getSliceXXV.
231 virtual void getSliceV(rownr_t rownr, const Slicer& slicer, ArrayBase& dataPtr);
232
233 // Put into a section of the array in the given row.
234 // The argument dataPtr is in fact a const Array<T>&, but a const ArrayBase&
235 // is needed to be generic.
236 // The array pointed to by dataPtr has to have the correct shape
237 // (which is guaranteed by the ArrayColumn putSlice function).
238 // The default implementation calls the appropriate putSliceXXV.
239 virtual void putSliceV(rownr_t rownr, const Slicer& slicer, const ArrayBase& dataPtr);
240
241 // Get a section of all arrays in the column.
242 // The argument dataPtr is in fact an Array<T>&, but a ArrayBase&
243 // is needed to be generic.
244 // The array pointed to by dataPtr has to have the correct shape
245 // (which is guaranteed by the ArrayColumn getColumn function).
246 // The default implementation calls the appropriate getColumnSliceXXV.
247 virtual void getColumnSliceV(const Slicer& slicer, ArrayBase& dataPtr);
248
249 // Put into a section of all arrays in the column.
250 // The argument dataPtr is in fact a const Array<T>&, but a const ArrayBase&
251 // is needed to be generic.
252 // The array pointed to by dataPtr has to have the correct shape
253 // (which is guaranteed by the ArrayColumn putColumn function).
254 // The default implementation calls the appropriate putColumnSliceXXV.
255 virtual void putColumnSliceV(const Slicer& slicer, const ArrayBase& dataPtr);
256
257 // Get a section of some arrays in the column.
258 // The argument dataPtr is in fact an Array<T>&, but a ArrayBase&
259 // is needed to be generic.
260 // The array pointed to by dataPtr has to have the correct shape
261 // (which is guaranteed by the ArrayColumn getColumn function).
262 // The default implementation calls the appropriate getColumnSliceCellsXXV.
263 virtual void getColumnSliceCellsV(const RefRows& rownrs, const Slicer& slicer,
264 ArrayBase& dataPtr);
265
266 // Put into a section of some arrays in the column.
267 // The argument dataPtr is in fact a const Array<T>&, but a const ArrayBase&
268 // is needed to be generic.
269 // The array pointed to by dataPtr has to have the correct shape
270 // (which is guaranteed by the ArrayColumn putColumn function).
271 // The default implementation calls the appropriate putColumnSliceCellsXXV.
272 virtual void putColumnSliceCellsV(const RefRows& rownrs, const Slicer& slicer,
273 const ArrayBase& dataPtr);
274
275 private:
276 // Throw an "invalid operation" exception for the default
277 // implementation of getArray.
278 void throwInvalidOp(const String& op) const;
279
280 protected:
281 // Get the scalar value in the given row.
282 // <group>
283 virtual void getBoolV(uInt rownr, Bool* dataPtr);
284 virtual void getuCharV(uInt rownr, uChar* dataPtr);
285 virtual void getShortV(uInt rownr, Short* dataPtr);
286 virtual void getuShortV(uInt rownr, uShort* dataPtr);
287 virtual void getIntV(uInt rownr, Int* dataPtr);
288 virtual void getuIntV(uInt rownr, uInt* dataPtr);
289 virtual void getfloatV(uInt rownr, float* dataPtr);
290 virtual void getdoubleV(uInt rownr, double* dataPtr);
291 virtual void getComplexV(uInt rownr, Complex* dataPtr);
292 virtual void getDComplexV(uInt rownr, DComplex* dataPtr);
293 virtual void getStringV(uInt rownr, String* dataPtr);
294 // </group>
295
296 // Put the scalar value in the given row.
297 // <group>
298 virtual void putBoolV(uInt rownr, const Bool* dataPtr);
299 virtual void putuCharV(uInt rownr, const uChar* dataPtr);
300 virtual void putShortV(uInt rownr, const Short* dataPtr);
301 virtual void putuShortV(uInt rownr, const uShort* dataPtr);
302 virtual void putIntV(uInt rownr, const Int* dataPtr);
303 virtual void putuIntV(uInt rownr, const uInt* dataPtr);
304 virtual void putfloatV(uInt rownr, const float* dataPtr);
305 virtual void putdoubleV(uInt rownr, const double* dataPtr);
306 virtual void putComplexV(uInt rownr, const Complex* dataPtr);
307 virtual void putDComplexV(uInt rownr, const DComplex* dataPtr);
308 virtual void putStringV(uInt rownr, const String* dataPtr);
309 // </group>
310
311 // Get the scalar values in the entire column.
312 // The buffer pointed to by dataPtr has to have the correct length.
313 // (which is guaranteed by the ScalarColumn getColumn function).
314 // The default implementations calls DataManagerColumn::getScalarColumnBase.
315 // <group>
316 virtual void getScalarColumnBoolV(Vector<Bool>* dataPtr);
317 virtual void getScalarColumnuCharV(Vector<uChar>* dataPtr);
318 virtual void getScalarColumnShortV(Vector<Short>* dataPtr);
320 virtual void getScalarColumnIntV(Vector<Int>* dataPtr);
321 virtual void getScalarColumnuIntV(Vector<uInt>* dataPtr);
322 virtual void getScalarColumnInt64V(Vector<Int64>* dataPtr);
323 virtual void getScalarColumnfloatV(Vector<float>* dataPtr);
328 // </group>
329
330 // Put the scalar values into the entire column.
331 // The buffer pointed to by dataPtr has to have the correct length.
332 // (which is guaranteed by the ScalarColumn putColumn function).
333 // The default implementations calls DataManagerColumn::putScalarColumnBase.
334 // <group>
335 virtual void putScalarColumnBoolV(const Vector<Bool>* dataPtr);
336 virtual void putScalarColumnuCharV(const Vector<uChar>* dataPtr);
337 virtual void putScalarColumnShortV(const Vector<Short>* dataPtr);
338 virtual void putScalarColumnuShortV(const Vector<uShort>* dataPtr);
339 virtual void putScalarColumnIntV(const Vector<Int>* dataPtr);
340 virtual void putScalarColumnuIntV(const Vector<uInt>* dataPtr);
341 virtual void putScalarColumnInt64V(const Vector<Int64>* dataPtr);
342 virtual void putScalarColumnfloatV(const Vector<float>* dataPtr);
343 virtual void putScalarColumndoubleV(const Vector<double>* dataPtr);
344 virtual void putScalarColumnComplexV(const Vector<Complex>* dataPtr);
345 virtual void putScalarColumnDComplexV(const Vector<DComplex>* dataPtr);
346 virtual void putScalarColumnStringV(const Vector<String>* dataPtr);
347 // </group>
348
349 // Get the scalar values in some cells of the column.
350 // The buffer pointed to by dataPtr has to have the correct length.
351 // (which is guaranteed by the ScalarColumn getColumnCells function).
352 // The default implementations call DataManagerColumn::getScalarColumnCellsBase.
353 // <group>
354 virtual void getScalarColumnCellsBoolV(const RefRows& rownrs, Vector<Bool>* dataPtr);
355 virtual void getScalarColumnCellsuCharV(const RefRows& rownrs, Vector<uChar>* dataPtr);
356 virtual void getScalarColumnCellsShortV(const RefRows& rownrs, Vector<Short>* dataPtr);
357 virtual void getScalarColumnCellsuShortV(const RefRows& rownrs, Vector<uShort>* dataPtr);
358 virtual void getScalarColumnCellsIntV(const RefRows& rownrs, Vector<Int>* dataPtr);
359 virtual void getScalarColumnCellsuIntV(const RefRows& rownrs, Vector<uInt>* dataPtr);
360 virtual void getScalarColumnCellsInt64V(const RefRows& rownrs, Vector<Int64>* dataPtr);
361 virtual void getScalarColumnCellsfloatV(const RefRows& rownrs, Vector<float>* dataPtr);
362 virtual void getScalarColumnCellsdoubleV(const RefRows& rownrs, Vector<double>* dataPtr);
363 virtual void getScalarColumnCellsComplexV(const RefRows& rownrs, Vector<Complex>* dataPtr);
364 virtual void getScalarColumnCellsDComplexV(const RefRows& rownrs, Vector<DComplex>* dataPtr);
365 virtual void getScalarColumnCellsStringV(const RefRows& rownrs, Vector<String>* dataPtr);
366 // </group>
367
368 // Put the scalar values into some cells of the column.
369 // The buffer pointed to by dataPtr has to have the correct length.
370 // (which is guaranteed by the ScalarColumn putColumnCells function).
371 // The default implementations call DataManagerColumn::putScalarColumnCellsBase.
372 // <group>
373 virtual void putScalarColumnCellsBoolV(const RefRows& rownrs, const Vector<Bool>* dataPtr);
374 virtual void putScalarColumnCellsuCharV(const RefRows& rownrs, const Vector<uChar>* dataPtr);
375 virtual void putScalarColumnCellsShortV(const RefRows& rownrs, const Vector<Short>* dataPtr);
376 virtual void putScalarColumnCellsuShortV(const RefRows& rownrs, const Vector<uShort>* dataPtr);
377 virtual void putScalarColumnCellsIntV(const RefRows& rownrs, const Vector<Int>* dataPtr);
378 virtual void putScalarColumnCellsuIntV(const RefRows& rownrs, const Vector<uInt>* dataPtr);
379 virtual void putScalarColumnCellsInt64V(const RefRows& rownrs, const Vector<Int64>* dataPtr);
380 virtual void putScalarColumnCellsfloatV(const RefRows& rownrs, const Vector<float>* dataPtr);
381 virtual void putScalarColumnCellsdoubleV(const RefRows& rownrs, const Vector<double>* dataPtr);
382 virtual void putScalarColumnCellsComplexV(const RefRows& rownrs, const Vector<Complex>* dataPtr);
383 virtual void putScalarColumnCellsDComplexV(const RefRows& rownrs,
384 const Vector<DComplex>* dataPtr);
385 virtual void putScalarColumnCellsStringV(const RefRows& rownrs, const Vector<String>* dataPtr);
386 // </group>
387
388 // Get the array value in the given row.
389 // The array pointed to by dataPtr has to have the correct length
390 // (which is guaranteed by the ArrayColumn get function).
391 // The default implementations throw an exception.
392 // <group>
393 virtual void getArrayBoolV(uInt rownr, Array<Bool>* dataPtr);
394 virtual void getArrayuCharV(uInt rownr, Array<uChar>* dataPtr);
395 virtual void getArrayShortV(uInt rownr, Array<Short>* dataPtr);
396 virtual void getArrayuShortV(uInt rownr, Array<uShort>* dataPtr);
397 virtual void getArrayIntV(uInt rownr, Array<Int>* dataPtr);
398 virtual void getArrayuIntV(uInt rownr, Array<uInt>* dataPtr);
399 virtual void getArrayInt64V(uInt rownr, Array<Int64>* dataPtr);
400 virtual void getArrayfloatV(uInt rownr, Array<float>* dataPtr);
401 virtual void getArraydoubleV(uInt rownr, Array<double>* dataPtr);
402 virtual void getArrayComplexV(uInt rownr, Array<Complex>* dataPtr);
403 virtual void getArrayDComplexV(uInt rownr, Array<DComplex>* dataPtr);
404 virtual void getArrayStringV(uInt rownr, Array<String>* dataPtr);
405 // </group>
406
407 // Put the array value into the given row.
408 // The buffer pointed to by dataPtr has to have the correct length
409 // (which is guaranteed by the ArrayColumn put function).
410 // The default implementations throw an exception.
411 // <group>
412 virtual void putArrayBoolV(uInt rownr, const Array<Bool>* dataPtr);
413 virtual void putArrayuCharV(uInt rownr, const Array<uChar>* dataPtr);
414 virtual void putArrayShortV(uInt rownr, const Array<Short>* dataPtr);
415 virtual void putArrayuShortV(uInt rownr, const Array<uShort>* dataPtr);
416 virtual void putArrayIntV(uInt rownr, const Array<Int>* dataPtr);
417 virtual void putArrayuIntV(uInt rownr, const Array<uInt>* dataPtr);
418 virtual void putArrayInt64V(uInt rownr, const Array<Int64>* dataPtr);
419 virtual void putArrayfloatV(uInt rownr, const Array<float>* dataPtr);
420 virtual void putArraydoubleV(uInt rownr, const Array<double>* dataPtr);
421 virtual void putArrayComplexV(uInt rownr, const Array<Complex>* dataPtr);
422 virtual void putArrayDComplexV(uInt rownr, const Array<DComplex>* dataPtr);
423 virtual void putArrayStringV(uInt rownr, const Array<String>* dataPtr);
424 // </group>
425
426 // Get the array values in the entire column.
427 // The buffer pointed to by dataPtr has to have the correct length.
428 // (which is guaranteed by the ArrayColumn getColumn function).
429 // The default implementations call DataManagerColumn::getArrayColumnBase.
430 // <group>
431 virtual void getArrayColumnBoolV(Array<Bool>* dataPtr);
432 virtual void getArrayColumnuCharV(Array<uChar>* dataPtr);
433 virtual void getArrayColumnShortV(Array<Short>* dataPtr);
434 virtual void getArrayColumnuShortV(Array<uShort>* dataPtr);
435 virtual void getArrayColumnIntV(Array<Int>* dataPtr);
436 virtual void getArrayColumnuIntV(Array<uInt>* dataPtr);
437 virtual void getArrayColumnInt64V(Array<Int64>* dataPtr);
438 virtual void getArrayColumnfloatV(Array<float>* dataPtr);
439 virtual void getArrayColumndoubleV(Array<double>* dataPtr);
442 virtual void getArrayColumnStringV(Array<String>* dataPtr);
443 // </group>
444
445 // Put the array values into the entire column.
446 // The buffer pointed to by dataPtr has to have the correct length.
447 // (which is guaranteed by the ArrayColumn putColumn function).
448 // The default implementations call DataManagerColumn::putArrayColumnBase.
449 // <group>
450 virtual void putArrayColumnBoolV(const Array<Bool>* dataPtr);
451 virtual void putArrayColumnuCharV(const Array<uChar>* dataPtr);
452 virtual void putArrayColumnShortV(const Array<Short>* dataPtr);
453 virtual void putArrayColumnuShortV(const Array<uShort>* dataPtr);
454 virtual void putArrayColumnIntV(const Array<Int>* dataPtr);
455 virtual void putArrayColumnuIntV(const Array<uInt>* dataPtr);
456 virtual void putArrayColumnInt64V(const Array<Int64>* dataPtr);
457 virtual void putArrayColumnfloatV(const Array<float>* dataPtr);
458 virtual void putArrayColumndoubleV(const Array<double>* dataPtr);
459 virtual void putArrayColumnComplexV(const Array<Complex>* dataPtr);
460 virtual void putArrayColumnDComplexV(const Array<DComplex>* dataPtr);
461 virtual void putArrayColumnStringV(const Array<String>* dataPtr);
462 // </group>
463
464 // Get the array values in some cells of the column.
465 // The buffer pointed to by dataPtr has to have the correct length.
466 // (which is guaranteed by the ArrayColumn getColumnCells function).
467 // The default implementations call DataManagerColumn::getArrayColumnCellsBase.
468 // <group>
469 virtual void getArrayColumnCellsBoolV(const RefRows& rownrs, Array<Bool>* dataPtr);
470 virtual void getArrayColumnCellsuCharV(const RefRows& rownrs, Array<uChar>* dataPtr);
471 virtual void getArrayColumnCellsShortV(const RefRows& rownrs, Array<Short>* dataPtr);
472 virtual void getArrayColumnCellsuShortV(const RefRows& rownrs, Array<uShort>* dataPtr);
473 virtual void getArrayColumnCellsIntV(const RefRows& rownrs, Array<Int>* dataPtr);
474 virtual void getArrayColumnCellsuIntV(const RefRows& rownrs, Array<uInt>* dataPtr);
475 virtual void getArrayColumnCellsInt64V(const RefRows& rownrs, Array<Int64>* dataPtr);
476 virtual void getArrayColumnCellsfloatV(const RefRows& rownrs, Array<float>* dataPtr);
477 virtual void getArrayColumnCellsdoubleV(const RefRows& rownrs, Array<double>* dataPtr);
478 virtual void getArrayColumnCellsComplexV(const RefRows& rownrs, Array<Complex>* dataPtr);
479 virtual void getArrayColumnCellsDComplexV(const RefRows& rownrs, Array<DComplex>* dataPtr);
480 virtual void getArrayColumnCellsStringV(const RefRows& rownrs, Array<String>* dataPtr);
481 // </group>
482
483 // Put the array values into some cells of the column.
484 // The buffer pointed to by dataPtr has to have the correct length.
485 // (which is guaranteed by the ArrayColumn putColumnCells function).
486 // The default implementations call DataManagerColumn::putArrayColumnCellsBase.
487 // <group>
488 virtual void putArrayColumnCellsBoolV(const RefRows& rownrs, const Array<Bool>* dataPtr);
489 virtual void putArrayColumnCellsuCharV(const RefRows& rownrs, const Array<uChar>* dataPtr);
490 virtual void putArrayColumnCellsShortV(const RefRows& rownrs, const Array<Short>* dataPtr);
491 virtual void putArrayColumnCellsuShortV(const RefRows& rownrs, const Array<uShort>* dataPtr);
492 virtual void putArrayColumnCellsIntV(const RefRows& rownrs, const Array<Int>* dataPtr);
493 virtual void putArrayColumnCellsuIntV(const RefRows& rownrs, const Array<uInt>* dataPtr);
494 virtual void putArrayColumnCellsInt64V(const RefRows& rownrs, const Array<Int64>* dataPtr);
495 virtual void putArrayColumnCellsfloatV(const RefRows& rownrs, const Array<float>* dataPtr);
496 virtual void putArrayColumnCellsdoubleV(const RefRows& rownrs, const Array<double>* dataPtr);
497 virtual void putArrayColumnCellsComplexV(const RefRows& rownrs, const Array<Complex>* dataPtr);
498 virtual void putArrayColumnCellsDComplexV(const RefRows& rownrs, const Array<DComplex>* dataPtr);
499 virtual void putArrayColumnCellsStringV(const RefRows& rownrs, const Array<String>* dataPtr);
500 // </group>
501
502 // Get the array value in the given row.
503 // The array pointed to by dataPtr has to have the correct length
504 // (which is guaranteed by the ArrayColumn getSlice function).
505 // The default implementations call DataManagerColumn::getSliceBase.
506 // <group>
507 virtual void getSliceBoolV(uInt rownr, const Slicer& ns, Array<Bool>* dataPtr);
508 virtual void getSliceuCharV(uInt rownr, const Slicer& ns, Array<uChar>* dataPtr);
509 virtual void getSliceShortV(uInt rownr, const Slicer& ns, Array<Short>* dataPtr);
510 virtual void getSliceuShortV(uInt rownr, const Slicer& ns, Array<uShort>* dataPtr);
511 virtual void getSliceIntV(uInt rownr, const Slicer& ns, Array<Int>* dataPtr);
512 virtual void getSliceuIntV(uInt rownr, const Slicer& ns, Array<uInt>* dataPtr);
513 virtual void getSliceInt64V(uInt rownr, const Slicer& ns, Array<Int64>* dataPtr);
514 virtual void getSlicefloatV(uInt rownr, const Slicer& ns, Array<float>* dataPtr);
515 virtual void getSlicedoubleV(uInt rownr, const Slicer& ns, Array<double>* dataPtr);
516 virtual void getSliceComplexV(uInt rownr, const Slicer& ns, Array<Complex>* dataPtr);
517 virtual void getSliceDComplexV(uInt rownr, const Slicer& ns, Array<DComplex>* dataPtr);
518 virtual void getSliceStringV(uInt rownr, const Slicer& ns, Array<String>* dataPtr);
519 // </group>
520
521 // Put the array value into the given row.
522 // The buffer pointed to by dataPtr has to have the correct length
523 // (which is guaranteed by the ArrayColumn putSlice function).
524 // The default implementations call DataManagerColumn::putSliceBase.
525 // <group>
526 virtual void putSliceBoolV(uInt rownr, const Slicer& ns, const Array<Bool>* dataPtr);
527 virtual void putSliceuCharV(uInt rownr, const Slicer& ns, const Array<uChar>* dataPtr);
528 virtual void putSliceShortV(uInt rownr, const Slicer& ns, const Array<Short>* dataPtr);
529 virtual void putSliceuShortV(uInt rownr, const Slicer& ns, const Array<uShort>* dataPtr);
530 virtual void putSliceIntV(uInt rownr, const Slicer& ns, const Array<Int>* dataPtr);
531 virtual void putSliceuIntV(uInt rownr, const Slicer& ns, const Array<uInt>* dataPtr);
532 virtual void putSliceInt64V(uInt rownr, const Slicer& ns, const Array<Int64>* dataPtr);
533 virtual void putSlicefloatV(uInt rownr, const Slicer& ns, const Array<float>* dataPtr);
534 virtual void putSlicedoubleV(uInt rownr, const Slicer& ns, const Array<double>* dataPtr);
535 virtual void putSliceComplexV(uInt rownr, const Slicer& ns, const Array<Complex>* dataPtr);
536 virtual void putSliceDComplexV(uInt rownr, const Slicer& ns, const Array<DComplex>* dataPtr);
537 virtual void putSliceStringV(uInt rownr, const Slicer& ns, const Array<String>* dataPtr);
538 // </group>
539
540 // Get the array values in the entire column.
541 // The buffer pointed to by dataPtr has to have the correct length.
542 // (which is guaranteed by the ArrayColumn getColumn function).
543 // The default implementations call DataManagerColumn::getColumnSliceBase.
544 // <group>
545 virtual void getColumnSliceBoolV(const Slicer& ns, Array<Bool>* dataPtr);
546 virtual void getColumnSliceuCharV(const Slicer& ns, Array<uChar>* dataPtr);
547 virtual void getColumnSliceShortV(const Slicer& ns, Array<Short>* dataPtr);
548 virtual void getColumnSliceuShortV(const Slicer& ns, Array<uShort>* dataPtr);
549 virtual void getColumnSliceIntV(const Slicer& ns, Array<Int>* dataPtr);
550 virtual void getColumnSliceuIntV(const Slicer& ns, Array<uInt>* dataPtr);
551 virtual void getColumnSliceInt64V(const Slicer& ns, Array<Int64>* dataPtr);
552 virtual void getColumnSlicefloatV(const Slicer& ns, Array<float>* dataPtr);
553 virtual void getColumnSlicedoubleV(const Slicer& ns, Array<double>* dataPtr);
554 virtual void getColumnSliceComplexV(const Slicer& ns, Array<Complex>* dataPtr);
555 virtual void getColumnSliceDComplexV(const Slicer& ns, Array<DComplex>* dataPtr);
556 virtual void getColumnSliceStringV(const Slicer& ns, Array<String>* dataPtr);
557 // </group>
558
559 // Put the array values into the entire column.
560 // The buffer pointed to by dataPtr has to have the correct length.
561 // (which is guaranteed by the ArrayColumn putColumn function).
562 // The default implementations call DataManagerColumn::putColumnSliceBase.
563 // <group>
564 virtual void putColumnSliceBoolV(const Slicer& ns, const Array<Bool>* dataPtr);
565 virtual void putColumnSliceuCharV(const Slicer& ns, const Array<uChar>* dataPtr);
566 virtual void putColumnSliceShortV(const Slicer& ns, const Array<Short>* dataPtr);
567 virtual void putColumnSliceuShortV(const Slicer& ns, const Array<uShort>* dataPtr);
568 virtual void putColumnSliceIntV(const Slicer& ns, const Array<Int>* dataPtr);
569 virtual void putColumnSliceuIntV(const Slicer& ns, const Array<uInt>* dataPtr);
570 virtual void putColumnSliceInt64V(const Slicer& ns, const Array<Int64>* dataPtr);
571 virtual void putColumnSlicefloatV(const Slicer& ns, const Array<float>* dataPtr);
572 virtual void putColumnSlicedoubleV(const Slicer& ns, const Array<double>* dataPtr);
573 virtual void putColumnSliceComplexV(const Slicer& ns, const Array<Complex>* dataPtr);
574 virtual void putColumnSliceDComplexV(const Slicer& ns, const Array<DComplex>* dataPtr);
575 virtual void putColumnSliceStringV(const Slicer& ns, const Array<String>* dataPtr);
576 // </group>
577
578 // Get the array values in some cells of the column.
579 // The buffer pointed to by dataPtr has to have the correct length.
580 // (which is guaranteed by the ArrayColumn getColumnCells function).
581 // The default implementations call DataManagerColumn::getColumnSliceCellsBase.
582 // <group>
583 virtual void getColumnSliceCellsBoolV(const RefRows& rownrs, const Slicer& ns,
584 Array<Bool>* dataPtr);
585 virtual void getColumnSliceCellsuCharV(const RefRows& rownrs, const Slicer& ns,
586 Array<uChar>* dataPtr);
587 virtual void getColumnSliceCellsShortV(const RefRows& rownrs, const Slicer& ns,
588 Array<Short>* dataPtr);
589 virtual void getColumnSliceCellsuShortV(const RefRows& rownrs, const Slicer& ns,
590 Array<uShort>* dataPtr);
591 virtual void getColumnSliceCellsIntV(const RefRows& rownrs, const Slicer& ns,
592 Array<Int>* dataPtr);
593 virtual void getColumnSliceCellsuIntV(const RefRows& rownrs, const Slicer& ns,
594 Array<uInt>* dataPtr);
595 virtual void getColumnSliceCellsInt64V(const RefRows& rownrs, const Slicer& ns,
596 Array<Int64>* dataPtr);
597 virtual void getColumnSliceCellsfloatV(const RefRows& rownrs, const Slicer& ns,
598 Array<float>* dataPtr);
599 virtual void getColumnSliceCellsdoubleV(const RefRows& rownrs, const Slicer& ns,
600 Array<double>* dataPtr);
601 virtual void getColumnSliceCellsComplexV(const RefRows& rownrs, const Slicer& ns,
602 Array<Complex>* dataPtr);
603 virtual void getColumnSliceCellsDComplexV(const RefRows& rownrs, const Slicer& ns,
604 Array<DComplex>* dataPtr);
605 virtual void getColumnSliceCellsStringV(const RefRows& rownrs, const Slicer& ns,
606 Array<String>* dataPtr);
607 // </group>
608
609 // Put the array values into some cells of the column.
610 // The buffer pointed to by dataPtr has to have the correct length.
611 // (which is guaranteed by the ArrayColumn putColumnSlice function).
612 // The default implementations call DataManagerColumn::putColumnSliceCellsBase.
613 // <group>
614 virtual void putColumnSliceCellsBoolV(const RefRows& rownrs, const Slicer& ns,
615 const Array<Bool>* dataPtr);
616 virtual void putColumnSliceCellsuCharV(const RefRows& rownrs, const Slicer& ns,
617 const Array<uChar>* dataPtr);
618 virtual void putColumnSliceCellsShortV(const RefRows& rownrs, const Slicer& ns,
619 const Array<Short>* dataPtr);
620 virtual void putColumnSliceCellsuShortV(const RefRows& rownrs, const Slicer& ns,
621 const Array<uShort>* dataPtr);
622 virtual void putColumnSliceCellsIntV(const RefRows& rownrs, const Slicer& ns,
623 const Array<Int>* dataPtr);
624 virtual void putColumnSliceCellsuIntV(const RefRows& rownrs, const Slicer& ns,
625 const Array<uInt>* dataPtr);
626 virtual void putColumnSliceCellsInt64V(const RefRows& rownrs, const Slicer& ns,
627 const Array<Int64>* dataPtr);
628 virtual void putColumnSliceCellsfloatV(const RefRows& rownrs, const Slicer& ns,
629 const Array<float>* dataPtr);
630 virtual void putColumnSliceCellsdoubleV(const RefRows& rownrs, const Slicer& ns,
631 const Array<double>* dataPtr);
632 virtual void putColumnSliceCellsComplexV(const RefRows& rownrs, const Slicer& ns,
633 const Array<Complex>* dataPtr);
634 virtual void putColumnSliceCellsDComplexV(const RefRows& rownrs, const Slicer& ns,
635 const Array<DComplex>* dataPtr);
636 virtual void putColumnSliceCellsStringV(const RefRows& rownrs, const Slicer& ns,
637 const Array<String>* dataPtr);
638 // </group>
639};
640
641} // namespace casacore
642
643#endif
Non-templated base class for templated Array class.
Definition ArrayBase.h:69
virtual int dataType() const
Return the data type of the column.
StManColumnBase(int dataType)
Default constructor.
virtual void putArrayColumnCellsShortV(const RefRows &rownrs, const Array< Short > *dataPtr)
virtual void getArrayColumnuShortV(Array< uShort > *dataPtr)
virtual void putuIntV(uInt rownr, const uInt *dataPtr)
virtual void putSliceShortV(uInt rownr, const Slicer &ns, const Array< Short > *dataPtr)
virtual void putSliceV(rownr_t rownr, const Slicer &slicer, const ArrayBase &dataPtr)
Put into a section of the array in the given row.
virtual void getColumnSliceCellsuShortV(const RefRows &rownrs, const Slicer &ns, Array< uShort > *dataPtr)
virtual void getScalarColumnDComplexV(Vector< DComplex > *dataPtr)
virtual void getArrayColumnShortV(Array< Short > *dataPtr)
virtual void putColumnSliceCellsBoolV(const RefRows &rownrs, const Slicer &ns, const Array< Bool > *dataPtr)
Put the array values into some cells of the column.
virtual uInt ndim(uInt rownr)
virtual void putArrayBoolV(uInt rownr, const Array< Bool > *dataPtr)
Put the array value into the given row.
virtual void getScalarColumnCellsuIntV(const RefRows &rownrs, Vector< uInt > *dataPtr)
virtual void getArrayInt64V(uInt rownr, Array< Int64 > *dataPtr)
virtual Bool isShapeDefined(uInt rownr)
virtual void getColumnSliceIntV(const Slicer &ns, Array< Int > *dataPtr)
virtual void putScalarColumnCellsuShortV(const RefRows &rownrs, const Vector< uShort > *dataPtr)
virtual void putSliceuShortV(uInt rownr, const Slicer &ns, const Array< uShort > *dataPtr)
virtual void putScalarColumnCellsDComplexV(const RefRows &rownrs, const Vector< DComplex > *dataPtr)
virtual void getArrayColumnCellsV(const RefRows &rownrs, ArrayBase &dataPtr)
Get some array values in the column.
virtual void putColumnSliceCellsuIntV(const RefRows &rownrs, const Slicer &ns, const Array< uInt > *dataPtr)
virtual void getScalarColumnCellsV(const RefRows &rownrs, ArrayBase &dataPtr)
Get some scalar values in the column.
virtual void getArrayColumnCellsInt64V(const RefRows &rownrs, Array< Int64 > *dataPtr)
virtual void getSliceuShortV(uInt rownr, const Slicer &ns, Array< uShort > *dataPtr)
virtual void getColumnSliceCellsInt64V(const RefRows &rownrs, const Slicer &ns, Array< Int64 > *dataPtr)
virtual void putString(rownr_t rownr, const String *dataPtr)
virtual void getuShortV(uInt rownr, uShort *dataPtr)
virtual void getScalarColumnCellsStringV(const RefRows &rownrs, Vector< String > *dataPtr)
virtual void getArrayBoolV(uInt rownr, Array< Bool > *dataPtr)
Get the array value in the given row.
virtual void putScalarColumnCellsuIntV(const RefRows &rownrs, const Vector< uInt > *dataPtr)
virtual void putSliceuIntV(uInt rownr, const Slicer &ns, const Array< uInt > *dataPtr)
virtual void putArrayColumnDComplexV(const Array< DComplex > *dataPtr)
virtual void putScalarColumnCellsfloatV(const RefRows &rownrs, const Vector< float > *dataPtr)
virtual void putArrayColumnCellsV(const RefRows &rownrs, const ArrayBase &dataPtr)
Put some array values in the column.
virtual void getArrayColumnCellsBoolV(const RefRows &rownrs, Array< Bool > *dataPtr)
Get the array values in some cells of the column.
virtual void getArrayColumnCellsuCharV(const RefRows &rownrs, Array< uChar > *dataPtr)
virtual void putArrayColumnfloatV(const Array< float > *dataPtr)
virtual void getScalarColumnComplexV(Vector< Complex > *dataPtr)
virtual void getArrayColumnV(ArrayBase &dataPtr)
Get all array values in the column.
virtual void getSliceIntV(uInt rownr, const Slicer &ns, Array< Int > *dataPtr)
virtual void putArrayColumnCellsfloatV(const RefRows &rownrs, const Array< float > *dataPtr)
virtual void getColumnSliceBoolV(const Slicer &ns, Array< Bool > *dataPtr)
Get the array values in the entire column.
virtual void putColumnSliceV(const Slicer &slicer, const ArrayBase &dataPtr)
Put into a section of all arrays in the column.
virtual void putArrayShortV(uInt rownr, const Array< Short > *dataPtr)
virtual void putdoubleV(uInt rownr, const double *dataPtr)
virtual void getArrayColumnCellsfloatV(const RefRows &rownrs, Array< float > *dataPtr)
virtual void putScalarColumnBoolV(const Vector< Bool > *dataPtr)
Put the scalar values into the entire column.
virtual void putuInt(rownr_t rownr, const uInt *dataPtr)
virtual void putColumnSliceCellsDComplexV(const RefRows &rownrs, const Slicer &ns, const Array< DComplex > *dataPtr)
virtual void getString(rownr_t rownr, String *dataPtr)
virtual void putColumnSliceCellsInt64V(const RefRows &rownrs, const Slicer &ns, const Array< Int64 > *dataPtr)
virtual void putArrayColumnuShortV(const Array< uShort > *dataPtr)
virtual void getScalarColumndoubleV(Vector< double > *dataPtr)
virtual void putArrayColumnStringV(const Array< String > *dataPtr)
virtual void getColumnSliceV(const Slicer &slicer, ArrayBase &dataPtr)
Get a section of all arrays in the column.
virtual void getArrayDComplexV(uInt rownr, Array< DComplex > *dataPtr)
virtual void putColumnSliceCellsuCharV(const RefRows &rownrs, const Slicer &ns, const Array< uChar > *dataPtr)
virtual void putArrayStringV(uInt rownr, const Array< String > *dataPtr)
virtual void putColumnSliceCellsuShortV(const RefRows &rownrs, const Slicer &ns, const Array< uShort > *dataPtr)
virtual void getScalarColumnCellsIntV(const RefRows &rownrs, Vector< Int > *dataPtr)
virtual void putArrayColumnCellsuCharV(const RefRows &rownrs, const Array< uChar > *dataPtr)
virtual void getScalarColumnV(ArrayBase &dataPtr)
Get all scalar values in the column.
virtual void putScalarColumnCellsuCharV(const RefRows &rownrs, const Vector< uChar > *dataPtr)
virtual void getScalarColumnCellsBoolV(const RefRows &rownrs, Vector< Bool > *dataPtr)
Get the scalar values in some cells of the column.
virtual void putScalarColumnInt64V(const Vector< Int64 > *dataPtr)
virtual void putColumnSliceCellsComplexV(const RefRows &rownrs, const Slicer &ns, const Array< Complex > *dataPtr)
virtual void putArrayInt64V(uInt rownr, const Array< Int64 > *dataPtr)
virtual void getSliceBoolV(uInt rownr, const Slicer &ns, Array< Bool > *dataPtr)
Get the array value in the given row.
virtual void getColumnSliceCellsStringV(const RefRows &rownrs, const Slicer &ns, Array< String > *dataPtr)
virtual void getuChar(rownr_t rownr, uChar *dataPtr)
virtual IPosition tileShape(rownr_t rownr)
Get the tile shape of the item in the given row.
virtual void putShort(rownr_t rownr, const Short *dataPtr)
virtual void getColumnSliceComplexV(const Slicer &ns, Array< Complex > *dataPtr)
virtual void putArrayColumnCellsStringV(const RefRows &rownrs, const Array< String > *dataPtr)
virtual void getScalarColumnfloatV(Vector< float > *dataPtr)
virtual void putComplex(rownr_t rownr, const Complex *dataPtr)
virtual void getuInt(rownr_t rownr, uInt *dataPtr)
virtual void putScalarColumnComplexV(const Vector< Complex > *dataPtr)
virtual void putArrayColumnCellsuShortV(const RefRows &rownrs, const Array< uShort > *dataPtr)
virtual void getSliceV(rownr_t rownr, const Slicer &slicer, ArrayBase &dataPtr)
Get a section of the array in the given row.
virtual void getColumnSliceuShortV(const Slicer &ns, Array< uShort > *dataPtr)
virtual void putArrayDComplexV(uInt rownr, const Array< DComplex > *dataPtr)
virtual void putArrayColumnBoolV(const Array< Bool > *dataPtr)
Put the array values into the entire column.
virtual void putScalarColumnuIntV(const Vector< uInt > *dataPtr)
virtual void getDComplexV(uInt rownr, DComplex *dataPtr)
virtual uInt ndim(rownr_t rownr)
Get the dimensionality of the item in the given row.
virtual void getSlicedoubleV(uInt rownr, const Slicer &ns, Array< double > *dataPtr)
virtual void getSliceDComplexV(uInt rownr, const Slicer &ns, Array< DComplex > *dataPtr)
void throwInvalidOp(const String &op) const
Throw an "invalid operation" exception for the default implementation of getArray.
virtual void getSliceShortV(uInt rownr, const Slicer &ns, Array< Short > *dataPtr)
virtual void getBoolV(uInt rownr, Bool *dataPtr)
Get the scalar value in the given row.
virtual void putArrayColumnCellsIntV(const RefRows &rownrs, const Array< Int > *dataPtr)
virtual void putArrayuShortV(uInt rownr, const Array< uShort > *dataPtr)
virtual void getColumnSliceuIntV(const Slicer &ns, Array< uInt > *dataPtr)
virtual void putfloat(rownr_t rownr, const float *dataPtr)
virtual void putfloatV(uInt rownr, const float *dataPtr)
virtual void putSliceIntV(uInt rownr, const Slicer &ns, const Array< Int > *dataPtr)
virtual void getArrayColumnCellsdoubleV(const RefRows &rownrs, Array< double > *dataPtr)
virtual void putColumnSliceCellsIntV(const RefRows &rownrs, const Slicer &ns, const Array< Int > *dataPtr)
virtual void getArrayColumnCellsStringV(const RefRows &rownrs, Array< String > *dataPtr)
virtual void putShortV(uInt rownr, const Short *dataPtr)
virtual IPosition shape(uInt rownr)
virtual Bool isShapeDefined(rownr_t rownr)
Is the value shape defined in the given row?
virtual void putuChar(rownr_t rownr, const uChar *dataPtr)
virtual IPosition shape(rownr_t rownr)
Get the shape of the item in the given row.
virtual void putArrayColumnCellsdoubleV(const RefRows &rownrs, const Array< double > *dataPtr)
virtual void getSlicefloatV(uInt rownr, const Slicer &ns, Array< float > *dataPtr)
virtual void putArrayColumnShortV(const Array< Short > *dataPtr)
virtual void putSliceComplexV(uInt rownr, const Slicer &ns, const Array< Complex > *dataPtr)
virtual void getSliceuIntV(uInt rownr, const Slicer &ns, Array< uInt > *dataPtr)
virtual void getColumnSliceCellsIntV(const RefRows &rownrs, const Slicer &ns, Array< Int > *dataPtr)
virtual void getScalarColumnStringV(Vector< String > *dataPtr)
virtual void getInt(rownr_t rownr, Int *dataPtr)
virtual void putArrayuCharV(uInt rownr, const Array< uChar > *dataPtr)
virtual void getIntV(uInt rownr, Int *dataPtr)
virtual void putStringV(uInt rownr, const String *dataPtr)
virtual void putScalarColumnCellsInt64V(const RefRows &rownrs, const Vector< Int64 > *dataPtr)
virtual void getArrayuIntV(uInt rownr, Array< uInt > *dataPtr)
virtual void getArrayColumnInt64V(Array< Int64 > *dataPtr)
virtual void putArrayColumnuCharV(const Array< uChar > *dataPtr)
virtual void getStringV(uInt rownr, String *dataPtr)
virtual void putScalarColumnV(const ArrayBase &dataPtr)
Put all scalar values in the column.
virtual void getArrayColumnIntV(Array< Int > *dataPtr)
virtual void getColumnSliceCellsfloatV(const RefRows &rownrs, const Slicer &ns, Array< float > *dataPtr)
virtual void putSliceuCharV(uInt rownr, const Slicer &ns, const Array< uChar > *dataPtr)
virtual void getArrayfloatV(uInt rownr, Array< float > *dataPtr)
virtual void putArrayColumnCellsBoolV(const RefRows &rownrs, const Array< Bool > *dataPtr)
Put the array values into some cells of the column.
virtual void getScalarColumnIntV(Vector< Int > *dataPtr)
virtual void putArrayColumnComplexV(const Array< Complex > *dataPtr)
virtual void getArrayIntV(uInt rownr, Array< Int > *dataPtr)
virtual void getArrayColumnCellsuShortV(const RefRows &rownrs, Array< uShort > *dataPtr)
virtual void putSlicefloatV(uInt rownr, const Slicer &ns, const Array< float > *dataPtr)
virtual void getScalarColumnCellsdoubleV(const RefRows &rownrs, Vector< double > *dataPtr)
virtual void getScalarColumnuCharV(Vector< uChar > *dataPtr)
virtual void putSliceBoolV(uInt rownr, const Slicer &ns, const Array< Bool > *dataPtr)
Put the array value into the given row.
StManColumn & operator=(const StManColumn &)=delete
The object cannot be assigned to.
virtual void putSliceInt64V(uInt rownr, const Slicer &ns, const Array< Int64 > *dataPtr)
virtual void getfloat(rownr_t rownr, float *dataPtr)
StManColumn(int dataType)
Default constructor.
Definition StManColumn.h:74
virtual void putDComplex(rownr_t rownr, const DComplex *dataPtr)
virtual void putuCharV(uInt rownr, const uChar *dataPtr)
virtual void getScalarColumnCellsDComplexV(const RefRows &rownrs, Vector< DComplex > *dataPtr)
virtual void putArraydoubleV(uInt rownr, const Array< double > *dataPtr)
virtual void setShape(uInt rownr, const IPosition &shape)
virtual void getColumnSliceCellsV(const RefRows &rownrs, const Slicer &slicer, ArrayBase &dataPtr)
Get a section of some arrays in the column.
virtual void putSliceDComplexV(uInt rownr, const Slicer &ns, const Array< DComplex > *dataPtr)
virtual void putSlicedoubleV(uInt rownr, const Slicer &ns, const Array< double > *dataPtr)
virtual void putColumnSliceuCharV(const Slicer &ns, const Array< uChar > *dataPtr)
virtual void getScalarColumnInt64V(Vector< Int64 > *dataPtr)
virtual void putArrayColumnCellsComplexV(const RefRows &rownrs, const Array< Complex > *dataPtr)
virtual void setShapeTiled(rownr_t rownr, const IPosition &shape, const IPosition &tileShape)
Set the shape and tile shape of an (variable-shaped) array in the given row.
virtual void putScalarColumnuCharV(const Vector< uChar > *dataPtr)
virtual void getSliceComplexV(uInt rownr, const Slicer &ns, Array< Complex > *dataPtr)
virtual void getArrayColumnuIntV(Array< uInt > *dataPtr)
virtual void getColumnSliceInt64V(const Slicer &ns, Array< Int64 > *dataPtr)
virtual void getScalarColumnCellsComplexV(const RefRows &rownrs, Vector< Complex > *dataPtr)
virtual void putArrayColumnV(const ArrayBase &dataPtr)
Put all array values in the column.
virtual void putComplexV(uInt rownr, const Complex *dataPtr)
virtual void putColumnSliceBoolV(const Slicer &ns, const Array< Bool > *dataPtr)
Put the array values into the entire column.
virtual void putScalarColumnCellsBoolV(const RefRows &rownrs, const Vector< Bool > *dataPtr)
Put the scalar values into some cells of the column.
virtual void getScalarColumnBoolV(Vector< Bool > *dataPtr)
Get the scalar values in the entire column.
virtual void getBool(rownr_t rownr, Bool *dataPtr)
Get the scalar value in the given row.
virtual void putInt(rownr_t rownr, const Int *dataPtr)
virtual void getColumnSlicedoubleV(const Slicer &ns, Array< double > *dataPtr)
virtual void putArrayColumnCellsuIntV(const RefRows &rownrs, const Array< uInt > *dataPtr)
virtual void getScalarColumnCellsuShortV(const RefRows &rownrs, Vector< uShort > *dataPtr)
virtual void putColumnSliceCellsStringV(const RefRows &rownrs, const Slicer &ns, const Array< String > *dataPtr)
virtual void putColumnSliceCellsV(const RefRows &rownrs, const Slicer &slicer, const ArrayBase &dataPtr)
Put into a section of some arrays in the column.
virtual void putArrayColumnInt64V(const Array< Int64 > *dataPtr)
virtual void getColumnSliceCellsShortV(const RefRows &rownrs, const Slicer &ns, Array< Short > *dataPtr)
virtual void setShape(rownr_t rownr, const IPosition &shape)
Set the shape of an (variable-shaped) array in the given row.
virtual void getColumnSliceStringV(const Slicer &ns, Array< String > *dataPtr)
virtual void putScalarColumnStringV(const Vector< String > *dataPtr)
virtual void putColumnSlicedoubleV(const Slicer &ns, const Array< double > *dataPtr)
virtual void putColumnSliceComplexV(const Slicer &ns, const Array< Complex > *dataPtr)
virtual void putArrayfloatV(uInt rownr, const Array< float > *dataPtr)
virtual void getArrayColumnComplexV(Array< Complex > *dataPtr)
virtual void getSliceuCharV(uInt rownr, const Slicer &ns, Array< uChar > *dataPtr)
virtual void putScalarColumnCellsStringV(const RefRows &rownrs, const Vector< String > *dataPtr)
virtual void putColumnSliceCellsfloatV(const RefRows &rownrs, const Slicer &ns, const Array< float > *dataPtr)
virtual void getColumnSliceCellsDComplexV(const RefRows &rownrs, const Slicer &ns, Array< DComplex > *dataPtr)
virtual void putSliceStringV(uInt rownr, const Slicer &ns, const Array< String > *dataPtr)
StManColumn(const StManColumn &)=delete
The object cannot be copied.
virtual void putBoolV(uInt rownr, const Bool *dataPtr)
Put the scalar value in the given row.
virtual void getArraydoubleV(uInt rownr, Array< double > *dataPtr)
virtual void getuCharV(uInt rownr, uChar *dataPtr)
virtual void putColumnSliceStringV(const Slicer &ns, const Array< String > *dataPtr)
virtual void getColumnSliceCellsComplexV(const RefRows &rownrs, const Slicer &ns, Array< Complex > *dataPtr)
virtual void putColumnSliceCellsdoubleV(const RefRows &rownrs, const Slicer &ns, const Array< double > *dataPtr)
virtual void putArrayColumnIntV(const Array< Int > *dataPtr)
virtual void putArrayV(rownr_t rownr, const ArrayBase &dataPtr)
Put the array value into the given row.
virtual void putArrayColumnuIntV(const Array< uInt > *dataPtr)
virtual void getComplexV(uInt rownr, Complex *dataPtr)
virtual IPosition tileShape(uInt rownr)
virtual void getDComplex(rownr_t rownr, DComplex *dataPtr)
virtual void setShapeTiled(uInt rownr, const IPosition &shape, const IPosition &tileShape)
virtual void putArrayIntV(uInt rownr, const Array< Int > *dataPtr)
virtual void putDComplexV(uInt rownr, const DComplex *dataPtr)
virtual void getArrayV(rownr_t rownr, ArrayBase &dataPtr)
Get the array value in the given row.
virtual void putColumnSlicefloatV(const Slicer &ns, const Array< float > *dataPtr)
virtual void getScalarColumnShortV(Vector< Short > *dataPtr)
virtual void getArrayStringV(uInt rownr, Array< String > *dataPtr)
virtual void getdoubleV(uInt rownr, double *dataPtr)
virtual void getScalarColumnCellsuCharV(const RefRows &rownrs, Vector< uChar > *dataPtr)
virtual void getColumnSliceuCharV(const Slicer &ns, Array< uChar > *dataPtr)
virtual void getColumnSliceDComplexV(const Slicer &ns, Array< DComplex > *dataPtr)
virtual void getfloatV(uInt rownr, float *dataPtr)
virtual void getSliceInt64V(uInt rownr, const Slicer &ns, Array< Int64 > *dataPtr)
virtual void putColumnSliceuShortV(const Slicer &ns, const Array< uShort > *dataPtr)
virtual void getuShort(rownr_t rownr, uShort *dataPtr)
virtual void getSliceStringV(uInt rownr, const Slicer &ns, Array< String > *dataPtr)
virtual void getArrayComplexV(uInt rownr, Array< Complex > *dataPtr)
virtual void putArrayColumnCellsDComplexV(const RefRows &rownrs, const Array< DComplex > *dataPtr)
virtual void getArrayColumnDComplexV(Array< DComplex > *dataPtr)
virtual void putScalarColumnCellsdoubleV(const RefRows &rownrs, const Vector< double > *dataPtr)
virtual void getColumnSliceShortV(const Slicer &ns, Array< Short > *dataPtr)
virtual void putuShort(rownr_t rownr, const uShort *dataPtr)
virtual void putColumnSliceCellsShortV(const RefRows &rownrs, const Slicer &ns, const Array< Short > *dataPtr)
virtual void getScalarColumnCellsfloatV(const RefRows &rownrs, Vector< float > *dataPtr)
virtual void putuShortV(uInt rownr, const uShort *dataPtr)
virtual void getArrayColumnCellsShortV(const RefRows &rownrs, Array< Short > *dataPtr)
virtual void getuIntV(uInt rownr, uInt *dataPtr)
virtual void putScalarColumnCellsV(const RefRows &rownrs, const ArrayBase &dataPtr)
Put some scalar values in the column.
virtual void getArrayColumnCellsDComplexV(const RefRows &rownrs, Array< DComplex > *dataPtr)
virtual void getArrayColumnCellsuIntV(const RefRows &rownrs, Array< uInt > *dataPtr)
virtual void getScalarColumnCellsShortV(const RefRows &rownrs, Vector< Short > *dataPtr)
virtual void putColumnSliceInt64V(const Slicer &ns, const Array< Int64 > *dataPtr)
virtual void getArrayColumnfloatV(Array< float > *dataPtr)
virtual void putScalarColumnShortV(const Vector< Short > *dataPtr)
virtual void getComplex(rownr_t rownr, Complex *dataPtr)
virtual void putArrayColumndoubleV(const Array< double > *dataPtr)
virtual void getArrayColumnuCharV(Array< uChar > *dataPtr)
virtual void getColumnSliceCellsBoolV(const RefRows &rownrs, const Slicer &ns, Array< Bool > *dataPtr)
Get the array values in some cells of the column.
virtual void putBool(rownr_t rownr, const Bool *dataPtr)
Put the scalar value in the given row.
virtual void getArrayColumnStringV(Array< String > *dataPtr)
virtual void putColumnSliceDComplexV(const Slicer &ns, const Array< DComplex > *dataPtr)
virtual void putColumnSliceShortV(const Slicer &ns, const Array< Short > *dataPtr)
virtual void putScalarColumnCellsComplexV(const RefRows &rownrs, const Vector< Complex > *dataPtr)
virtual void putScalarColumnfloatV(const Vector< float > *dataPtr)
virtual void putIntV(uInt rownr, const Int *dataPtr)
virtual void putColumnSliceIntV(const Slicer &ns, const Array< Int > *dataPtr)
virtual void putArrayComplexV(uInt rownr, const Array< Complex > *dataPtr)
virtual void getArrayuCharV(uInt rownr, Array< uChar > *dataPtr)
virtual void putArrayuIntV(uInt rownr, const Array< uInt > *dataPtr)
virtual void getArrayColumnCellsIntV(const RefRows &rownrs, Array< Int > *dataPtr)
virtual void putScalarColumnuShortV(const Vector< uShort > *dataPtr)
virtual void putColumnSliceuIntV(const Slicer &ns, const Array< uInt > *dataPtr)
virtual void getColumnSlicefloatV(const Slicer &ns, Array< float > *dataPtr)
virtual void putScalarColumnIntV(const Vector< Int > *dataPtr)
virtual void getShortV(uInt rownr, Short *dataPtr)
virtual void getArrayColumnCellsComplexV(const RefRows &rownrs, Array< Complex > *dataPtr)
virtual void getColumnSliceCellsdoubleV(const RefRows &rownrs, const Slicer &ns, Array< double > *dataPtr)
virtual void getScalarColumnuIntV(Vector< uInt > *dataPtr)
virtual void getScalarColumnuShortV(Vector< uShort > *dataPtr)
virtual void getArrayShortV(uInt rownr, Array< Short > *dataPtr)
virtual void putScalarColumnCellsIntV(const RefRows &rownrs, const Vector< Int > *dataPtr)
virtual void putScalarColumnDComplexV(const Vector< DComplex > *dataPtr)
virtual void getColumnSliceCellsuIntV(const RefRows &rownrs, const Slicer &ns, Array< uInt > *dataPtr)
virtual void getArrayuShortV(uInt rownr, Array< uShort > *dataPtr)
virtual void putScalarColumnCellsShortV(const RefRows &rownrs, const Vector< Short > *dataPtr)
virtual void putArrayColumnCellsInt64V(const RefRows &rownrs, const Array< Int64 > *dataPtr)
virtual void getColumnSliceCellsuCharV(const RefRows &rownrs, const Slicer &ns, Array< uChar > *dataPtr)
virtual void getShort(rownr_t rownr, Short *dataPtr)
virtual void getArrayColumnBoolV(Array< Bool > *dataPtr)
Get the array values in the entire column.
virtual void getScalarColumnCellsInt64V(const RefRows &rownrs, Vector< Int64 > *dataPtr)
virtual void putdouble(rownr_t rownr, const double *dataPtr)
virtual void getdouble(rownr_t rownr, double *dataPtr)
virtual void getArrayColumndoubleV(Array< double > *dataPtr)
virtual void putScalarColumndoubleV(const Vector< double > *dataPtr)
String: the storage and methods of handling collections of characters.
Definition String.h:355
For temporary backward namespace compatibility, use casa as alias for casacore.
Definition mainpage.dox:28
unsigned char uChar
Definition aipstype.h:45
short Short
Definition aipstype.h:46
unsigned int uInt
Definition aipstype.h:49
unsigned short uShort
Definition aipstype.h:47
int Int
Definition aipstype.h:48
bool Bool
Define the standard types used by Casacore.
Definition aipstype.h:40
uInt64 rownr_t
Define the type of a row number in a table.
Definition aipsxtype.h:44