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> 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.
void getSlice(uInt rownr, const Slicer &, void *arrayPtr) const
Get a slice of an N-dimensional 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.
virtual Bool canAccessColumnSlice(Bool &reask) const
Ask if the data manager can handle a column slice.
AipsIO is the object persistency mechanism of Casacore.
void initialize(uInt startRownr, uInt endRownr)
Initialize the rows from startRownr till endRownr (inclusive) with the default value defined in the c...
virtual Bool canAccessSlice(Bool &reask) const
Ask if the data manager can handle a cell slice.
ArrayColumnData< T > & operator=(const ArrayColumnData< T > &)
Assignment cannot be used.
void getColumnSlice(const Slicer &, void *arrayPtr) const
Get subsections from all arrays in the column.
Class to manage a set of table columns.
Access to a table column containing arrays.
void checkShape(const IPosition &shape) const
Check if the shape of an array can be set and if it is set correctly (i.e.
IPosition tileShape(uInt rownr) const
Get the tile shape of an array in a particular cell.
void putSlice(uInt rownr, const Slicer &, const void *arrayPtr)
Put a slice of an N-dimensional array in a particular cell.
virtual Bool canAccessArrayColumnCells(Bool &reask) const
Ask if the data manager can handle some cells in a column.
Class holding the row numbers in a RefTable.
Bool isDefined(uInt rownr) const
Test if the given cell contains an array.
IPosition shapeColumn() const
Get the global shape of an array (ie.
bool Bool
Define the standard types used by Casacore.
virtual Bool canAccessArrayColumn(Bool &reask) const
Ask if the data manager can handle a column.
virtual Bool canChangeShape() const
Ask the data manager if the shape of an existing array can be changed.
void setShapeColumn(const IPosition &shape)
Set shape of all arrays in the column.
void getArrayColumn(void *arrayPtr) const
Get the array of all values in a 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.
void getArrayColumnCells(const RefRows &rownrs, void *arrayPtr) const
Get the array of some values in a column.
void getColumnSliceCells(const RefRows &rownrs, const Slicer &, void *arrayPtr) const
Get subsections from some arrays in the column.
void putFileDerived(AipsIO &)
Write the column data.
uInt ndim(uInt rownr) const
Get the #dimensions of an array in a particular cell.
IPosition shape(uInt rownr) const
Get the shape of an array in a particular cell.
uInt ndimColumn() const
Get the global #dimensions of an array (ie.
void putArrayColumnCells(const RefRows &rownrs, const void *arrayPtr)
Put the array of some values in the column.
void createDataManagerColumn()
Create a data manager column object for this column.
const ArrayColumnDesc< T > * arrDescPtr_p
Pointer to column description.
this file contains all the compiler specific defines
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.