28 #ifndef TABLES_ARRCOLDATA_H
29 #define TABLES_ARRCOLDATA_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/tables/Tables/PlainColumn.h>
34 #include <casacore/casa/Arrays/IPosition.h>
40 class ArrayColumnDescBase;
Non-templated base class for templated Array class.
const ArrayColumnDescBase * arrDescPtr_p
Pointer to column description.
void checkShape(const IPosition &shape) const
Check if the shape of an array can be set and if it is set correctly (i.e.
void getSlice(rownr_t rownr, const Slicer &, ArrayBase &arrayPtr) const
Get a slice of an N-dimensional array in a particular cell.
void getColumnSlice(const Slicer &, ArrayBase &arrayPtr) const
Get subsections from all arrays in the column.
void getColumnSliceCells(const RefRows &rownrs, const Slicer &, ArrayBase &arrayPtr) const
Get subsections from some arrays in the column.
void setShape(rownr_t rownr, const IPosition &shape)
Set dimensions of array in a particular cell.
uInt ndim(rownr_t rownr) const
Get the #dimensions of an array in a particular cell.
void putFileDerived(AipsIO &)
Write the column data.
void putArrayColumnCells(const RefRows &rownrs, const ArrayBase &arrayPtr)
Put the array of some values in the column.
void setShapeColumn(const IPosition &shape)
Set shape of all arrays in the column.
void setShape(rownr_t rownr, const IPosition &shape, const IPosition &tileShape)
The shape of tiles in the array can also be defined.
IPosition shapeCol_p
Shape for all arrays in the column.
Bool isDefined(rownr_t rownr) const
Test if the given cell contains an array.
void putSlice(rownr_t rownr, const Slicer &, const ArrayBase &arrayPtr)
Put a slice of an N-dimensional array in a particular cell.
void getArrayColumnCells(const RefRows &rownrs, ArrayBase &arrayPtr) const
Get the array of some values in a column.
void getArrayColumn(ArrayBase &arrayPtr) const
Get the array of all values in a column.
IPosition shape(rownr_t rownr) const
Get the shape of an array in a particular cell.
void putArray(rownr_t rownr, const ArrayBase &arrayPtr)
Put the value in a particular cell.
void getArray(rownr_t rownr, ArrayBase &arrayPtr) const
Get the array from a particular cell.
void putColumnSlice(const Slicer &, const ArrayBase &arrayPtr)
Put into subsections of all table arrays in the column.
IPosition tileShape(rownr_t rownr) const
Get the tile shape of an array in a particular cell.
ArrayColumnData & operator=(const ArrayColumnData &)
Assignment cannot be used.
void putColumnSliceCells(const RefRows &rownrs, const Slicer &, const ArrayBase &arrayPtr)
Put into subsections of some table arrays in the column.
void createDataManagerColumn()
Create a data manager column object for this column.
void initialize(rownr_t startRownr, rownr_t endRownr)
Initialize the rows from startRownr till endRownr (inclusive) with the default value defined in the c...
ArrayColumnData(const ArrayColumnData &)
Copy constructor cannot be used.
Bool checkValueLength_p
Does the length of a string has to be checked?
IPosition shapeColumn() const
Get the global shape of an array (ie.
ArrayColumnData(const ArrayColumnDescBase *, ColumnSet *)
Construct an array column object from the given description in the given column set.
Bool shapeColDef_p
Is the shape for all arrays in the columns defined.
virtual Bool canChangeShape() const
Ask the data manager if the shape of an existing array can be changed.
uInt ndimColumn() const
Get the global #dimensions of an array (ie.
void putArrayColumn(const ArrayBase &arrayPtr)
Put the array of all values in the column.
void getFileDerived(AipsIO &, const ColumnSet &)
Read the column data back.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
uInt64 rownr_t
Define the type of a row number in a table.