28 #ifndef TABLES_PLAINCOLUMN_H
29 #define TABLES_PLAINCOLUMN_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Arrays/ArrayFwd.h>
35 #include <casacore/tables/Tables/BaseColumn.h>
36 #include <casacore/tables/Tables/ColumnSet.h>
37 #include <casacore/tables/Tables/TableRecord.h>
45 class DataManagerColumn;
virtual IPosition shape(rownr_t rownr) const
Get the shape of an array in a particular cell.
void autoReleaseLock()
Inspect the auto lock when the inspection interval has expired and release it when another process ne...
void checkReadLock(Bool wait)
Check if the table is locked for read or write.
int traceId() const
Get the trace-id of the table.
void checkWriteLock(Bool wait)
Abstract base class for a data manager.
DataManager * dataManager() const
Get the pointer to the data manager.
virtual Bool isStored() const
Test if the column is stored (otherwise it is virtual).
DataManager * dataManPtr_p
virtual Bool isBound() const
Test if the column is bound to a storage manager or virtual column engine.
virtual Bool isWritable() const
Test if the column is in principle writable.
TableRecord & keywordSet()
virtual void bind(DataManager *)
Bind the column to a data manager.
virtual void putFileDerived(AipsIO &)=0
Write the column.
virtual void createDataManagerColumn()=0
Create a data manager column for a filled column.
virtual void setMaximumCacheSize(uInt nbytes)
Set the maximum cache size (in bytes) to be used by a storage manager.
PlainColumn(const BaseColumnDesc *, ColumnSet *)
virtual void getFileDerived(AipsIO &, const ColumnSet &)=0
Read the column back.
void autoReleaseLock() const
Inspect the auto lock when the inspection interval has expired and release it when another process ne...
DataManagerColumn * dataColPtr_p
void checkReadLock(Bool wait) const
Lock the table before reading or writing.
void getFile(AipsIO &, const ColumnSet &, const TableAttr &)
Read the column.
void checkValueLength(const void *) const
Check the length of a value.
virtual ColumnCache & columnCache()
Get a pointer to the underlying column cache.
DataManagerColumn *& dataManagerColumn()
Get the pointer to the data manager column.
void checkWriteLock(Bool wait) const
int traceId() const
Get the trace-id of the table.
TableRecord & rwKeywordSet()
Get access to the column keyword set.
void checkValueLength(const Array< String > *value) const
void checkValueLength(const String *value) const
virtual void setShapeColumn(const IPosition &shape)
Define the shape of all arrays in the column.
void putFile(AipsIO &, const TableAttr &)
Write the column.
rownr_t nrow() const
Get nr of rows in the column.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
uInt64 rownr_t
Define the type of a row number in a table.