Go to the documentation of this file.
28 #ifndef MEASURES_ARRAYMEASCOLUMN_H
29 #define MEASURES_ARRAYMEASCOLUMN_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/measures/TableMeasures/TableMeasColumn.h>
34 #include <casacore/measures/Measures/MeasRef.h>
39 template <
class T>
class ArrayColumn;
40 template <
class T>
class ScalarColumn;
41 template <
class T>
class Array;
42 template <
class M>
class ScalarMeasColumn;
171 template<
class M>
class ArrayMeasColumn :
public TableMeasColumn
191 void reference (
const ArrayMeasColumn<M>& that);
194 void attach (
const Table& tab,
const String& columnName);
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
void put(uInt rownr, const Array< M > &)
Add a Measure array to the specified row.
ArrayColumn< Double > * itsDataCol
void setDescRefCode(uInt refCode, Bool tableMustBeEmpty=True)
Reset the refCode, offset, or units.
Physical quantities within reference frame.
Array< M > operator()(uInt rownr) const
void get(uInt rownr, Array< M > &meas, Bool resize=False) const
Get the Measure array in the specified row.
void attach(const Table &tab, const String &columnName)
Attach a column to the object.
void reference(const ArrayMeasColumn< M > &that)
Change the reference to another column.
Array< M > doConvert(uInt rownr, typename M::Convert &conv) const
Get the data and convert using conversion engine.
void setDescOffset(const Measure &offset, Bool tableMustBeEmpty=True)
ArrayColumn< String > * itsArrRefStrCol
void cleanUp()
Deletes allocated memory etc.
const MeasRef< M > & getMeasRef() const
Get the column's reference.
ScalarColumn< Int > * itsRefIntCol
Read only access to table array Measure columns.
ArrayMeasColumn< M > * itsArrOffsetCol
Array< M > convert(uInt rownr, const M &meas) const
Get the Measure array contained in the specified row and convert it to the reference and offset found...
this file contains all the compiler specific defines
ArrayColumn< Int > * itsArrRefIntCol
ArrayMeasColumn()
The default constructor creates a null object.
ArrayMeasColumn & operator=(const ArrayMeasColumn< M > &that)
Assignment makes no sense in a read only class.
void setDescUnits(const Vector< Unit > &units, Bool tableMustBeEmpty=True)
Read only access to table scalar Measure columns.
bool Bool
Define the standard types used by Casacore.
A 1-D Specialization of the Array class.
ScalarMeasColumn< M > * itsOffsetCol
virtual ~ArrayMeasColumn()
ScalarColumn< String > * itsRefStrCol