28 #ifndef TABLES_REFCOLUMN_H
29 #define TABLES_REFCOLUMN_H
149 virtual void get (
rownr_t rownr,
void* dataPtr)
const;
188 virtual void put (
rownr_t rownr,
const void* dataPtr);
241 virtual void allocIterBuf (
void*& lastVal,
void*& curVal,
245 virtual void freeIterBuf (
void*& lastVal,
void*& curVal);
RefColumn(const BaseColumnDesc *, RefTable *, BaseColumn *referencedColumn)
Construct the RefColumn.
A Vector of integers, for indexing into Array<T> objects.
virtual void putColumnSliceCells(const RefRows &rownrs, const Slicer &, const ArrayBase &dataPtr)
Put subsections of some arrays in the column.
virtual void putScalarColumn(const ArrayBase &dataPtr)
Put the vector of all scalar values in the column.
virtual rownr_t nrow() const
Get nr of rows in the column.
Non-templated base class for templated Array class.
virtual void put(rownr_t rownr, const void *dataPtr)
Put the value in a particular cell.
virtual IPosition shape(rownr_t rownr) const
Get the shape of an array in a particular cell.
virtual void allocIterBuf(void *&lastVal, void *&curVal, CountedPtr< BaseCompare > &cmpObj)
Allocate value buffers for the table iterator.
virtual void makeSortKey(Sort &, CountedPtr< BaseCompare > &cmpObj, Int order, CountedPtr< ArrayBase > &dataSave)
Add this column and its data to the Sort object.
virtual void getArrayColumnCells(const RefRows &rownrs, ArrayBase &dataPtr) const
Get the array of some array values in a column.
virtual void putColumnSlice(const Slicer &, const ArrayBase &dataPtr)
Put into subsections of all table arrays in the column.
An abstract base class for table column descriptions.
virtual Bool canChangeShape() const
It can change shape if the underlying column can.
virtual TableRecord & keywordSet()
virtual TableRecord & rwKeywordSet()
Get access to the column keyword set.
virtual uInt ndimColumn() const
Get the global #dimensions of an array (i.e.
virtual ColumnCache & columnCache()
Get the underlying column cache.
Sort on one or more keys, ascending and/or descending.
virtual void setMaximumCacheSize(uInt nbytes)
Set the maximum cache size (in bytes) to be used by a storage manager.
virtual void putArrayColumnCells(const RefRows &rownrs, const ArrayBase &dataPtr)
Get the array of some array values in a column.
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 putScalarColumnCells(const RefRows &rownrs, const ArrayBase &dataPtr)
Get the vector of some scalar values in a column.
Referenced counted pointer for constant data.
Class for a table as a view of another table.
virtual void getArray(rownr_t rownr, ArrayBase &dataPtr) const
Get an array from a particular cell.
virtual IPosition tileShape(rownr_t rownr) const
Get the tile shape of an array in a particular cell.
Class holding the row numbers in a RefTable.
virtual uInt ndim(rownr_t rownr) const
Get the #dimensions of an array in a particular cell.
bool Bool
Define the standard types used by Casacore.
A caching object for a table column.
A hierarchical collection of named fields of various types.
Specify which elements to extract from an n-dimensional array.
virtual void putArrayColumn(const ArrayBase &dataPtr)
Put the array of all array values in the column.
uInt64 rownr_t
Define the type of a row number in a table.
virtual Bool isStored() const
Test if the column is stored (otherwise it is virtual).
virtual void getArrayColumn(ArrayBase &dataPtr) const
Get the array of all array values in a column.
virtual void getScalarColumnCells(const RefRows &rownrs, ArrayBase &dataPtr) const
Get the vector of some scalar values in a column.
virtual void freeIterBuf(void *&lastVal, void *&curVal)
Free the value buffers allocated by allocIterBuf.
virtual void getSlice(rownr_t rownr, const Slicer &, ArrayBase &dataPtr) const
Get a slice of an N-dimensional array 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 Bool isWritable() const
Test if the column is writable in the parent table.
virtual void getScalarColumn(ArrayBase &dataPtr) const
Get the vector of all scalar values in a column.
virtual IPosition shapeColumn() const
Get the global shape of an array (i.e.
virtual void getColumnSliceCells(const RefRows &rownrs, const Slicer &, ArrayBase &dataPtr) const
Get subsections from some arrays in the column.
virtual void getColumnSlice(const Slicer &, ArrayBase &dataPtr) const
Get subsections from all arrays in the column.
virtual void putArray(rownr_t rownr, const ArrayBase &dataPtr)
Put the array value in a particular cell.
virtual void setShape(rownr_t rownr, const IPosition &shape)
Set the shape of the array in the given row.
A column in a reference table.
virtual Bool isDefined(rownr_t rownr) const
Test if a value in a particular cell has been defined.
Abstract base class for a table column.