26#ifndef TABLES_MSMINDCOLUMN_H
27#define TABLES_MSMINDCOLUMN_H
31#include <casacore/casa/aips.h>
32#include <casacore/tables/DataMan/MSMColumn.h>
33#include <casacore/tables/DataMan/MSMBase.h>
34#include <casacore/casa/Arrays/IPosition.h>
Non-templated base class for templated Array class.
Data(const IPosition &shape, int dtype, int elemSize)
Data(const Data &)=delete
Data & operator=(const Data &)=delete
const IPosition & shape() const
void remove(rownr_t rownr)
Remove the value in the given row.
Bool canChangeShape() const
This storage manager can handle changing array shapes.
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()
Frees up the storage.
MSMIndColumn & operator=(const MSMIndColumn &)=delete
Forbid assignment.
Data * getShape(rownr_t rownr)
Read the shape at the given row.
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.
const IPosition & columnShape() const
Get the column shape.
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.
uInt startSize_p
The size at the start of the data (for the IPosition).
void * getDataPtr(rownr_t rownr)
Get a pointer to the data array.
uInt ndim(rownr_t rownr)
Get the dimensionality of the item in the given row.
MSMIndColumn(const MSMIndColumn &)=delete
Forbid copy constructor.
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.