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> 167 void get (
uInt rownr,
void* arrayPtr)
const;
201 void* arrayPtr)
const;
206 void put (
uInt rownr,
const void* arrayPtr);
240 const void* arrayPtr);
282 #ifndef CASACORE_NO_AUTO_TEMPLATES 283 #include <casacore/tables/Tables/ArrColData.tcc> 284 #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.
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.
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.