28 #ifndef TABLES_SCACOLDESC_H
29 #define TABLES_SCACOLDESC_H
163 class ScalarColumnDesc :
public BaseColumnDesc
228 void show (ostream& os)
const;
264 #ifndef CASACORE_NO_AUTO_TEMPLATES
265 #include <casacore/tables/Tables/ScaColDesc.tcc>
266 #endif //# CASACORE_NO_AUTO_TEMPLATES
void setDefault(const T &defaultValue)
Set the default value.
ScalarColumnDesc< T > & operator=(const ScalarColumnDesc< T > &)
Assignment (copy semantics);.
Templated class to define columns of scalars in tables.
AipsIO is the object persistency mechanism of Casacore.
An abstract base class for table column descriptions.
Envelope class for the description of a table column.
String className() const
Get the name of this class.
Class to manage a set of table columns.
const String & comment() const
Get comment string.
virtual void getDesc(AipsIO &)
Get the object.
void show(ostream &os) const
Show the column.
Int options() const
Get the options.
const T & defaultValue() const
Get the default value.
virtual ConcatColumn * makeConcatColumn(ConcatTable *) const
Make a ConcatColumn object out of the description.
virtual PlainColumn * makeColumn(ColumnSet *) const
Create a Column object out of this.
BaseColumnDesc * clone() const
Clone this column description.
Base class for a column in a plain table.
void registerClass() const
Register the construction function of this class.
ScalarColumnDesc(const String &name, int options=0)
Construct the column with the given name.
String: the storage and methods of handling collections of characters.
static BaseColumnDesc * makeDesc(const String &name)
Create the object from AipsIO (this function is registered).
Class to view a concatenation of tables as a single table.
const String & name() const
Get the name of the column.
virtual void putDesc(AipsIO &) const
Put the object.
A column in a concatenated table.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.