28 #ifndef TABLES_STINDARRAIO_H
29 #define TABLES_STINDARRAIO_H
223 void remove (
uInt rownr);
void putSliceDComplexV(uInt rownr, const Slicer &, const Array< DComplex > *dataPtr)
A Vector of integers, for indexing into Array<T> objects.
~StManColumnIndArrayAipsIO()
Frees up the storage and delete the StManArrayFile object.
void putArrayComplexV(uInt rownr, const Array< Complex > *dataPtr)
void putSliceStringV(uInt rownr, const Slicer &, const Array< String > *dataPtr)
void putSliceBoolV(uInt rownr, const Slicer &, const Array< Bool > *dataPtr)
Put into a section of the array in the given row.
void getArrayfloatV(uInt rownr, Array< float > *dataPtr)
void getArrayStringV(uInt rownr, Array< String > *dataPtr)
void getSliceDComplexV(uInt rownr, const Slicer &, Array< DComplex > *dataPtr)
void putArrayInt64V(uInt rownr, const Array< Int64 > *dataPtr)
StManColumnIndArrayAipsIO(StManAipsIO *, int dataType)
Create a column of the given type.
void putSliceuShortV(uInt rownr, const Slicer &, const Array< uShort > *dataPtr)
void getSliceuIntV(uInt rownr, const Slicer &, Array< uInt > *dataPtr)
AipsIO is the object persistency mechanism of Casacore.
void getArrayuCharV(uInt rownr, Array< uChar > *dataPtr)
IPosition shape(uInt rownr)
Get the shape of the array in the given row.
Read/write indirect arrays.
void getArrayInt64V(uInt rownr, Array< Int64 > *dataPtr)
Bool canAccessSlice(Bool &reask) const
It can handle access to a slice in a cell.
void putSliceIntV(uInt rownr, const Slicer &, const Array< Int > *dataPtr)
uInt version_p
The version of the object retrieved from a file.
void getArraydoubleV(uInt rownr, Array< double > *dataPtr)
Bool isShapeDefined(uInt rownr)
Is the shape defined (i.e.
void putSliceuCharV(uInt rownr, const Slicer &, const Array< uChar > *dataPtr)
void getSliceShortV(uInt rownr, const Slicer &, Array< Short > *dataPtr)
void addRow(uInt newNrrow, uInt oldNrrow)
Add (newNrrow-oldNrrow) rows to the column.
void getArrayIntV(uInt rownr, Array< Int > *dataPtr)
void putArrayDComplexV(uInt rownr, const Array< DComplex > *dataPtr)
void getArrayDComplexV(uInt rownr, Array< DComplex > *dataPtr)
StManArrayFile * iosfile_p
The file containing the indirect arrays.
virtual void reopenRW()
Reopen the storage manager files for read/write.
int dataType() const
Return the data type of the column.
IPosition fixedShape_p
The shape of all arrays in case it is fixed.
void getFile(uInt nrval, AipsIO &)
Read the data from AipsIO.
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.
void getSliceuCharV(uInt rownr, const Slicer &, Array< uChar > *dataPtr)
void putArraydoubleV(uInt rownr, const Array< double > *dataPtr)
void putArrayBoolV(uInt rownr, const Array< Bool > *dataPtr)
Put an array value into the given row.
void putArrayShortV(uInt rownr, const Array< Short > *dataPtr)
void putSliceuIntV(uInt rownr, const Slicer &, const Array< uInt > *dataPtr)
void getArrayBoolV(uInt rownr, Array< Bool > *dataPtr)
Get an array value in the given row.
void putArrayfloatV(uInt rownr, const Array< float > *dataPtr)
void putArrayIntV(uInt rownr, const Array< Int > *dataPtr)
Bool shapeIsFixed_p
Switch indicating if the shape is fixed.
void getSliceStringV(uInt rownr, const Slicer &, Array< String > *dataPtr)
void putData(void *datap, uInt nrval, AipsIO &)
Put the data of a data block.
void getSlicefloatV(uInt rownr, const Slicer &, Array< float > *dataPtr)
void putArrayStringV(uInt rownr, const Array< String > *dataPtr)
bool Bool
Define the standard types used by Casacore.
void putSliceInt64V(uInt rownr, const Slicer &, const Array< Int64 > *dataPtr)
void getArrayComplexV(uInt rownr, Array< Complex > *dataPtr)
uInt ndim(uInt rownr)
Get the dimensionality of the item in the given row.
void setShapeColumn(const IPosition &shape)
Set the (fixed) shape of the arrays in the entire column.
void putSlicefloatV(uInt rownr, const Slicer &, const Array< float > *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 putFile(uInt nrval, AipsIO &)
Write the data into AipsIO.
void getSliceBoolV(uInt rownr, const Slicer &, Array< Bool > *dataPtr)
Get a section of the array in the given row.
void getSliceuShortV(uInt rownr, const Slicer &, Array< uShort > *dataPtr)
Specify which elements to extract from an n-dimensional array.
void putSlicedoubleV(uInt rownr, const Slicer &, const Array< double > *dataPtr)
AipsIO table storage manager class.
void getSliceIntV(uInt rownr, const Slicer &, Array< Int > *dataPtr)
void putArrayuShortV(uInt rownr, const Array< uShort > *dataPtr)
void doCreate(uInt nrrow)
Let the column create its array file.
OpenOption
Define the possible ByteIO open options.
Bool canChangeShape() const
This storage manager can handle changing array shapes for non-FixedShape columns. ...
void getSliceInt64V(uInt rownr, const Slicer &, Array< Int64 > *dataPtr)
void putSliceComplexV(uInt rownr, const Slicer &, const Array< Complex > *dataPtr)
AipsIO storage manager for indirect table arrays.
StIndArray * getShape(uInt rownr)
Read the shape at the given row.
void putArrayuIntV(uInt rownr, const Array< uInt > *dataPtr)
void putArrayuCharV(uInt rownr, const Array< uChar > *dataPtr)
void deleteArray(uInt rownr)
Delete the array in the given row.
void getArrayShortV(uInt rownr, Array< Short > *dataPtr)
void getArrayuShortV(uInt rownr, Array< uShort > *dataPtr)
uInt seqnr_p
The (unique) sequence number of the column.
void putSliceShortV(uInt rownr, const Slicer &, const Array< Short > *dataPtr)
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.
void getSlicedoubleV(uInt rownr, const Slicer &, Array< double > *dataPtr)
void getArrayuIntV(uInt rownr, Array< uInt > *dataPtr)
void getSliceComplexV(uInt rownr, const Slicer &, Array< Complex > *dataPtr)
StManColumnIndArrayAipsIO & operator=(const StManColumnIndArrayAipsIO &)
Forbid assignment.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.