28 #ifndef MEASURES_TABLEMEASOFFSETDESC_H
29 #define MEASURES_TABLEMEASOFFSETDESC_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/BasicSL/String.h>
34 #include <casacore/measures/Measures/MeasureHolder.h>
39 class TableMeasDescBase;
String: the storage and methods of handling collections of characters.
TableMeasDescBase * itsTMDesc
TableMeasOffsetDesc(const TableMeasDescBase &offsetColumn, Bool asArray=False)
Constructor for defining a variable offset.
void resetOffset(const Measure &offset)
Reset the offset.
const String & columnName() const
Gets the name of the column which stores the variable offset.
void write(Table &, TableRecord &measInfo, const String &prefix)
void writeKeys(TableRecord &measInfo, const String &prefix)
Write the actual keywords.
TableMeasOffsetDesc(const TableMeasOffsetDesc &that)
Copy constructor (copy semantics).
TableMeasOffsetDesc(const TableRecord &measInfo, const String &prefix, const Table &)
Constructor which uses the measInfo TableRecord.
Bool isArray() const
Returns True if the offset varies per array element.
void write(TableDesc &, TableRecord &measInfo, const String &prefix)
Write the information into the record.
Bool isVariable() const
Returns True if the offset varies per row.
const Measure & getOffset() const
Get the (non-variable) measure offset for this column.
TableMeasOffsetDesc & operator=(const TableMeasOffsetDesc &that)
Assignment operator (copy semantics).
TableMeasOffsetDesc(const Measure &offset)
Constructor which defines a constant (non-variable) offset.
static TableMeasOffsetDesc * reconstruct(const TableRecord &measInfo, const String &prefix, const Table &tab)
Reconstructs the TableMeasOffsetDesc from the measInfo TableRecord.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.