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