28 #ifndef TABLES_ARRCOLDATA_H
29 #define TABLES_ARRCOLDATA_H
171 void get (
uInt rownr,
void* arrayPtr)
const;
205 void* arrayPtr)
const;
210 void put (
uInt rownr,
const void* arrayPtr);
244 const void* arrayPtr);
286 #ifndef CASACORE_NO_AUTO_TEMPLATES
287 #include <casacore/tables/Tables/ArrColData.tcc>
288 #endif //# CASACORE_NO_AUTO_TEMPLATES
A Vector of integers, for indexing into Array<T> objects.
Templated class for description of table array columns.
void putColumnSliceCells(const RefRows &rownrs, const Slicer &, const void *arrayPtr)
Put into subsections of some table arrays in the column.
IPosition shape(uInt rownr) const
Get the shape of an array in a particular cell.
void getFileDerived(AipsIO &, const ColumnSet &)
Read the column data back.
void putArrayColumn(const void *arrayPtr)
Put the array of all values in the column.
AipsIO is the object persistency mechanism of Casacore.
uInt ndim(uInt rownr) const
Get the #dimensions of an array in a particular cell.
void initialize(uInt startRownr, uInt endRownr)
Initialize the rows from startRownr till endRownr (inclusive) with the default value defined in the c...
ArrayColumnData< T > & operator=(const ArrayColumnData< T > &)
Assignment cannot be used.
Class to manage a set of table columns.
void checkShape(const IPosition &shape) const
Check if the shape of an array can be set and if it is set correctly (i.e.
Access to a table column containing arrays.
IPosition shapeColumn() const
Get the global shape of an array (ie.
void putSlice(uInt rownr, const Slicer &, const void *arrayPtr)
Put a slice of an N-dimensional array in a particular cell.
Class holding the row numbers in a RefTable.
virtual Bool canAccessColumnSlice(Bool &reask) const
Ask if the data manager can handle a column slice.
IPosition tileShape(uInt rownr) const
Get the tile shape of an array in a particular cell.
void getColumnSliceCells(const RefRows &rownrs, const Slicer &, void *arrayPtr) const
Get subsections from some arrays in the column.
bool Bool
Define the standard types used by Casacore.
virtual Bool canAccessSlice(Bool &reask) const
Ask if the data manager can handle a cell slice.
void getArrayColumn(void *arrayPtr) const
Get the array of all values in a column.
void setShapeColumn(const IPosition &shape)
Set shape of all arrays in the column.
Bool shapeColDef_p
Is the shape for all arrays in the columns defined.
Specify which elements to extract from an n-dimensional array.
Base class for a column in a plain table.
ArrayColumnData(const ArrayColumnDesc< T > *, ColumnSet *)
Construct an array column object from the given description in the given column set.
void put(uInt rownr, const void *arrayPtr)
Put the value in a particular cell.
uInt ndimColumn() const
Get the global #dimensions of an array (ie.
virtual Bool canAccessArrayColumnCells(Bool &reask) const
Ask if the data manager can handle some cells in a column.
void putFileDerived(AipsIO &)
Write the column data.
void getArrayColumnCells(const RefRows &rownrs, void *arrayPtr) const
Get the array of some values in a column.
void getSlice(uInt rownr, const Slicer &, void *arrayPtr) const
Get a slice of an N-dimensional array in a particular cell.
void putArrayColumnCells(const RefRows &rownrs, const void *arrayPtr)
Put the array of some values in the column.
void getColumnSlice(const Slicer &, void *arrayPtr) const
Get subsections from all arrays in the column.
Bool isDefined(uInt rownr) const
Test if the given cell contains an array.
virtual Bool canAccessArrayColumn(Bool &reask) const
Ask if the data manager can handle a column.
void createDataManagerColumn()
Create a data manager column object for this column.
const ArrayColumnDesc< T > * arrDescPtr_p
Pointer to column description.
virtual Bool canChangeShape() const
Ask the data manager if the shape of an existing array can be changed.
void putColumnSlice(const Slicer &, const void *arrayPtr)
Put into subsections of all table arrays in the column.
void setShape(uInt rownr, const IPosition &shape)
Set dimensions of array in a particular cell.
IPosition shapeCol_p
Shape for all arrays in the column.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.