28 #ifndef TABLES_MSMDIRCOLUMN_H
29 #define TABLES_MSMDIRCOLUMN_H
A Vector of integers, for indexing into Array<T> objects.
virtual ~MSMDirColumn()
Frees up the storage.
uInt seqnr_p
The (unique) sequence number of the column.
Non-templated base class for templated Array class.
void doPutSlice(rownr_t rownr, const Slicer &slicer, const Array< T > &data)
Memory storage manager for table arrays.
virtual void addRow(rownr_t newNrrow, rownr_t oldNrrow)
Add (newNrrow-oldNrrow) rows to the column.
virtual void getSliceV(rownr_t rownr, const Slicer &, ArrayBase &arr)
Get a section of the array in the given row.
Base class for memory-based table storage manager class.
MSMDirColumn & operator=(const MSMDirColumn &)
Forbid assignment.
MSMDirColumn(MSMBase *smptr, int dataType)
Create a column of the given type.
virtual void putArrayV(rownr_t rownr, const ArrayBase &arr)
Put an array value into the given row.
virtual void putSliceV(rownr_t rownr, const Slicer &, const ArrayBase &arr)
Put into 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 int dataType() const
Return the data type of the column.
void deleteArray(rownr_t rownr)
Delete the array in the given row.
Column in the Memory table storage manager class.
Specify which elements to extract from an n-dimensional array.
void * getArrayPtr(rownr_t rownr)
Get the pointer for the given row.
uInt64 rownr_t
Define the type of a row number in a table.
Share means that the Array will just use the pointer (no copy), however the Array will NOT delete it ...
virtual void setShapeColumn(const IPosition &shape)
Set the (fixed) shape of the arrays in the entire column.
IPosition shape_p
The shape of the array.
void doCreate(rownr_t nrrow)
Let the column create its arrays.
rownr_t nrelem_p
The nr of elements in the array.
void doGetSlice(rownr_t rownr, const Slicer &slicer, Array< T > &data)
virtual IPosition shape(rownr_t rownr)
Get the shape of the array in the given row.
virtual uInt ndim(rownr_t rownr)
Get the dimensionality of the item in the given row.