26#ifndef TABLES_REFCOLUMN_H
27#define TABLES_REFCOLUMN_H
30#include <casacore/casa/aips.h>
31#include <casacore/tables/Tables/BaseColumn.h>
32#include <casacore/tables/Tables/ColumnCache.h>
33#include <casacore/casa/Arrays/ArrayFwd.h>
222 std::shared_ptr<ArrayBase>& dataSave);
227 virtual void allocIterBuf(
void*& lastVal,
void*& curVal, std::shared_ptr<BaseCompare>& cmpObj);
Non-templated base class for templated Array class.
virtual IPosition tileShape(rownr_t rownr) const
Get the tile shape of an array in a particular cell.
BaseColumn(const BaseColumnDesc *)
Construct it using the given column description.
virtual ColumnCache & columnCache()
Get the underlying column cache.
virtual TableRecord & keywordSet()
virtual void setShape(rownr_t rownr, const IPosition &shape)
Set the shape of the array in the given row.
virtual void setShape(rownr_t rownr, const IPosition &shape, const IPosition &tileShape)
Set the shape and tile shape of the array in the given row.
virtual void put(rownr_t rownr, const void *dataPtr)
Put the value in a particular cell.
virtual void putSlice(rownr_t rownr, const Slicer &, const ArrayBase &dataPtr)
Put a slice of an N-dimensional array in a particular cell.
virtual void putColumnSliceCells(const RefRows &rownrs, const Slicer &, const ArrayBase &dataPtr)
Put subsections of some arrays in the column.
virtual uInt ndimColumn() const
Get the global #dimensions of an array (i.e.
virtual void get(rownr_t rownr, void *dataPtr) const
Get the value from a particular cell.
virtual void getSlice(rownr_t rownr, const Slicer &, ArrayBase &dataPtr) const
Get a slice of an N-dimensional 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...
virtual void freeIterBuf(void *&lastVal, void *&curVal)
Free the value buffers allocated by allocIterBuf.
virtual uInt ndim(rownr_t rownr) const
Get the #dimensions of an array in a particular cell.
virtual void putArrayColumnCells(const RefRows &rownrs, const ArrayBase &dataPtr)
Get the array of some array values in a column.
virtual void setMaximumCacheSize(uInt nbytes)
Set the maximum cache size (in bytes) to be used by a storage manager.
virtual void getArrayColumnCells(const RefRows &rownrs, ArrayBase &dataPtr) const
Get the array of some array values in a column.
virtual void allocIterBuf(void *&lastVal, void *&curVal, std::shared_ptr< BaseCompare > &cmpObj)
Allocate value buffers for the table iterator.
virtual void getScalarColumnCells(const RefRows &rownrs, ArrayBase &dataPtr) const
Get the vector of some scalar values in a column.
virtual void putScalarColumnCells(const RefRows &rownrs, const ArrayBase &dataPtr)
Get the vector of some scalar values in a column.
virtual void getScalarColumn(ArrayBase &dataPtr) const
Get the vector of all scalar values in a column.
virtual void getColumnSliceCells(const RefRows &rownrs, const Slicer &, ArrayBase &dataPtr) const
Get subsections from some arrays in the column.
virtual TableRecord & rwKeywordSet()
Get access to the column keyword set.
virtual Bool isStored() const
Test if the column is stored (otherwise it is virtual).
virtual void getColumnSlice(const Slicer &, ArrayBase &dataPtr) const
Get subsections from all arrays in the column.
virtual IPosition shape(rownr_t rownr) const
Get the shape of an array in a particular cell.
virtual void putArray(rownr_t rownr, const ArrayBase &dataPtr)
Put the array value in a particular cell.
virtual Bool canChangeShape() const
It can change shape if the underlying column can.
virtual void putColumnSlice(const Slicer &, const ArrayBase &dataPtr)
Put into subsections of all table arrays in the column.
RefColumn(const BaseColumnDesc *, RefTable *, BaseColumn *referencedColumn)
Construct the RefColumn.
virtual void getArray(rownr_t rownr, ArrayBase &dataPtr) const
Get an array from a particular cell.
virtual Bool isWritable() const
Test if the column is writable in the parent table.
virtual Bool isDefined(rownr_t rownr) const
Test if a value in a particular cell has been defined.
virtual rownr_t nrow() const
Get nr of rows in the column.
virtual void getArrayColumn(ArrayBase &dataPtr) const
Get the array of all array values in a column.
virtual void putScalarColumn(const ArrayBase &dataPtr)
Put the vector of all scalar values in the column.
virtual void makeSortKey(Sort &, std::shared_ptr< BaseCompare > &cmpObj, Int order, std::shared_ptr< ArrayBase > &dataSave)
Add this column and its data to the Sort object.
virtual IPosition shapeColumn() const
Get the global shape of an array (i.e.
virtual void putArrayColumn(const ArrayBase &dataPtr)
Put the array of all array values in the column.
Sort on one or more keys, ascending and/or descending.
For temporary backward namespace compatibility, use casa as alias for casacore.
uInt order() const
What is the order of the polynomial, i.e.
bool Bool
Define the standard types used by Casacore.
uInt64 rownr_t
Define the type of a row number in a table.