28 #ifndef TABLES_MSMINDCOLUMN_H
29 #define TABLES_MSMINDCOLUMN_H
141 ~Data() noexcept(
false);
142 void clear (
int dtype);
A Vector of integers, for indexing into Array<T> objects.
const IPosition & shape() const
Non-templated base class for templated Array class.
uInt elemSize_p
The size of an array element.
void setShapeColumn(const IPosition &shape)
Set the (fixed) shape of the arrays in the entire column.
MSMIndColumn & operator=(const MSMIndColumn &)
Forbid assignment.
Int elemSize() const
Return the size of an element of the column's data type.
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.
IPosition shape(rownr_t rownr)
Get the shape of the array in the given row.
void * getDataPtr(rownr_t rownr)
Get a pointer to the data array.
Base class for memory-based table storage manager class.
Data * getShape(rownr_t rownr)
Read the shape at the given row.
Data(const IPosition &shape, int dtype, int elemSize)
MSMIndColumn(MSMBase *, int dataType)
Create a column of the given type.
~MSMIndColumn()
Frees up the storage.
Bool isShapeDefined(rownr_t rownr)
Is the shape defined (i.e.
void deleteArray(rownr_t rownr)
Delete the array in the given row.
const IPosition & columnShape() const
Get the column shape.
virtual int dataType() const
Return the data type of the column.
void putArrayV(rownr_t rownr, const ArrayBase &arr)
Put an array value into the given row.
void putSliceV(rownr_t rownr, const Slicer &, const ArrayBase &arr)
Put into a section of the array in the given row.
bool Bool
Define the standard types used by Casacore.
uInt ndim(rownr_t rownr)
Get the dimensionality of the item in the given row.
Column in the Memory table storage manager class.
Data & operator=(const Data &)
Specify which elements to extract from an n-dimensional array.
IPosition fixedShape_p
The shape of all arrays in case it is fixed.
uInt64 rownr_t
Define the type of a row number in a table.
Bool canChangeShape() const
This storage manager can handle changing array shapes.
uInt startSize_p
The size at the start of the data (for the IPosition).
Mmeory storage manager for variable shaped table arrays.
void getArrayV(rownr_t rownr, ArrayBase &arr)
Get an array value in the given row.