28 #ifndef TABLES_ARRCOLDATA_H
29 #define TABLES_ARRCOLDATA_H
40 class ArrayColumnDescBase;
A Vector of integers, for indexing into Array<T> objects.
void getColumnSliceCells(const RefRows &rownrs, const Slicer &, ArrayBase &arrayPtr) const
Get subsections from some arrays in the column.
IPosition shapeCol_p
Shape for all arrays in the column.
Non-templated base class for templated Array class.
Bool shapeColDef_p
Is the shape for all arrays in the columns defined.
AipsIO is the object persistency mechanism of Casacore.
void putArrayColumn(const ArrayBase &arrayPtr)
Put the array of all values in the 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 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 ArrayColumnDescBase *, ColumnSet *)
Construct an array column object from the given description in the given column set.
Abstract base class for description of table array columns.
ArrayColumnData & operator=(const ArrayColumnData &)
Assignment cannot be used.
Class to manage a set of table columns.
void putColumnSliceCells(const RefRows &rownrs, const Slicer &, const ArrayBase &arrayPtr)
Put into subsections of some table arrays in the column.
Access to a table column containing arrays.
void putColumnSlice(const Slicer &, const ArrayBase &arrayPtr)
Put into subsections of all table arrays in the column.
Bool isDefined(rownr_t rownr) const
Test if the given cell contains an array.
void setShape(rownr_t rownr, const IPosition &shape)
Set dimensions of 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.
IPosition tileShape(rownr_t rownr) const
Get the tile shape of an array in a particular cell.
uInt ndimColumn() const
Get the global #dimensions of an array (ie.
void getArray(rownr_t rownr, ArrayBase &arrayPtr) const
Get the array from a particular cell.
Class holding the row numbers in a RefTable.
void putArray(rownr_t rownr, const ArrayBase &arrayPtr)
Put the value in a particular cell.
void createDataManagerColumn()
Create a data manager column object for this column.
bool Bool
Define the standard types used by Casacore.
void getArrayColumnCells(const RefRows &rownrs, ArrayBase &arrayPtr) const
Get the array of some values in a column.
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 getFileDerived(AipsIO &, const ColumnSet &)
Read the column data back.
Bool checkValueLength_p
Does the length of a string has to be checked?
Specify which elements to extract from an n-dimensional array.
Base class for a column in a plain table.
IPosition shapeColumn() const
Get the global shape of an array (ie.
uInt64 rownr_t
Define the type of a row number in a table.
virtual Bool canChangeShape() const
Ask the data manager if the shape of an existing array can be changed.
void getSlice(rownr_t rownr, const Slicer &, ArrayBase &arrayPtr) const
Get a slice of an N-dimensional array in a particular cell.
void putSlice(rownr_t rownr, const Slicer &, const ArrayBase &arrayPtr)
Put a slice of an N-dimensional array in a particular cell.
void setShapeColumn(const IPosition &shape)
Set shape of all arrays in the column.
const ArrayColumnDescBase * arrDescPtr_p
Pointer to column description.
void getColumnSlice(const Slicer &, ArrayBase &arrayPtr) const
Get subsections from all arrays in the column.
uInt ndim(rownr_t rownr) const
Get the #dimensions of an array in a particular cell.