28 #ifndef MEASURES_ARRAYQUANTCOLUMN_H
29 #define MEASURES_ARRAYQUANTCOLUMN_H
40 template <
class T>
class ArrayColumn;
41 template <
class T>
class ScalarColumn;
264 #define ROArrayQuantColumn ArrayQuantColumn
267 #ifndef CASACORE_NO_AUTO_TEMPLATES
268 #include <casacore/measures/TableMeasures/ArrayQuantColumn.tcc>
269 #endif //# CASACORE_NO_AUTO_TEMPLATES
ArrayQuantColumn & operator=(const ArrayQuantColumn< T > &that)
Assignment makes no sense in a read only class.
A 1-D Specialization of the Array class.
void throwIfNull() const
Throw an exception if the object is null.
Main interface class to a read/write table.
Vector< String > getUnits() const
Returns the column's units as a vector of strings.
Provides read/write access to Array Quantum columns in Tables.
void put(uInt rownr, const Array< Quantum< T > > &q)
Put an array of quanta into the specified row of the table.
const ScalarColumn< String > * scaUnitsCol() const
const ArrayColumn< String > * arrUnitsCol() const
Get access to itsUnitsCol.
Bool isUnitVariable() const
Test whether the Quantum column has variable units.
Bool operator==(const ArrayQuantColumn< T > &that)
Comparison is not defined, since its semantics are unclear.
void getData(uInt rownr, Array< Quantum< T > > &q, Bool resize) const
Get the data without possible conversion.
bool Bool
Define the standard types used by Casacore.
Read and write access to an array table column with arbitrary data type.
Quantities (i.e. dimensioned values)
template <class T, class U> class vector;
ArrayColumn< String > * itsArrUnitsCol
void init(const Table &tab, const String &columnName)
Initialize the ArrayQuantColumn from the specified table and column.
void attach(const Table &tab, const String &columnName)
Attach a column to the object.
ScalarColumn< String > * itsScaUnitsCol
String: the storage and methods of handling collections of characters.
void reference(const ArrayQuantColumn< T > &that)
Make this object reference the column in "that".
ArrayQuantColumn()
The default constructor creates a null object.
ArrayColumn< T > * itsDataCol
Access to a scalar table column with arbitrary data type.
Bool isNull() const
Test if the object is null.
void cleanUp()
Deletes allocated memory etc.
Array< Quantum< T > > operator()(uInt rownr) const
Return the quantum array stored in the specified row.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.
Vector< Unit > itsUnitOut