casacore
Loading...
Searching...
No Matches
ArrayColumn.h
Go to the documentation of this file.
1//# ArrayColumn.h: access to an array table column with arbitrary data type
2//# Copyright (C) 1994,1995,1996,1997,1998,2001
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_ARRAYCOLUMN_H
27#define TABLES_ARRAYCOLUMN_H
28
29
30//# Includes
31#include <casacore/casa/aips.h>
32#include <casacore/casa/Arrays/Vector.h>
33#include <casacore/tables/Tables/ArrayColumnBase.h>
34#include <casacore/tables/Tables/TableError.h>
35
36namespace casacore { //# NAMESPACE CASACORE - BEGIN
37
38//# Forward Declarations
39class ColumnSlicer;
40
41
42// <summary>
43// Read and write access to an array table column with arbitrary data type
44// </summary>
45
46// <use visibility=export>
47
48// <reviewed reviewer="dschieb" date="1994/08/10" tests="none">
49// </reviewed>
50
51// <prerequisite>
52// <li> Table
53// <li> ArrayColumnBase
54// </prerequisite>
55
56// <etymology>
57// ArrayColumn<T> gives read and write access to an column in a table
58// containing an array with data type T.
59// </etymology>
60
61// <synopsis>
62// The class ArrayColumn allows readonly access to a column
63// containing arrays with an arbitrary data type. It can handle direct
64// as well as indirect arrays.
65// It is possible to get the data in an individual cell (i.e. table row);
66// either the whole array or a slice of the array can be accessed.
67// It is also possible to get the column as a whole if the arrays
68// in all cells of the column have the same shape (which is always true
69// for direct arrays). As in the case of individual cells it is possible
70// to get the entire arrays or a slice of the arrays.
71//
72// A default constructor is defined to allow construction of an array
73// of ArrayColumn objects. However, this constructs an object not
74// referencing a column. Functions like get, etc. will fail (i.e. result
75// in a segmentation fault) when used on such objects. The functions
76// isNull and throwIfNull can be used to test on this.
77// The functions attach and reference can fill in the object.
78//
79// The assignment operator is not defined for this class, because it was
80// felt it would be too confusing. Instead the function reference can
81// be used to do assignment with reference semantics. An assignment
82// with copy semantics makes no sense for a readonly column.
83// </synopsis>
84
85// <templating arg=T>
86// <li> Default constructor
87// <li> Copy constructor
88// <li> Assignment operator
89// </templating>
90
91// <example>
92// See module <linkto module="Tables#open">Tables</linkto>.
93// </example>
94
95
96template<class T>
98{
99public:
100
101 // The default constructor creates a null object, i.e. it
102 // does not reference a table column.
103 // The sole purpose of this constructor is to allow construction
104 // of an array of ArrayColumn objects.
105 // The functions reference and attach can be used to make a null object
106 // reference a column.
107 // Note that get functions, etc. will cause a segmentation fault
108 // when operating on a null object. It was felt it was too expensive
109 // to test on null over and over again. The user should use the isNull
110 // or throwIfNull function in case of doubt.
112
113 // Construct for the given column in the given table.
114 ArrayColumn (const Table&, const String& columnName);
115
116 // Construct from the given table column.
117 // This constructor is useful if first a table column was constructed,
118 // its type is determined and thereafter used to construct the
119 // correct column object.
120 explicit ArrayColumn (const TableColumn&);
121
122 // Copy constructor (reference semantics).
124
126
127 // Clone the object.
128 virtual TableColumn* clone() const;
129
130 // Assignment uses reference semantics, thus works the same
131 // as function reference.
133
134 // Change the reference to another column.
135 // This is in fact an assignment operator with reference semantics.
136 // It removes the reference to the current column and creates
137 // a reference to the column referenced in the other object.
138 // It will handle null objects correctly.
140
141 // Attach a column to the object.
142 // This is in fact only a shorthand for
143 // <br><src> reference (ArrayColumn<T> (table, columnName)); </src>
144 void attach (const Table& table, const String& columnName)
145 { reference (ArrayColumn<T> (table, columnName)); }
146
147 // Get the #dimensions of an array in a particular cell.
148 // If the cell does not contain an array, 0 is returned.
149 // Use the function isDefined to test if the cell contains an array.
150 uInt ndim (rownr_t rownr) const
151 { TABLECOLUMNCHECKROW(rownr); return baseColPtr_p->ndim (rownr); }
152
153 // Get the shape of an array in a particular cell.
154 // If the cell does not contain an array, a 0-dim shape is returned.
155 // Use the function isDefined to test if the cell contains an array.
156 IPosition shape (rownr_t rownr) const
157 { TABLECOLUMNCHECKROW(rownr); return baseColPtr_p->shape (rownr); }
158
159 // Get the array value in a particular cell (i.e. table row).
160 // The row numbers count from 0 until #rows-1.
161 // <group>
162 // According to the assignment rules of class Array, the destination
163 // array must be empty or its shape must conform the table array shape.
164 // However, if the resize flag is set the destination array will be
165 // resized if not conforming.
166 void get (rownr_t rownr, Array<T>& array, Bool resize = False) const;
167 Array<T> get (rownr_t rownr) const;
169 // </group>
170
171 // Get a slice of an N-dimensional array in a particular cell
172 // (i.e. table row).
173 // The row numbers count from 0 until #rows-1.
174 // The dimensionality of the slice must match the dimensionality
175 // of the table array and the slice definition should not exceed
176 // the shape of the table array.
177 // <group>
178 // According to the assignment rules of class Array, the destination
179 // array must be empty or its shape must conform the shape of the
180 // table array slice.
181 // However, if the resize flag is set the destination array will be
182 // resized if not conforming.
183 void getSlice (rownr_t rownr, const Slicer& arraySection, Array<T>& array,
184 Bool resize = False) const;
185 Array<T> getSlice (rownr_t rownr, const Slicer& arraySection) const;
186 // </group>
187
188 // Get an irregular slice of an N-dimensional array in a particular cell
189 // (i.e. table row) as given by the vectors of Slice objects.
190 // The outer vector represents the array axes.
191 // A missing or empty axis means the entire axis.
192 // The inner vector represents the slices to take for each axis.
193 // For example, to get slices from 2-dim arrays:
194 // <srcblock>
195 // Vector<Vector<Slice> > slices(2); // 2-dim
196 // slices[1].resize (3); // 3 slices in 2nd dim
197 // slices[1][0] = Slice(100,20);
198 // slices[1][1] = Slice(200,18);
199 // slices[1][2] = Slice(538,30,2);
200 // // Get data. Vector of first axis is empty, thus entire axis is read.
201 // Array<Complex> data = dataCol.getColumn (slices);
202 // </srcblock>
203 // If the column contains n-dim arrays, the resulting array is (n+1)-dim.
204 // with the last dimension representing the number of rows and the
205 // other dimensions representing the shape of the slice.
206 // The arrays in the column must have the same shape in all cells.
207 // <group>
208 // According to the assignment rules of class Array, the destination
209 // array must be empty or its shape must conform the resulting (n+1)-dim
210 // array.
211 // However, if the resize flag is set the destination array will be
212 // resized if not conforming.
213 void getSlice (rownr_t rownr,
214 const Vector<Vector<Slice> >& arraySlices,
215 Array<T>& arr, Bool resize = False) const;
217 const Vector<Vector<Slice> >& arraySlices) const;
218 // </group>
219
220 // Get the array of all values in a column.
221 // If the column contains n-dim arrays, the resulting array is (n+1)-dim
222 // with the last dimension representing the number of rows.
223 // The arrays in the column must have the same shape in all cells.
224 // <group>
225 // According to the assignment rules of class Array, the destination
226 // array must be empty or its shape must conform the resulting (n+1)-dim
227 // array.
228 // However, if the resize flag is set the destination array will be
229 // resized if not conforming.
230 void getColumn (Array<T>& array, Bool resize = False) const;
232 // </group>
233
234 // Get regular slices from all arrays in the column.
235 // If the column contains n-dim arrays, the resulting array is (n+1)-dim.
236 // with the last dimension representing the number of rows and the
237 // other dimensions representing the shape of the slice.
238 // The arrays in the column must have the same shape in all cells.
239 // <group>
240 // According to the assignment rules of class Array, the destination
241 // array must be empty or its shape must conform the resulting (n+1)-dim
242 // array.
243 // However, if the resize flag is set the destination array will be
244 // resized if not conforming.
245 void getColumn (const Slicer& arraySection, Array<T>& array,
246 Bool resize = False) const;
247 Array<T> getColumn (const Slicer& arraySection) const;
248 // </group>
249
250 // Get irregular slices from all arrays in the column as given by the
251 // vectors of Slice objects. The outer vector represents the array axes.
252 // A missing or empty axis means the entire axis.
253 // The inner vector represents the slices to take for each axis.
254 // For example, to get slices from 2-dim arrays:
255 // <srcblock>
256 // Vector<Vector<Slice> > slices(2); // 2-dim
257 // slices[1].resize (3); // 3 slices in 2nd dim
258 // slices[1][0] = Slice(100,20);
259 // slices[1][1] = Slice(200,18);
260 // slices[1][2] = Slice(538,30,2);
261 // // Get data. Vector of first axis is empty, thus entire axis is read.
262 // Array<Complex> data = dataCol.getColumn (slices);
263 // </srcblock>
264 // If the column contains n-dim arrays, the resulting array is (n+1)-dim.
265 // with the last dimension representing the number of rows and the
266 // other dimensions representing the shape of the slice.
267 // The arrays in the column must have the same shape in all cells.
268 // <group>
269 // According to the assignment rules of class Array, the destination
270 // array must be empty or its shape must conform the resulting (n+1)-dim
271 // array.
272 // However, if the resize flag is set the destination array will be
273 // resized if not conforming.
274 void getColumn (const Vector<Vector<Slice> >& arraySection, Array<T>& array,
275 Bool resize = False) const;
276 Array<T> getColumn (const Vector<Vector<Slice> >& arraySection) const;
277 // </group>
278
279 // Get the array of some values in a column.
280 // The Slicer object can be used to specify start, end (or length),
281 // and stride of the rows to get.
282 // If the column contains n-dim arrays, the resulting array is (n+1)-dim
283 // with the last dimension representing the number of rows in the slicer.
284 // The arrays in the column must have the same shape in all those cells.
285 // According to the assignment rules of class Array, the destination
286 // array must be empty or its shape must conform the resulting (n+1)-dim
287 // array.
288 // However, if the resize flag is set the destination array will be
289 // resized if not conforming.
290 // <group>
291 void getColumnRange (const Slicer& rowRange, Array<T>& arr,
292 Bool resize = False) const;
293 Array<T> getColumnRange (const Slicer& rowRange) const;
294 void getColumnCells (const RefRows& rownrs, Array<T>& arr,
295 Bool resize = False) const;
296 Array<T> getColumnCells (const RefRows& rownrs) const;
297 // </group>
298
299 // Get slices from some arrays in a column.
300 // The first Slicer object can be used to specify start, end (or length),
301 // and stride of the rows to get. The second Slicer object can be
302 // used to specify the slice to take from each array.
303 // If the column contains n-dim arrays, the resulting array is (n+1)-dim
304 // with the last dimension representing the number of rows in the slicer.
305 // The arrays in the column must have the same shape in all those cells.
306 // According to the assignment rules of class Array, the destination
307 // array must be empty or its shape must conform the resulting (n+1)-dim
308 // array.
309 // However, if the resize flag is set the destination array will be
310 // resized if not conforming.
311 // <group>
312 void getColumnRange (const Slicer& rowRange,
313 const Slicer& arraySection, Array<T>& arr,
314 Bool resize = False) const;
316 const Slicer& arraySection) const;
317 void getColumnCells (const RefRows& rownrs,
318 const Slicer& arraySection, Array<T>& arr,
319 Bool resize = False) const;
321 const Slicer& arraySection) const;
322 // </group>
323
324 // Similar to getColumn (arraySlices, arr, resize) except it
325 // gets the slices for the given rows instead of all rows.
326 void getColumnCells (const RefRows& rows,
327 const ColumnSlicer & slicerSet,
328 Array<T>& destination,
329 Bool resize = False) const;
330
331 // Set the shape of the array in the given row.
332 // Setting the shape is needed if the array is put in slices,
333 // otherwise the table system would not know the shape.
334 // <group>
335 void setShape (rownr_t rownr, const IPosition& shape);
336
337 // Try to store the array in a tiled way using the given tile shape.
338 void setShape (rownr_t rownr, const IPosition& shape,
339 const IPosition& tileShape);
340 // </group>
341
342 // Put the array in a particular cell (i.e. table row).
343 // The row numbers count from 0 until #rows-1.
344 // If the shape of the table array in that cell has not already been
345 // defined, it will be defined implicitly.
346 void put (rownr_t rownr, const Array<T>& array);
347
348 // Copy the value of a cell of that column to a cell of this column.
349 // This function uses a generic TableColumn object as input.
350 // The data types of both columns must be the same, otherwise an
351 // exception is thrown.
352 // <group>
353 // Use the same row numbers for both cells.
354 void put (rownr_t rownr, const TableColumn& that,
355 Bool preserveTileShape=False)
356 { put (rownr, that, rownr, preserveTileShape); }
357 // Use possibly different row numbers for that (i.e. input) and
358 // and this (i.e. output) cell.
359 void put (rownr_t thisRownr, const TableColumn& that, rownr_t thatRownr,
360 Bool preserveTileShape=False);
361 // For backward compatibility (otherwise ambigious with put taking Bool).
362 void put (uInt thisRownr, const TableColumn& that, uInt thatRownr,
363 Bool preserveTileShape=False)
364 { put (rownr_t(thisRownr), that, rownr_t(thatRownr), preserveTileShape); }
365 // </group>
366
367 // Put into a slice of an N-dimensional array in a particular cell.
368 // The row numbers count from 0 until #rows-1.
369 // The shape of the table array must have been defined.
370 // The dimensionality of the slice must match the dimensionality
371 // of the table array and the slice definition should not exceed
372 // the shape of the table array.
373 void putSlice (rownr_t rownr, const Slicer& arraySection,
374 const Array<T>& array);
375
376 void putSlice (rownr_t rownr, const Vector<Vector<Slice> >& arraySlices,
377 const Array<T>& arr);
378
379 // Put the array of all values in the column.
380 // If the column contains n-dim arrays, the source array must be (n+1)-dim
381 // with the last dimension representing the number of rows.
382 void putColumn (const Array<T>& array);
383
384 // Put into subsections of the table arrays in the entire column.
385 // If the column contains n-dim arrays, the source array is (n+1)-dim
386 // with the last dimension representing the number of rows and
387 // other dimensions representing the shape of the slice.
388 // The dimensionality of the slice must match the dimensionality
389 // of the table array, thus must be n-dim. Also the slice definition
390 // should not exceed the shape of the table arrays.
391 void putColumn (const Slicer& arraySection, const Array<T>& array);
392
393 void putColumn (const Vector<Vector<Slice> >& arraySlices,
394 const Array<T>& arr);
395
396 // Put the array of some values in the column.
397 // The Slicer object can be used to specify start, end (or length),
398 // and stride of the rows to put.
399 // If the column contains n-dim arrays, the source array must be (n+1)-dim
400 // with the last dimension representing the number of rows in the slicer.
401 // <group>
402 void putColumnRange (const Slicer& rowRange, const Array<T>& arr);
403 void putColumnCells (const RefRows& rownrs, const Array<T>& arr);
404 // </group>
405
406 // Put into subsection of the table arrays in some rows of the column.
407 // The first Slicer object can be used to specify start, end (or length),
408 // and stride of the rows to put. The second Slicer object can be
409 // used to specify the slice to take from each array.
410 // If the column contains n-dim arrays, the source array must be (n+1)-dim
411 // with the last dimension representing the number of rows in the slicer.
412 // <group>
413 void putColumnRange (const Slicer& rowRange,
414 const Slicer& arraySection, const Array<T>& arr);
415 void putColumnCells (const RefRows& rownrs,
416 const Slicer& arraySection, const Array<T>& arr);
417 // </group>
418
419 // Same as putColumn(arraySlices, arr) except that it puts for the given
420 // rows instead of all rows.
421 // <group>
422 void putColumnCells (const RefRows& rows,
423 const Vector<Vector<Slice> >& arraySlices,
424 const Array<T>& arr);
425 void putSliceFromRows (const RefRows& rows,
426 const Vector<Vector<Slice> >& arraySlices,
427 const Array<T>& source)
428 { putColumnCells (rows, arraySlices, source); }
429 void putColumnCells (const RefRows& rows,
430 const ColumnSlicer & columnSlicer,
431 const Array<T>& source);
432 // </group>
433
434 // Put the same value in all cells of the column.
435 void fillColumn (const Array<T>& value);
436
437 // Put the contents of a column with the same data type into this column.
438 // To put the contents of a column with a different data type into
439 // this column, the function TableColumn::putColumn can be used
440 // (provided the data type promotion is possible).
441 // In fact, this function is an assignment operator with copy semantics.
442 void putColumn (const ArrayColumn<T>& that);
443
444private:
445 // Check if the data type matches the column data type.
446 void checkDataType() const;
447};
448
449
450
451//# Explicitly instantiate these templates in ArrayColumn_tmpl.cc
452 extern template class ArrayColumn<Bool>;
453 extern template class ArrayColumn<Char>;
454 extern template class ArrayColumn<Short>;
455 extern template class ArrayColumn<uShort>;
456 extern template class ArrayColumn<Int>;
457 extern template class ArrayColumn<uInt>;
458 extern template class ArrayColumn<Int64>;
459 extern template class ArrayColumn<Float>;
460 extern template class ArrayColumn<Double>;
461 extern template class ArrayColumn<Complex>;
462 extern template class ArrayColumn<DComplex>;
463 extern template class ArrayColumn<String>;
464
465
466} //# NAMESPACE CASACORE - END
467
468
469//# Make old name ROArrayColumn still available.
470#define ROArrayColumn ArrayColumn
471
472
473#ifndef CASACORE_NO_AUTO_TEMPLATES
474#include <casacore/tables/Tables/ArrayColumn.tcc>
475#endif //# CASACORE_NO_AUTO_TEMPLATES
476#endif
#define TABLECOLUMNCHECKROW(ROWNR)
Definition TableColumn.h:49
void getColumnRange(const Slicer &rowRange, const Slicer &arraySection, Array< T > &arr, Bool resize=False) const
Get slices from some arrays in a column.
void putColumnRange(const Slicer &rowRange, const Array< T > &arr)
Put the array of some values in the column.
Array< T > getColumn(const Vector< Vector< Slice > > &arraySection) const
Array< T > getColumnCells(const RefRows &rownrs) const
void checkDataType() const
Check if the data type matches the column data type.
void getColumnCells(const RefRows &rows, const ColumnSlicer &slicerSet, Array< T > &destination, Bool resize=False) const
Similar to getColumn (arraySlices, arr, resize) except it gets the slices for the given rows instead ...
Array< T > operator()(rownr_t rownr) const
virtual TableColumn * clone() const
Clone the object.
void getColumnRange(const Slicer &rowRange, Array< T > &arr, Bool resize=False) const
Get the array of some values in a column.
void put(rownr_t rownr, const TableColumn &that, Bool preserveTileShape=False)
Copy the value of a cell of that column to a cell of this column.
Array< T > getSlice(rownr_t rownr, const Slicer &arraySection) const
ArrayColumn< T > & operator=(const ArrayColumn< T > &)
Assignment uses reference semantics, thus works the same as function reference.
void attach(const Table &table, const String &columnName)
Attach a column to the object.
void getColumnCells(const RefRows &rownrs, Array< T > &arr, Bool resize=False) const
void putColumn(const ArrayColumn< T > &that)
Put the contents of a column with the same data type into this column.
void putColumnCells(const RefRows &rows, const ColumnSlicer &columnSlicer, const Array< T > &source)
Array< T > get(rownr_t rownr) const
void put(rownr_t thisRownr, const TableColumn &that, rownr_t thatRownr, Bool preserveTileShape=False)
Use possibly different row numbers for that (i.e.
void getSlice(rownr_t rownr, const Vector< Vector< Slice > > &arraySlices, Array< T > &arr, Bool resize=False) const
Get an irregular slice of an N-dimensional array in a particular cell (i.e.
Array< T > getColumnCells(const RefRows &rownrs, const Slicer &arraySection) const
void setShape(rownr_t rownr, const IPosition &shape)
Set the shape of the array in the given row.
IPosition shape(rownr_t rownr) const
Get the shape of an array in a particular cell.
ArrayColumn(const ArrayColumn< T > &)
Copy constructor (reference semantics).
void put(uInt thisRownr, const TableColumn &that, uInt thatRownr, Bool preserveTileShape=False)
For backward compatibility (otherwise ambigious with put taking Bool).
void putColumnCells(const RefRows &rows, const Vector< Vector< Slice > > &arraySlices, const Array< T > &arr)
Same as putColumn(arraySlices, arr) except that it puts for the given rows instead of all rows.
void putColumnRange(const Slicer &rowRange, const Slicer &arraySection, const Array< T > &arr)
Put into subsection of the table arrays in some rows of the column.
Array< T > getColumnRange(const Slicer &rowRange, const Slicer &arraySection) const
void reference(const ArrayColumn< T > &)
Change the reference to another column.
void putColumnCells(const RefRows &rownrs, const Slicer &arraySection, const Array< T > &arr)
void putColumn(const Slicer &arraySection, const Array< T > &array)
Put into subsections of the table arrays in the entire column.
ArrayColumn(const TableColumn &)
Construct from the given table column.
void getColumn(const Slicer &arraySection, Array< T > &array, Bool resize=False) const
Get regular slices from all arrays in the column.
Array< T > getColumnRange(const Slicer &rowRange) const
void fillColumn(const Array< T > &value)
Put the same value in all cells of the column.
Array< T > getColumn() const
void getSlice(rownr_t rownr, const Slicer &arraySection, Array< T > &array, Bool resize=False) const
Get a slice of an N-dimensional array in a particular cell (i.e.
void putColumnCells(const RefRows &rownrs, const Array< T > &arr)
void putSlice(rownr_t rownr, const Slicer &arraySection, const Array< T > &array)
Put into a slice of an N-dimensional array in a particular cell.
void putSliceFromRows(const RefRows &rows, const Vector< Vector< Slice > > &arraySlices, const Array< T > &source)
void getColumnCells(const RefRows &rownrs, const Slicer &arraySection, Array< T > &arr, Bool resize=False) const
Array< T > getColumn(const Slicer &arraySection) const
ArrayColumn()
The default constructor creates a null object, i.e.
void putColumn(const Array< T > &array)
Put the array of all values in the column.
Array< T > getSlice(rownr_t rownr, const Vector< Vector< Slice > > &arraySlices) const
ArrayColumn(const Table &, const String &columnName)
Construct for the given column in the given table.
void getColumn(const Vector< Vector< Slice > > &arraySection, Array< T > &array, Bool resize=False) const
Get irregular slices from all arrays in the column as given by the vectors of Slice objects.
void putColumn(const Vector< Vector< Slice > > &arraySlices, const Array< T > &arr)
void setShape(rownr_t rownr, const IPosition &shape, const IPosition &tileShape)
Try to store the array in a tiled way using the given tile shape.
void get(rownr_t rownr, Array< T > &array, Bool resize=False) const
Get the array value in a particular cell (i.e.
void getColumn(Array< T > &array, Bool resize=False) const
Get the array of all values in a column.
void put(rownr_t rownr, const Array< T > &array)
Put the array in a particular cell (i.e.
void putSlice(rownr_t rownr, const Vector< Vector< Slice > > &arraySlices, const Array< T > &arr)
uInt ndim(rownr_t rownr) const
Get the #dimensions of an array in a particular cell.
virtual uInt ndim(rownr_t rownr) const
Get the #dimensions of an array in a particular cell.
virtual IPosition shape(rownr_t rownr) const
Get the shape of an array in a particular cell.
String: the storage and methods of handling collections of characters.
Definition String.h:223
IPosition tileShape(rownr_t rownr) const
Get the tile shape of an array in a particular cell.
BaseColumn * baseColPtr_p
Table table() const
Get the Table object this column belongs to.
this file contains all the compiler specific defines
Definition mainpage.dox:28
const Bool False
Definition aipstype.h:42
unsigned int uInt
Definition aipstype.h:49
TableExprNode array(const TableExprNode &values, const TableExprNodeSet &shape)
Create an array of the given shape and fill it with the values.
Definition ExprNode.h:1933
bool Bool
Define the standard types used by Casacore.
Definition aipstype.h:40
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
uInt64 rownr_t
Define the type of a row number in a table.
Definition aipsxtype.h:44