28 #ifndef MEASURES_ARRAYMEASCOLUMN_H
29 #define MEASURES_ARRAYMEASCOLUMN_H
40 template <
class T>
class ArrayColumn;
41 template <
class T>
class ScalarColumn;
42 template <
class M>
class ScalarMeasColumn;
171 template<
class M>
class ArrayMeasColumn :
public TableMeasColumn
191 void reference (
const ArrayMeasColumn<M>& that);
206 {
return convert (rownr, meas.getRef()); }
279 #define ROArrayMeasColumn ArrayMeasColumn
282 #ifndef CASACORE_NO_AUTO_TEMPLATES
283 #include <casacore/measures/TableMeasures/ArrayMeasColumn.tcc>
284 #endif //# CASACORE_NO_AUTO_TEMPLATES
A 1-D Specialization of the Array class.
const MeasRef< M > & getMeasRef() const
Get the column's reference.
const String & columnName() const
Get the name of the column.
ArrayColumn< String > * itsArrRefStrCol
Array< M > convert(rownr_t rownr, const M &meas) const
Get the Measure array contained in the specified row and convert it to the reference and offset found...
Physical quantities within reference frame.
void cleanUp()
Deletes allocated memory etc.
ScalarMeasColumn< M > * itsOffsetCol
Access table array Measure columns.
void put(rownr_t rownr, const Array< M > &)
Add a Measure array to the specified row.
ArrayMeasColumn()
The default constructor creates a null object.
ArrayMeasColumn & operator=(const ArrayMeasColumn< M > &that)
Assignment makes no sense in a read only class.
void reference(const ArrayMeasColumn< M > &that)
Change the reference to another column.
void setDescRefCode(uInt refCode, Bool tableMustBeEmpty=True)
Reset the refCode, offset, or units.
ScalarColumn< Int > * itsRefIntCol
void setDescOffset(const Measure &offset, Bool tableMustBeEmpty=True)
bool Bool
Define the standard types used by Casacore.
virtual ~ArrayMeasColumn()
Array< M > doConvert(rownr_t rownr, typename M::Convert &conv) const
Get the data and convert using conversion engine.
uInt64 rownr_t
Define the type of a row number in a table.
ArrayMeasColumn< M > * itsArrOffsetCol
Array< M > operator()(rownr_t rownr) const
ArrayColumn< Int > * itsArrRefIntCol
ScalarColumn< String > * itsRefStrCol
void attach(const Table &tab, const String &columnName)
Attach a column to the object.
ArrayColumn< Double > * itsDataCol
Read only access to table scalar Measure columns.
void setDescUnits(const Vector< Unit > &units, Bool tableMustBeEmpty=True)