28 #ifndef TABLES_MSMDIRCOLUMN_H
29 #define TABLES_MSMDIRCOLUMN_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/tables/DataMan/MSMColumn.h>
35 #include <casacore/casa/Arrays/Array.h>
Non-templated base class for templated Array class.
void * getArrayPtr(rownr_t rownr)
Get the pointer for the given row.
MSMDirColumn & operator=(const MSMDirColumn &)
Forbid assignment.
uInt seqnr_p
The (unique) sequence number of the column.
virtual void getSliceV(rownr_t rownr, const Slicer &, ArrayBase &arr)
Get a section of the array in the given row.
virtual void getArrayV(rownr_t rownr, ArrayBase &arr)
Get an array value in the given row.
virtual void setShapeColumn(const IPosition &shape)
Set the (fixed) shape of the arrays in the entire column.
void doPutSlice(rownr_t rownr, const Slicer &slicer, const Array< T > &data)
void doGetSlice(rownr_t rownr, const Slicer &slicer, Array< T > &data)
void doCreate(rownr_t nrrow)
Let the column create its arrays.
IPosition shape_p
The shape of the array.
virtual IPosition shape(rownr_t rownr)
Get the shape of the array in the given row.
void remove(rownr_t rownr)
Remove the value in the given row.
MSMDirColumn(const MSMDirColumn &)
Forbid copy constructor.
virtual void addRow(rownr_t newNrrow, rownr_t oldNrrow)
Add (newNrrow-oldNrrow) rows to the column.
virtual ~MSMDirColumn()
Frees up the storage.
void deleteArray(rownr_t rownr)
Delete the array in the given row.
MSMDirColumn(MSMBase *smptr, int dataType)
Create a column of the given type.
virtual uInt ndim(rownr_t rownr)
Get the dimensionality of the item in the given row.
virtual void putArrayV(rownr_t rownr, const ArrayBase &arr)
Put an array value into the given row.
rownr_t nrelem_p
The nr of elements in the array.
virtual void putSliceV(rownr_t rownr, const Slicer &, const ArrayBase &arr)
Put into a section of the array in the given row.
virtual int dataType() const
Return the data type of the column.
@ SHARE
Share means that the Array will just use the pointer (no copy), however the Array will NOT delete it ...
this file contains all the compiler specific defines
uInt64 rownr_t
Define the type of a row number in a table.