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