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.
Array< Quantum< T > > operator()(rownr_t rownr) const
Return the quantum array stored in the specified row.
Provides read/write access to Array Quantum columns in Tables.
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.
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)
A templated N-D Array class with zero origin. Array<T, Alloc> is a templated, N-dimensional, Array class. The origin is zero, but by default indices are zero-based. This Array class is the base class for the Vector, Matrix, and Cube subclasses.
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.
uInt64 rownr_t
Define the type of a row number in a table.
ScalarColumn< String > * itsScaUnitsCol
void put(rownr_t rownr, const Array< Quantum< T > > &q)
Put an array of quanta into the specified row of the table.
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 getData(rownr_t rownr, Array< Quantum< T > > &q, Bool resize) const
Get the data without possible conversion.
void cleanUp()
Deletes allocated memory etc.
Vector< Unit > itsUnitOut