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