28 #ifndef TABLES_SSMINDCOLUMN_H
29 #define TABLES_SSMINDCOLUMN_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/tables/DataMan/SSMColumn.h>
35 #include <casacore/tables/DataMan/StIndArray.h>
36 #include <casacore/casa/Arrays/IPosition.h>
Non-templated base class for templated Array class.
virtual void putSliceV(rownr_t aRowNr, const Slicer &, const ArrayBase &aDataPtr)
Put into a section of the array in the given row.
void init()
Initialize part of the object and open/create the file.
SSMIndColumn & operator=(const SSMIndColumn &)
Forbid assignment.
virtual void deleteRow(rownr_t aRowNr)
Remove the given row from the data bucket and possibly string bucket.
virtual uInt ndim(rownr_t aRowNr)
Get the dimensionality of the item in the given row.
StIndArray * getShape(rownr_t aRowNr)
Read the shape at the given row.
virtual void putArrayV(rownr_t aRowNr, const ArrayBase &aDataPtr)
Put an array value into the given row.
virtual void getArrayV(rownr_t aRowNr, ArrayBase &aDataPtr)
Get an array value in the given row.
virtual void doCreate(rownr_t aNrRows)
Let the column object create its array file.
~SSMIndColumn()
Frees up the storage.
StIndArray * getArrayPtr(rownr_t aRowNr)
Return a pointer to the array in the given row (for a get).
virtual void getFile(rownr_t aNrRows)
Open an existing file.
virtual void addRow(rownr_t aNewNrRows, rownr_t anOldNrRows, Bool doInit)
Add (newNrrow-oldNrrow) rows to the column.
virtual void getSliceV(rownr_t aRowNr, const Slicer &, ArrayBase &aDataPtr)
Get a section of the array in the given row.
virtual IPosition shape(rownr_t aRowNr)
Get the shape of the array in the given row.
SSMIndColumn(SSMBase *aParent, int aDataType, uInt aColNr)
Create a column of the given data type.
virtual Bool isShapeDefined(rownr_t aRowNr)
Is the shape defined (i.e.
void setShape(rownr_t aRowNr, const IPosition &aShape)
Set the shape of the array in the given row and allocate the array in the file.
Bool canChangeShape() const
This storage manager can handle changing array shapes.
virtual void setShapeColumn(const IPosition &aShape)
Set the (fixed) shape of the arrays in the entire column.
StManArrayFile * itsIosFile
SSMIndColumn(const SSMIndColumn &)
Forbid copy constructor.
virtual void setMaxLength(uInt maxLength)
An array of 'fixed length' strings is not handled specially, thus this function is ignored.
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.