28 #ifndef TABLES_BASECOLDESC_H
29 #define TABLES_BASECOLDESC_H
135 virtual void show (ostream& os)
const = 0;
300 const String& newName)
const;
A Vector of integers, for indexing into Array<T> objects.
BaseColumnDesc & operator=(const BaseColumnDesc &)
Assignment (copy semantics).
virtual BaseColumnDesc * clone() const =0
Clone a column description (creating a new column description object).
String & dataManagerGroup()
Get the data manager group.
virtual String className() const =0
Get the underlying class name.
AipsIO is the object persistency mechanism of Casacore.
virtual ConcatColumn * makeConcatColumn(ConcatTable *) const
Make a ConcatColumn object out of the description.
void setMaxLength(uInt maxLength)
Set the maximum value length.
An abstract base class for table column descriptions.
const TableDesc * tableDesc() const
Get table description (in case column contains subtables).
void setNdim(uInt ndim)
Set the number of dimensions.
Envelope class for the description of a table column.
Int ndim() const
Get the number of dimensions.
Class to manage a set of table columns.
DataType dataType() const
Get the data type of the column.
virtual void handleRename(ColumnDescSet &cds, const String &oldName)
void setName(const String &name)
Set the name of the column (for a rename).
virtual void putDesc(AipsIO &) const =0
Put the derived object.
const String & dataManagerType() const
Get the type name of the default data manager.
const String & comment() const
Get comment string.
uInt maxLength() const
Get the maximum value length.
void getFile(AipsIO &, const TableAttr &)
Get the object.
const String & dataTypeId() const
Get the type id for non-standard data types (i.e.
void setOptions(Int options)
Set the options to the given value.
virtual PlainColumn * makeColumn(ColumnSet *) const =0
Make a PlainColumn object out of the description.
const IPosition & shape() const
Get the predefined shape.
String & comment()
Get comment string (allowing it to be changed).
RefColumn * makeRefColumn(RefTable *, BaseColumn *) const
Make a RefColumn object out of the description.
Class for a table as a view of another table.
TableRecord & rwKeywordSet()
Get access to the set of keywords.
Int options() const
Get the options.
Set of table column descriptions.
const String & dataManagerGroup() const
Get the data manager group.
virtual void getDesc(AipsIO &)=0
Get the derived object.
bool Bool
Define the standard types used by Casacore.
TableRecord * keySetPtr_p
virtual void show(ostream &os) const =0
Show the column.
void setDefaultDataManager(Bool always)
Set the data manager type and group to the default.
A hierarchical collection of named fields of various types.
void putFile(AipsIO &, const TableAttr &) const
Put the object.
void setShape(const IPosition &shape)
Set the predefined shape.
Base class for a column in a plain table.
const TableRecord & keywordSet() const
BaseColumnDesc(const String &name, const String &comment, const String &dataManagerType, const String &dataManagerGroup, DataType, const String &dataTypeId, Int options, uInt ndim, const IPosition &shape, Bool isScalar, Bool isArray, Bool isTable)
Construct the column base object.
virtual void handleRemove(ColumnDescSet &cds)
Bool isScalar() const
Test if column is scalar, array or table.
virtual void handleAdd(ColumnDescSet &cds)
Take action after a column has been handled by ColumnDescSet.
virtual void checkAdd(const ColumnDescSet &cds) const
Check if a column can be handled by ColumnDescSet.
String: the storage and methods of handling collections of characters.
String & dataManagerType()
Get the type name of the default data manager.
Define the structure of a Casacore table.
virtual void renameAction(const String &newName, const String &oldName)
This function allows each column to act upon a rename of another column.
Class to view a concatenation of tables as a single table.
const String & name() const
Get the name of the column.
Some attributes of a table.
virtual void checkRename(const ColumnDescSet &cds, const String &newName) const
A column in a concatenated table.
virtual ~BaseColumnDesc()
A column in a reference table.
Abstract base class for a table column.