26#ifndef TABLES_PLAINCOLUMN_H
27#define TABLES_PLAINCOLUMN_H
31#include <casacore/casa/aips.h>
32#include <casacore/casa/Arrays/ArrayFwd.h>
33#include <casacore/tables/Tables/BaseColumn.h>
34#include <casacore/tables/Tables/ColumnSet.h>
35#include <casacore/tables/Tables/TableRecord.h>
virtual IPosition shape(rownr_t rownr) const
Get the shape of an array in a particular cell.
BaseColumn(const BaseColumnDesc *)
Construct it using the given column description.
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.
virtual void bind(DataManager *)
Bind the column to a data manager.
virtual void putFileDerived(AipsIO &)=0
Write the column.
TableRecord & rwKeywordSet()
Get access to the column keyword set.
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...
TableRecord & keywordSet()
DataManagerColumn * dataColPtr_p
void checkReadLock(Bool wait) const
Lock the table before reading or writing.
virtual ColumnCache & columnCache()
Get a pointer to the underlying column cache.
void getFile(AipsIO &, const ColumnSet &, const TableAttr &)
Read the column.
void checkValueLength(const void *) const
Check the length of a value.
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.
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.
NewDelAllocator< T > NewDelAllocator< T >::value
uInt64 rownr_t
Define the type of a row number in a table.