28 #ifndef TABLES_MSMINDCOLUMN_H
29 #define TABLES_MSMINDCOLUMN_H
200 void remove (
uInt rownr);
208 ~Data() noexcept(
false);
209 void clear (
int dtype);
A Vector of integers, for indexing into Array<T> objects.
void putArrayInt64V(uInt rownr, const Array< Int64 > *dataPtr)
const IPosition & shape() const
void putArrayStringV(uInt rownr, const Array< String > *dataPtr)
void getArrayStringV(uInt rownr, Array< String > *dataPtr)
void getArrayuCharV(uInt rownr, Array< uChar > *dataPtr)
void putSliceIntV(uInt rownr, const Slicer &, const Array< Int > *dataPtr)
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.
void putSliceuShortV(uInt rownr, const Slicer &, const Array< uShort > *dataPtr)
void putSlicefloatV(uInt rownr, const Slicer &, const Array< float > *dataPtr)
MSMIndColumn & operator=(const MSMIndColumn &)
Forbid assignment.
Bool canAccessSlice(Bool &reask) const
It can handle access to a slice in a cell.
void putSliceuIntV(uInt rownr, const Slicer &, const Array< uInt > *dataPtr)
void putSliceDComplexV(uInt rownr, const Slicer &, const Array< DComplex > *dataPtr)
void putSliceComplexV(uInt rownr, const Slicer &, const Array< Complex > *dataPtr)
void putArrayDComplexV(uInt rownr, const Array< DComplex > *dataPtr)
void getSlicefloatV(uInt rownr, const Slicer &, Array< float > *dataPtr)
void getArrayDComplexV(uInt rownr, Array< DComplex > *dataPtr)
void putArrayuIntV(uInt rownr, const Array< uInt > *dataPtr)
Base class for memory-based table storage manager class.
void * getDataPtr(uInt rownr)
Get a pointer to the data array.
void getSliceuShortV(uInt rownr, const Slicer &, Array< uShort > *dataPtr)
~Data() noexcept(false)
explicitly specify noexcept to squash compiler warning
void putArrayShortV(uInt rownr, const Array< Short > *dataPtr)
MSMIndColumn(MSMBase *, int dataType)
Create a column of the given type.
void setShape(uInt rownr, const IPosition &shape)
Set the shape of the array in the given row and allocate the array in the file.
void putArrayuCharV(uInt rownr, const Array< uChar > *dataPtr)
~MSMIndColumn()
Frees up the storage.
void putSliceShortV(uInt rownr, const Slicer &, const Array< Short > *dataPtr)
void putSliceStringV(uInt rownr, const Slicer &, const Array< String > *dataPtr)
int dataType() const
Return the data type of the column.
void getSliceuIntV(uInt rownr, const Slicer &, Array< uInt > *dataPtr)
void getArrayComplexV(uInt rownr, Array< Complex > *dataPtr)
void putArrayuShortV(uInt rownr, const Array< uShort > *dataPtr)
Data * getShape(uInt rownr)
Read the shape at the given row.
void getSliceIntV(uInt rownr, const Slicer &, Array< Int > *dataPtr)
Bool isShapeDefined(uInt rownr)
Is the shape defined (i.e.
IPosition shape(uInt rownr)
Get the shape of the array in the given row.
Data(const IPosition &shape, int dtype)
void putSliceBoolV(uInt rownr, const Slicer &, const Array< Bool > *dataPtr)
Put into a section of the array in the given row.
void getSliceInt64V(uInt rownr, const Slicer &, Array< Int64 > *dataPtr)
void getSliceComplexV(uInt rownr, const Slicer &, Array< Complex > *dataPtr)
const IPosition & columnShape() const
Get the column shape.
uInt ndim(uInt rownr)
Get the dimensionality of the item in the given row.
void getArraydoubleV(uInt rownr, Array< double > *dataPtr)
void getArrayfloatV(uInt rownr, Array< float > *dataPtr)
bool Bool
Define the standard types used by Casacore.
void getArrayInt64V(uInt rownr, Array< Int64 > *dataPtr)
void putSlicedoubleV(uInt rownr, const Slicer &, const Array< double > *dataPtr)
void getSliceBoolV(uInt rownr, const Slicer &, Array< Bool > *dataPtr)
Get a section of the array in the given row.
void getArrayBoolV(uInt rownr, Array< Bool > *dataPtr)
Get an array value in the given row.
void getSlicedoubleV(uInt rownr, const Slicer &, Array< double > *dataPtr)
void putArrayComplexV(uInt rownr, const Array< Complex > *dataPtr)
void putArrayBoolV(uInt rownr, const Array< Bool > *dataPtr)
Put an array value into 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.
void deleteArray(uInt rownr)
Delete the array in the given row.
IPosition fixedShape_p
The shape of all arrays in case it is fixed.
void getSliceShortV(uInt rownr, const Slicer &, Array< Short > *dataPtr)
void getArrayuShortV(uInt rownr, Array< uShort > *dataPtr)
Bool canChangeShape() const
This storage manager can handle changing array shapes.
void getArrayIntV(uInt rownr, Array< Int > *dataPtr)
void putSliceuCharV(uInt rownr, const Slicer &, const Array< uChar > *dataPtr)
void putArrayfloatV(uInt rownr, const Array< float > *dataPtr)
void getSliceuCharV(uInt rownr, const Slicer &, Array< uChar > *dataPtr)
void getSliceDComplexV(uInt rownr, const Slicer &, Array< DComplex > *dataPtr)
void getSliceStringV(uInt rownr, const Slicer &, Array< String > *dataPtr)
void getArrayuIntV(uInt rownr, Array< uInt > *dataPtr)
void putSliceInt64V(uInt rownr, const Slicer &, const Array< Int64 > *dataPtr)
void getArrayShortV(uInt rownr, Array< Short > *dataPtr)
void putArraydoubleV(uInt rownr, const Array< double > *dataPtr)
uInt startSize_p
The size at the start of the data (for the IPosition).
void putArrayIntV(uInt rownr, const Array< Int > *dataPtr)
Mmeory storage manager for variable shaped table arrays.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.