28 #ifndef TABLES_SCACOLDATA_H
29 #define TABLES_SCACOLDATA_H
41 template<
class T>
class Vector;
120 void get (
uInt rownr,
void*)
const;
135 void put (
uInt rownr,
const void* dataPtr);
156 const void*& dataSave);
220 #ifndef CASACORE_NO_AUTO_TEMPLATES
221 #include <casacore/tables/Tables/ScaColData.tcc>
222 #endif //# CASACORE_NO_AUTO_TEMPLATES
ScalarColumnData(const ScalarColumnDesc< T > *, ColumnSet *)
Construct a scalar column object from the given description in the given column set.
A 1-D Specialization of the Array class.
void putScalarColumn(const void *dataPtr)
Put the array of all values in the column.
Templated class to define columns of scalars in tables.
void makeRefSortKey(Sort &, CountedPtr< BaseCompare > &cmpFunc, Int order, const Vector< uInt > &rownrs, const void *&dataSave)
Do it only for the given row numbers.
Bool undefFlag_p
Undefined value can exist?
AipsIO is the object persistency mechanism of Casacore.
void put(uInt rownr, const void *dataPtr)
Put the value 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...
void fillSortKey(const Vector< T > *dataPtr, Sort &, CountedPtr< BaseCompare > &cmpObj, Int order)
Fill in the sort key on behalf of the Table sort function.
Class to manage a set of table columns.
Bool canAccessScalarColumn(Bool &reask) const
Ask if the data manager can handle a column.
void allocIterBuf(void *&lastVal, void *&curVal, CountedPtr< BaseCompare > &cmpObj)
Allocate value buffers for the table iterator.
ScalarColumnData< T > & operator=(const ScalarColumnData< T > &)
Assignment cannot be used.
Sort on one or more keys, ascending and/or descending.
void putFileDerived(AipsIO &)
Write the column data.
Referenced counted pointer for constant data.
void createDataManagerColumn()
Create a data manager column object for this column.
Class holding the row numbers in a RefTable.
Bool isDefined(uInt rownr) const
Test if the given cell contains a defined value.
void getScalarColumnCells(const RefRows &rownrs, void *dataPtr) const
Get the array of some values in the column (on behalf of RefColumn).
bool Bool
Define the standard types used by Casacore.
void getScalarColumn(void *dataPtr) const
Get the array of all values in the column.
void getFileDerived(AipsIO &, const ColumnSet &)
Read the column data back.
Base class for a column in a plain table.
void putScalarColumnCells(const RefRows &rownrs, const void *dataPtr)
Put the array of some values in the column (on behalf on RefColumn).
Access to a table column containing scalars.
void freeIterBuf(void *&lastVal, void *&curVal)
Free the value buffers allocated by allocIterBuf.
void freeSortKey(const void *&dataSave)
Free storage on the heap allocated by makeSortkey().
T undefVal_p
Undefined value.
void makeSortKey(Sort &, CountedPtr< BaseCompare > &cmpFunc, Int order, const void *&dataSave)
Add this column and its data to the Sort object.
const ScalarColumnDesc< T > * scaDescPtr_p
Pointer to column description.
Bool canAccessScalarColumnCells(Bool &reask) const
Ask if the data manager can handle some cells in a column.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.