28 #ifndef MEASURES_ARRAYQUANTCOLUMN_H 29 #define MEASURES_ARRAYQUANTCOLUMN_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/casa/Arrays/Vector.h> 34 #include <casacore/casa/Quanta/Quantum.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.
Main interface class to a read/write table.
const ScalarColumn< String > * scaUnitsCol() const
void throwIfNull() const
Throw an exception if the object is null.
Provides read/write access to Array Quantum columns in Tables.
Vector< String > getUnits() const
Returns the column's units as a vector of strings.
void put(uInt rownr, const Array< Quantum< T > > &q)
Put an array of quanta into the specified row of the table.
Bool isNull() const
Test if the object is null.
const ArrayColumn< String > * arrUnitsCol() const
Get access to itsUnitsCol.
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)
Bool isUnitVariable() const
Test whether the Quantum column has variable units.
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.
Array< Quantum< T > > operator()(uInt rownr) const
Return the quantum array stored in the specified row.
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.
this file contains all the compiler specific defines
void cleanUp()
Deletes allocated memory etc.
void getData(uInt rownr, Array< Quantum< T > > &q, Bool resize) const
Get the data without possible conversion.
Vector< Unit > itsUnitOut