28 #ifndef TABLES_SCARECORDCOLDATA_H
29 #define TABLES_SCARECORDCOLDATA_H
41 class ScalarRecordColumnDesc;
114 virtual void get (
rownr_t rownr,
void*)
const;
130 virtual void put (
rownr_t rownr,
const void* dataPtr);
158 virtual void allocIterBuf (
void*& lastVal,
void*& curVal,
162 virtual void freeIterBuf (
void*& lastVal,
void*& curVal);
Non-templated base class for templated Array class.
virtual void makeRefSortKey(Sort &, CountedPtr< BaseCompare > &cmpObj, Int order, const Vector< rownr_t > &rownrs, CountedPtr< ArrayBase > &dataSave)
Do it only for the given row numbers.
virtual void putScalarColumnCells(const RefRows &rownrs, const ArrayBase &dataPtr)
Put the array of some values in the column (on behalf on RefColumn).
virtual void getScalarColumnCells(const RefRows &rownrs, ArrayBase &dataPtr) const
Get the array of some values in the column (on behalf of RefColumn).
AipsIO is the object persistency mechanism of Casacore.
ScalarRecordColumnData & operator=(const ScalarRecordColumnData &)
Assignment cannot be used.
Access to a table column containing scalar records.
Class to manage a set of table columns.
virtual void getScalarColumn(ArrayBase &dataPtr) const
Get the array of all values in the column.
Sort on one or more keys, ascending and/or descending.
virtual void put(rownr_t rownr, const void *dataPtr)
Put the value in a particular cell.
Referenced counted pointer for constant data.
virtual Bool isDefined(rownr_t rownr) const
Test if the given cell contains a defined value.
Class holding the row numbers in a RefTable.
virtual void createDataManagerColumn()
Create a data manager column object for this column.
bool Bool
Define the standard types used by Casacore.
virtual void allocIterBuf(void *&lastVal, void *&curVal, CountedPtr< BaseCompare > &cmpObj)
Allocate value buffers for the table iterator.
Class to define columns of scalar records in tables.
virtual void putScalarColumn(const ArrayBase &dataPtr)
Put the array of all values in the column.
const ScalarRecordColumnDesc * scaDescPtr_p
Pointer to column description.
A hierarchical collection of named fields of various types.
void getRecord(rownr_t rownr, TableRecord &rec) const
Handle getting and putting a record.
virtual void freeIterBuf(void *&lastVal, void *&curVal)
Free the value buffers allocated by allocIterBuf.
~ScalarRecordColumnData()
Base class for a column in a plain table.
ScalarRecordColumnData(const ScalarRecordColumnDesc *, ColumnSet *)
Construct a scalar column object from the given description in the given column set.
uInt64 rownr_t
Define the type of a row number in a table.
virtual void putFileDerived(AipsIO &)
Write the column data.
virtual void getFileDerived(AipsIO &, const ColumnSet &)
Read the column data back.
virtual void initialize(rownr_t startRownr, rownr_t endRownr)
Initialize the rows from startRownr till endRownr (inclusive) with the default value defined in the c...
void putRecord(rownr_t rownr, const TableRecord &rec)
virtual void makeSortKey(Sort &, CountedPtr< BaseCompare > &cmpObj, Int order, CountedPtr< ArrayBase > &dataSave)
Add this column and its data to the Sort object.