28 #ifndef TABLES_STINDARRAIO_H
29 #define TABLES_STINDARRAIO_H
156 virtual void remove (
rownr_t rownr);
A Vector of integers, for indexing into Array<T> objects.
Non-templated base class for templated Array class.
StManColumnIndArrayAipsIO(StManAipsIO *, int dataType)
Create a column of the given type.
virtual void addRow(rownr_t newNrrow, rownr_t oldNrrow)
Add (newNrrow-oldNrrow) rows to the column.
virtual Bool canChangeShape() const
This storage manager can handle changing array shapes for non-FixedShape columns. ...
AipsIO is the object persistency mechanism of Casacore.
Read/write indirect arrays.
virtual void putArrayV(rownr_t rownr, const ArrayBase &dataPtr)
Put an array value into the given row.
void deleteArray(rownr_t rownr)
Delete the array in the given row.
uInt version_p
The version of the object retrieved from a file.
StManAipsIO * staioPtr_p
The storage manager.
virtual void putFile(rownr_t nrval, AipsIO &)
Write the data into AipsIO.
StManArrayFile * iosfile_p
The file containing the indirect arrays.
virtual void reopenRW()
Reopen the storage manager files for read/write.
IPosition fixedShape_p
The shape of all arrays in case it is fixed.
virtual void getSliceV(rownr_t rownr, const Slicer &, ArrayBase &dataPtr)
Get a section of the array in the given row.
virtual void doCreate(rownr_t nrrow)
Let the column create its array file.
void getData(void *datap, uInt index, uInt nrval, AipsIO &, uInt version)
Get file offsets to the arrays into a data block at the given index.
AipsIO table column storage manager class.
virtual 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.
virtual void setShapeColumn(const IPosition &shape)
Set the (fixed) shape of the arrays in the entire column.
virtual void putSliceV(rownr_t rownr, const Slicer &, const ArrayBase &dataPtr)
Put into a section of the array in the given row.
Bool shapeIsFixed_p
Switch indicating if the shape is fixed.
virtual int dataType() const
Return the data type of the column.
void putData(void *datap, uInt nrval, AipsIO &)
Put the data of a data block.
virtual ~StManColumnIndArrayAipsIO()
Frees up the storage and delete the StManArrayFile object.
bool Bool
Define the standard types used by Casacore.
StIndArray * getShape(rownr_t rownr)
Read the shape at the given row.
Specify which elements to extract from an n-dimensional array.
AipsIO table storage manager class.
uInt64 rownr_t
Define the type of a row number in a table.
virtual void getFile(rownr_t nrval, AipsIO &)
Read the data from AipsIO.
OpenOption
Define the possible ByteIO open options.
AipsIO storage manager for indirect table arrays.
virtual Bool isShapeDefined(rownr_t rownr)
Is the shape defined (i.e.
uInt seqnr_p
The (unique) sequence number of the column.
virtual void getArrayV(rownr_t rownr, ArrayBase &dataPtr)
Get an array value in the given row.
virtual uInt ndim(rownr_t rownr)
Get the dimensionality of the item in the given row.
Read/write array in external format for a storage manager.
Bool ok() const
Check if the class invariants still hold.
void openFile(ByteIO::OpenOption opt)
Open the file with the given mode.
virtual IPosition shape(rownr_t rownr)
Get the shape of the array in the given row.
StManColumnIndArrayAipsIO & operator=(const StManColumnIndArrayAipsIO &)
Forbid assignment.