28 #ifndef TABLES_MSMINDCOLUMN_H
29 #define TABLES_MSMINDCOLUMN_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/tables/DataMan/MSMColumn.h>
35 #include <casacore/tables/DataMan/MSMBase.h>
36 #include <casacore/casa/Arrays/IPosition.h>
Non-templated base class for templated Array class.
const IPosition & shape() const
Data(const IPosition &shape, int dtype, int elemSize)
Data & operator=(const Data &)
void * getDataPtr(rownr_t rownr)
Get a pointer to the data array.
void remove(rownr_t rownr)
Remove the value in the given row.
Bool canChangeShape() const
This storage manager can handle changing array shapes.
const IPosition & columnShape() const
Get the column shape.
Bool isShapeDefined(rownr_t rownr)
Is the shape defined (i.e.
void putSliceV(rownr_t rownr, const Slicer &, const ArrayBase &arr)
Put into a section of the array in the given row.
void getArrayV(rownr_t rownr, ArrayBase &arr)
Get an array value in the given row.
void setShapeColumn(const IPosition &shape)
Set the (fixed) shape of the arrays in the entire column.
MSMIndColumn(const MSMIndColumn &)
Forbid copy constructor.
~MSMIndColumn()
Frees up the storage.
void getSliceV(rownr_t rownr, const Slicer &, ArrayBase &arr)
Get a section of the array in the given row.
void setShape(rownr_t rownr, const IPosition &shape)
Set the shape of the array in the given row and allocate the array in the file.
void putArrayV(rownr_t rownr, const ArrayBase &arr)
Put an array value into the given row.
void deleteArray(rownr_t rownr)
Delete the array in the given row.
IPosition fixedShape_p
The shape of all arrays in case it is fixed.
IPosition shape(rownr_t rownr)
Get the shape of the array in the given row.
MSMIndColumn(MSMBase *, int dataType)
Create a column of the given type.
Data * getShape(rownr_t rownr)
Read the shape at the given row.
MSMIndColumn & operator=(const MSMIndColumn &)
Forbid assignment.
uInt elemSize_p
The size of an array element.
uInt startSize_p
The size at the start of the data (for the IPosition).
uInt ndim(rownr_t rownr)
Get the dimensionality of the item in the given row.
virtual int dataType() const
Return the data type of the column.
Int elemSize() const
Return the size of an element of the column's data type.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
uInt64 rownr_t
Define the type of a row number in a table.