28 #ifndef MEASURES_TABLEQUANTUMDESC_H
29 #define MEASURES_TABLEQUANTUMDESC_H
297 const Char* unitCol);
A 1-D Specialization of the Array class.
void write(TableDesc &)
Makes the TableQuantumDesc persistent (updates the Table Descriptor).
const String & columnName() const
Returns the name of the quantum column.
Main interface class to a read/write table.
static TableQuantumDesc * reconstruct(const TableDesc &td, const String &column)
Reconstructs a previously constructed TableQuantumDesc.
static Bool hasQuanta(const TableColumn &column)
Does this column contain table quanta?
TableQuantumDesc(const TableDesc &td, const String &column)
Constructs a Quantum column descriptor with null units (Unit == "").
Bool isUnitVariable() const
Returns True if descriptor set for variable units (one per row)
TableQuantumDesc & operator=(const TableQuantumDesc &that)
Assignment.
void checkUnitsColumn(const TableDesc &td) const
Throw an exception if the variable units column isn't a string column.
const Vector< String > & getUnits() const
Returns the Quantum column descriptor's units.
A class for defining Quantum columns in Tables.
Vector< String > itsUnitsName
The Quantum's unit as a string.
bool Bool
Define the standard types used by Casacore.
void checkColumn(const TableDesc &td) const
Throw an exception if the quantum column doesn't exist.
Read/write access to a table column.
A hierarchical collection of named fields of various types.
String itsUnitsColName
Name of units column if units are variable.
String itsColName
Name of column which stores the Quantum's values.
void writeKeys(TableRecord &columnKeyset)
Write the actual keywords.
String: the storage and methods of handling collections of characters.
const String & unitColumnName() const
Returns the name of the units column (an empty String is returned if the units are not variable)...
Define the structure of a Casacore table.
Bool empty() const
Test for empty.