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