casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::StManColumnIndArrayAipsIO Class Reference

AipsIO storage manager for indirect table arrays. More...

#include <StIndArrAIO.h>

Inheritance diagram for casacore::StManColumnIndArrayAipsIO:
casacore::StManColumnAipsIO casacore::StManColumn casacore::DataManagerColumn

Public Member Functions

 StManColumnIndArrayAipsIO (StManAipsIO *, int dataType)
 Create a column of the given type. More...
 
 ~StManColumnIndArrayAipsIO ()
 Frees up the storage and delete the StManArrayFile object. More...
 
Bool canAccessSlice (Bool &reask) const
 It can handle access to a slice in a cell. More...
 
void setShapeColumn (const IPosition &shape)
 Set the (fixed) shape of the arrays in the entire column. More...
 
void addRow (uInt newNrrow, uInt oldNrrow)
 Add (newNrrow-oldNrrow) rows to the column. More...
 
void setShape (uInt rownr, const IPosition &shape)
 Set the shape of the array in the given row and allocate the array in the file. More...
 
Bool isShapeDefined (uInt rownr)
 Is the shape defined (i.e. More...
 
uInt ndim (uInt rownr)
 Get the dimensionality of the item in the given row. More...
 
IPosition shape (uInt rownr)
 Get the shape of the array in the given row. More...
 
Bool canChangeShape () const
 This storage manager can handle changing array shapes for non-FixedShape columns. More...
 
void getArrayBoolV (uInt rownr, Array< Bool > *dataPtr)
 Get an array value in the given row. More...
 
void getArrayuCharV (uInt rownr, Array< uChar > *dataPtr)
 
void getArrayShortV (uInt rownr, Array< Short > *dataPtr)
 
void getArrayuShortV (uInt rownr, Array< uShort > *dataPtr)
 
void getArrayIntV (uInt rownr, Array< Int > *dataPtr)
 
void getArrayuIntV (uInt rownr, Array< uInt > *dataPtr)
 
void getArrayfloatV (uInt rownr, Array< float > *dataPtr)
 
void getArrayInt64V (uInt rownr, Array< Int64 > *dataPtr)
 
void getArraydoubleV (uInt rownr, Array< double > *dataPtr)
 
void getArrayComplexV (uInt rownr, Array< Complex > *dataPtr)
 
void getArrayDComplexV (uInt rownr, Array< DComplex > *dataPtr)
 
void getArrayStringV (uInt rownr, Array< String > *dataPtr)
 
void putArrayBoolV (uInt rownr, const Array< Bool > *dataPtr)
 Put an array value into the given row. More...
 
void putArrayuCharV (uInt rownr, const Array< uChar > *dataPtr)
 
void putArrayShortV (uInt rownr, const Array< Short > *dataPtr)
 
void putArrayuShortV (uInt rownr, const Array< uShort > *dataPtr)
 
void putArrayIntV (uInt rownr, const Array< Int > *dataPtr)
 
void putArrayuIntV (uInt rownr, const Array< uInt > *dataPtr)
 
void putArrayInt64V (uInt rownr, const Array< Int64 > *dataPtr)
 
void putArrayfloatV (uInt rownr, const Array< float > *dataPtr)
 
void putArraydoubleV (uInt rownr, const Array< double > *dataPtr)
 
void putArrayComplexV (uInt rownr, const Array< Complex > *dataPtr)
 
void putArrayDComplexV (uInt rownr, const Array< DComplex > *dataPtr)
 
void putArrayStringV (uInt rownr, const Array< String > *dataPtr)
 
void getSliceBoolV (uInt rownr, const Slicer &, Array< Bool > *dataPtr)
 Get a section of the array in the given row. More...
 
void getSliceuCharV (uInt rownr, const Slicer &, Array< uChar > *dataPtr)
 
void getSliceShortV (uInt rownr, const Slicer &, Array< Short > *dataPtr)
 
void getSliceuShortV (uInt rownr, const Slicer &, Array< uShort > *dataPtr)
 
void getSliceIntV (uInt rownr, const Slicer &, Array< Int > *dataPtr)
 
void getSliceuIntV (uInt rownr, const Slicer &, Array< uInt > *dataPtr)
 
void getSliceInt64V (uInt rownr, const Slicer &, Array< Int64 > *dataPtr)
 
void getSlicefloatV (uInt rownr, const Slicer &, Array< float > *dataPtr)
 
void getSlicedoubleV (uInt rownr, const Slicer &, Array< double > *dataPtr)
 
void getSliceComplexV (uInt rownr, const Slicer &, Array< Complex > *dataPtr)
 
void getSliceDComplexV (uInt rownr, const Slicer &, Array< DComplex > *dataPtr)
 
void getSliceStringV (uInt rownr, const Slicer &, Array< String > *dataPtr)
 
void putSliceBoolV (uInt rownr, const Slicer &, const Array< Bool > *dataPtr)
 Put into a section of the array in the given row. More...
 
void putSliceuCharV (uInt rownr, const Slicer &, const Array< uChar > *dataPtr)
 
void putSliceShortV (uInt rownr, const Slicer &, const Array< Short > *dataPtr)
 
void putSliceuShortV (uInt rownr, const Slicer &, const Array< uShort > *dataPtr)
 
void putSliceIntV (uInt rownr, const Slicer &, const Array< Int > *dataPtr)
 
void putSliceuIntV (uInt rownr, const Slicer &, const Array< uInt > *dataPtr)
 
void putSliceInt64V (uInt rownr, const Slicer &, const Array< Int64 > *dataPtr)
 
void putSlicefloatV (uInt rownr, const Slicer &, const Array< float > *dataPtr)
 
void putSlicedoubleV (uInt rownr, const Slicer &, const Array< double > *dataPtr)
 
void putSliceComplexV (uInt rownr, const Slicer &, const Array< Complex > *dataPtr)
 
void putSliceDComplexV (uInt rownr, const Slicer &, const Array< DComplex > *dataPtr)
 
void putSliceStringV (uInt rownr, const Slicer &, const Array< String > *dataPtr)
 
void remove (uInt rownr)
 Remove the value in the given row. More...
 
void doCreate (uInt nrrow)
 Let the column create its array file. More...
 
void putFile (uInt nrval, AipsIO &)
 Write the data into AipsIO. More...
 
void getFile (uInt nrval, AipsIO &)
 Read the data from AipsIO. More...
 
virtual void reopenRW ()
 Reopen the storage manager files for read/write. More...
 
Bool ok () const
 Check if the class invariants still hold. More...
 
- Public Member Functions inherited from casacore::StManColumnAipsIO
 StManColumnAipsIO (StManAipsIO *stMan, int dataType, Bool byPtr)
 Create a column of the given type. More...
 
virtual ~StManColumnAipsIO ()
 Frees up the storage. More...
 
void getBoolV (uInt rownr, Bool *dataPtr)
 Get a scalar value in the given row. More...
 
void getuCharV (uInt rownr, uChar *dataPtr)
 
void getShortV (uInt rownr, Short *dataPtr)
 
void getuShortV (uInt rownr, uShort *dataPtr)
 
void getIntV (uInt rownr, Int *dataPtr)
 
void getuIntV (uInt rownr, uInt *dataPtr)
 
void getInt64V (uInt rownr, Int64 *dataPtr)
 
void getfloatV (uInt rownr, float *dataPtr)
 
void getdoubleV (uInt rownr, double *dataPtr)
 
void getComplexV (uInt rownr, Complex *dataPtr)
 
void getDComplexV (uInt rownr, DComplex *dataPtr)
 
void getStringV (uInt rownr, String *dataPtr)
 
void putBoolV (uInt rownr, const Bool *dataPtr)
 Put a scalar value into the given row. More...
 
void putuCharV (uInt rownr, const uChar *dataPtr)
 
void putShortV (uInt rownr, const Short *dataPtr)
 
void putuShortV (uInt rownr, const uShort *dataPtr)
 
void putIntV (uInt rownr, const Int *dataPtr)
 
void putuIntV (uInt rownr, const uInt *dataPtr)
 
void putInt64V (uInt rownr, const Int64 *dataPtr)
 
void putfloatV (uInt rownr, const float *dataPtr)
 
void putdoubleV (uInt rownr, const double *dataPtr)
 
void putComplexV (uInt rownr, const Complex *dataPtr)
 
void putDComplexV (uInt rownr, const DComplex *dataPtr)
 
void putStringV (uInt rownr, const String *dataPtr)
 
uInt getBlockBoolV (uInt rownr, uInt nrmax, Bool *dataPtr)
 Get scalars from the given row on with a maximum of nrmax values. More...
 
uInt getBlockuCharV (uInt rownr, uInt nrmax, uChar *dataPtr)
 
uInt getBlockShortV (uInt rownr, uInt nrmax, Short *dataPtr)
 
uInt getBlockuShortV (uInt rownr, uInt nrmax, uShort *dataPtr)
 
uInt getBlockIntV (uInt rownr, uInt nrmax, Int *dataPtr)
 
uInt getBlockuIntV (uInt rownr, uInt nrmax, uInt *dataPtr)
 
uInt getBlockInt64V (uInt rownr, uInt nrmax, Int64 *dataPtr)
 
uInt getBlockfloatV (uInt rownr, uInt nrmax, float *dataPtr)
 
uInt getBlockdoubleV (uInt rownr, uInt nrmax, double *dataPtr)
 
uInt getBlockComplexV (uInt rownr, uInt nrmax, Complex *dataPtr)
 
uInt getBlockDComplexV (uInt rownr, uInt nrmax, DComplex *dataPtr)
 
uInt getBlockStringV (uInt rownr, uInt nrmax, String *dataPtr)
 
void putBlockBoolV (uInt rownr, uInt nrmax, const Bool *dataPtr)
 Put nrmax scalars from the given row on. More...
 
void putBlockuCharV (uInt rownr, uInt nrmax, const uChar *dataPtr)
 
void putBlockShortV (uInt rownr, uInt nrmax, const Short *dataPtr)
 
void putBlockuShortV (uInt rownr, uInt nrmax, const uShort *dataPtr)
 
void putBlockIntV (uInt rownr, uInt nrmax, const Int *dataPtr)
 
void putBlockuIntV (uInt rownr, uInt nrmax, const uInt *dataPtr)
 
void putBlockInt64V (uInt rownr, uInt nrmax, const Int64 *dataPtr)
 
void putBlockfloatV (uInt rownr, uInt nrmax, const float *dataPtr)
 
void putBlockdoubleV (uInt rownr, uInt nrmax, const double *dataPtr)
 
void putBlockComplexV (uInt rownr, uInt nrmax, const Complex *dataPtr)
 
void putBlockDComplexV (uInt rownr, uInt nrmax, const DComplex *dataPtr)
 
void putBlockStringV (uInt rownr, uInt nrmax, const String *dataPtr)
 
virtual void getScalarColumnCellsBoolV (const RefRows &rownrs, Vector< Bool > *dataPtr)
 Get the scalar values in some cells of the column. More...
 
virtual void getScalarColumnCellsuCharV (const RefRows &rownrs, Vector< uChar > *dataPtr)
 
virtual void getScalarColumnCellsShortV (const RefRows &rownrs, Vector< Short > *dataPtr)
 
virtual void getScalarColumnCellsuShortV (const RefRows &rownrs, Vector< uShort > *dataPtr)
 
virtual void getScalarColumnCellsIntV (const RefRows &rownrs, Vector< Int > *dataPtr)
 
virtual void getScalarColumnCellsuIntV (const RefRows &rownrs, Vector< uInt > *dataPtr)
 
virtual void getScalarColumnCellsInt64V (const RefRows &rownrs, Vector< Int64 > *dataPtr)
 
virtual void getScalarColumnCellsfloatV (const RefRows &rownrs, Vector< float > *dataPtr)
 
virtual void getScalarColumnCellsdoubleV (const RefRows &rownrs, Vector< double > *dataPtr)
 
virtual void getScalarColumnCellsComplexV (const RefRows &rownrs, Vector< Complex > *dataPtr)
 
virtual void getScalarColumnCellsDComplexV (const RefRows &rownrs, Vector< DComplex > *dataPtr)
 
virtual void getScalarColumnCellsStringV (const RefRows &rownrs, Vector< String > *dataPtr)
 
void resize (uInt nrval)
 Resize the data blocks. More...
 
- Public Member Functions inherited from casacore::StManColumn
 StManColumn (int dataType)
 Default constructor. More...
 
 ~StManColumn ()
 
int dataType () const
 Return the data type of the column. More...
 
Bool canAccessScalarColumn (Bool &reask) const
 By default the storage manager can handle access to a scalar column. More...
 
Bool canAccessScalarColumnCells (Bool &reask) const
 All storage managers can handle access to scalar column cells, because this class contains a default implementation of getScalarColumnCellsV. More...
 
Bool canAccessArrayColumnCells (Bool &reask) const
 All storage managers can handle access to array column cells, because this class contains a default implementation of getArrayColumnCellsV. More...
 
void getScalarColumnV (void *dataPtr)
 Get all scalar values in the column. More...
 
void putScalarColumnV (const void *dataPtr)
 Put all scalar values in the column. More...
 
void getScalarColumnCellsV (const RefRows &rownrs, void *dataPtr)
 Get some scalar values in the column. More...
 
void putScalarColumnCellsV (const RefRows &rownrs, const void *dataPtr)
 Put some scalar values in the column. More...
 
uInt getBlockV (uInt rownr, uInt nrmax, void *dataPtr)
 Get scalars from the given row on with a maximum of nrmax values. More...
 
void putBlockV (uInt rownr, uInt nrmax, const void *dataPtr)
 Put nrmax scalars from the given row on. More...
 
void getArrayV (uInt rownr, void *dataPtr)
 Get the array value in the given row. More...
 
void putArrayV (uInt rownr, const void *dataPtr)
 Put the array value into the given row. More...
 
void getArrayColumnV (void *dataPtr)
 Get all array values in the column. More...
 
void putArrayColumnV (const void *dataPtr)
 Put all array values in the column. More...
 
void getArrayColumnCellsV (const RefRows &rownrs, void *dataPtr)
 Get some array values in the column. More...
 
void putArrayColumnCellsV (const RefRows &rownrs, const void *dataPtr)
 Put some array values in the column. More...
 
void getSliceV (uInt rownr, const Slicer &slicer, void *dataPtr)
 Get a section of the array in the given row. More...
 
void putSliceV (uInt rownr, const Slicer &slicer, const void *dataPtr)
 Put into a section of the array in the given row. More...
 
void getColumnSliceV (const Slicer &slicer, void *dataPtr)
 Get a section of all arrays in the column. More...
 
void putColumnSliceV (const Slicer &slicer, const void *dataPtr)
 Put into a section of all arrays in the column. More...
 
virtual void getColumnSliceCellsV (const RefRows &rownrs, const Slicer &slicer, void *dataPtr)
 Get a section of some arrays in the column. More...
 
virtual void putColumnSliceCellsV (const RefRows &rownrs, const Slicer &slicer, const void *dataPtr)
 Put into a section of some arrays in the column. More...
 
- Public Member Functions inherited from casacore::DataManagerColumn
 DataManagerColumn ()
 Create a column. More...
 
virtual ~DataManagerColumn ()
 Frees up the storage. More...
 
void setIsFixedShape (Bool isFixedShape)
 Set the isFixedShape flag. More...
 
Bool isFixedShape () const
 Is this a fixed shape column? More...
 
virtual String dataTypeId () const
 Get the data type id of the column for dataType==TpOther. More...
 
virtual Bool isWritable () const
 Test if data can be put into this column. More...
 
virtual void setMaxLength (uInt maxLength)
 Set the maximum length of the value (can be used for strings). More...
 
void setFixedShapeColumn (const IPosition &shape)
 Set the shape of all (fixed-shaped) arrays in the column. More...
 
virtual void setShapeTiled (uInt rownr, const IPosition &shape, const IPosition &tileShape)
 Set the shape and tile shape of an (variable-shaped) array in the given row. More...
 
virtual IPosition tileShape (uInt rownr)
 Get the tile shape of the item in the given row. More...
 
virtual Bool canAccessArrayColumn (Bool &reask) const
 Can the column data manager handle access to a scalar column? If not, the caller should access the column by looping through all cells in the column. More...
 
virtual Bool canAccessColumnSlice (Bool &reask) const
 Can the column data manager handle access to a column slice? If not, the caller should access the column slice by looping through all cell slices in the column. More...
 
ColumnCachecolumnCache ()
 Get access to the ColumnCache object. More...
 
const ColumnCachecolumnCachePtr () const
 
void get (uInt rownr, Bool *dataPtr)
 Get the scalar value in the given row. More...
 
void get (uInt rownr, uChar *dataPtr)
 
void get (uInt rownr, Short *dataPtr)
 
void get (uInt rownr, uShort *dataPtr)
 
void get (uInt rownr, Int *dataPtr)
 
void get (uInt rownr, uInt *dataPtr)
 
void get (uInt rownr, Int64 *dataPtr)
 
void get (uInt rownr, float *dataPtr)
 
void get (uInt rownr, double *dataPtr)
 
void get (uInt rownr, Complex *dataPtr)
 
void get (uInt rownr, DComplex *dataPtr)
 
void get (uInt rownr, String *dataPtr)
 
void get (uInt rownr, void *dataPtr)
 This function is the get for all non-standard data types. More...
 
void put (uInt rownr, const Bool *dataPtr)
 Put the scalar value into the given row. More...
 
void put (uInt rownr, const uChar *dataPtr)
 
void put (uInt rownr, const Short *dataPtr)
 
void put (uInt rownr, const uShort *dataPtr)
 
void put (uInt rownr, const Int *dataPtr)
 
void put (uInt rownr, const uInt *dataPtr)
 
void put (uInt rownr, const Int64 *dataPtr)
 
void put (uInt rownr, const float *dataPtr)
 
void put (uInt rownr, const double *dataPtr)
 
void put (uInt rownr, const Complex *dataPtr)
 
void put (uInt rownr, const DComplex *dataPtr)
 
void put (uInt rownr, const String *dataPtr)
 
void put (uInt rownr, const void *dataPtr)
 This function is the put for all non-standard data types. More...
 
void throwGet () const
 Throw an "invalid operation" exception for the default implementation of get. More...
 
void throwPut () const
 Throw an "invalid operation" exception for the default implementation of put. More...
 
void setColumnName (const String &colName)
 Set the column name. More...
 
const StringcolumnName () const
 Get rhe column name. More...
 

Private Member Functions

void openFile (ByteIO::OpenOption opt)
 Open the file with the given mode. More...
 
void deleteArray (uInt rownr)
 Delete the array in the given row. More...
 
StIndArraygetShape (uInt rownr)
 Read the shape at the given row. More...
 
void putData (void *datap, uInt nrval, AipsIO &)
 Put the data of a data block. More...
 
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. More...
 
 StManColumnIndArrayAipsIO (const StManColumnIndArrayAipsIO &)
 Forbid copy constructor. More...
 
StManColumnIndArrayAipsIOoperator= (const StManColumnIndArrayAipsIO &)
 Forbid assignment. More...
 

Private Attributes

uInt seqnr_p
 The (unique) sequence number of the column. More...
 
IPosition fixedShape_p
 The shape of all arrays in case it is fixed. More...
 
Bool shapeIsFixed_p
 Switch indicating if the shape is fixed. More...
 
uInt version_p
 The version of the object retrieved from a file. More...
 
StManArrayFileiosfile_p
 The file containing the indirect arrays. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from casacore::StManColumn
static Bool isNativeDataType (int dtype)
 Test if the given data type is supported by storage managers. More...
 
- Protected Member Functions inherited from casacore::StManColumnAipsIO
uInt findExt (uInt rownr, Bool setCache)
 Find the extension in which the row number is. More...
 
uInt nextExt (void *&ext, uInt &extnr, uInt nrmax) const
 Get the next extension. More...
 
void * allocData (uInt nrval, Bool byPtr)
 Allocate an extension with the data type of the column. More...
 
void deleteAll ()
 Delete all extensions. More...
 
void deleteData (void *datap, Bool byPtr)
 Delete an extension. More...
 
void removeData (void *datap, uInt inx, uInt nrvalAfter)
 Remove an entry (i.e. More...
 
void * getArrayPtr (uInt rownr)
 Get the pointer for the given row. More...
 
void putArrayPtr (uInt rownr, void *dataPtr)
 Put the pointer for the given row. More...
 
- Protected Member Functions inherited from casacore::StManColumn
virtual void getScalarColumnBoolV (Vector< Bool > *dataPtr)
 Get the scalar values in the entire column. More...
 
virtual void getScalarColumnuCharV (Vector< uChar > *dataPtr)
 
virtual void getScalarColumnShortV (Vector< Short > *dataPtr)
 
virtual void getScalarColumnuShortV (Vector< uShort > *dataPtr)
 
virtual void getScalarColumnIntV (Vector< Int > *dataPtr)
 
virtual void getScalarColumnuIntV (Vector< uInt > *dataPtr)
 
virtual void getScalarColumnInt64V (Vector< Int64 > *dataPtr)
 
virtual void getScalarColumnfloatV (Vector< float > *dataPtr)
 
virtual void getScalarColumndoubleV (Vector< double > *dataPtr)
 
virtual void getScalarColumnComplexV (Vector< Complex > *dataPtr)
 
virtual void getScalarColumnDComplexV (Vector< DComplex > *dataPtr)
 
virtual void getScalarColumnStringV (Vector< String > *dataPtr)
 
virtual void putScalarColumnBoolV (const Vector< Bool > *dataPtr)
 Put the scalar values into the entire column. More...
 
virtual void putScalarColumnuCharV (const Vector< uChar > *dataPtr)
 
virtual void putScalarColumnShortV (const Vector< Short > *dataPtr)
 
virtual void putScalarColumnuShortV (const Vector< uShort > *dataPtr)
 
virtual void putScalarColumnIntV (const Vector< Int > *dataPtr)
 
virtual void putScalarColumnuIntV (const Vector< uInt > *dataPtr)
 
virtual void putScalarColumnInt64V (const Vector< Int64 > *dataPtr)
 
virtual void putScalarColumnfloatV (const Vector< float > *dataPtr)
 
virtual void putScalarColumndoubleV (const Vector< double > *dataPtr)
 
virtual void putScalarColumnComplexV (const Vector< Complex > *dataPtr)
 
virtual void putScalarColumnDComplexV (const Vector< DComplex > *dataPtr)
 
virtual void putScalarColumnStringV (const Vector< String > *dataPtr)
 
virtual void putScalarColumnCellsBoolV (const RefRows &rownrs, const Vector< Bool > *dataPtr)
 Put the scalar values into some cells of the column. More...
 
virtual void putScalarColumnCellsuCharV (const RefRows &rownrs, const Vector< uChar > *dataPtr)
 
virtual void putScalarColumnCellsShortV (const RefRows &rownrs, const Vector< Short > *dataPtr)
 
virtual void putScalarColumnCellsuShortV (const RefRows &rownrs, const Vector< uShort > *dataPtr)
 
virtual void putScalarColumnCellsIntV (const RefRows &rownrs, const Vector< Int > *dataPtr)
 
virtual void putScalarColumnCellsuIntV (const RefRows &rownrs, const Vector< uInt > *dataPtr)
 
virtual void putScalarColumnCellsInt64V (const RefRows &rownrs, const Vector< Int64 > *dataPtr)
 
virtual void putScalarColumnCellsfloatV (const RefRows &rownrs, const Vector< float > *dataPtr)
 
virtual void putScalarColumnCellsdoubleV (const RefRows &rownrs, const Vector< double > *dataPtr)
 
virtual void putScalarColumnCellsComplexV (const RefRows &rownrs, const Vector< Complex > *dataPtr)
 
virtual void putScalarColumnCellsDComplexV (const RefRows &rownrs, const Vector< DComplex > *dataPtr)
 
virtual void putScalarColumnCellsStringV (const RefRows &rownrs, const Vector< String > *dataPtr)
 
virtual void getArrayColumnBoolV (Array< Bool > *dataPtr)
 Get the array values in the entire column. More...
 
virtual void getArrayColumnuCharV (Array< uChar > *dataPtr)
 
virtual void getArrayColumnShortV (Array< Short > *dataPtr)
 
virtual void getArrayColumnuShortV (Array< uShort > *dataPtr)
 
virtual void getArrayColumnIntV (Array< Int > *dataPtr)
 
virtual void getArrayColumnuIntV (Array< uInt > *dataPtr)
 
virtual void getArrayColumnInt64V (Array< Int64 > *dataPtr)
 
virtual void getArrayColumnfloatV (Array< float > *dataPtr)
 
virtual void getArrayColumndoubleV (Array< double > *dataPtr)
 
virtual void getArrayColumnComplexV (Array< Complex > *dataPtr)
 
virtual void getArrayColumnDComplexV (Array< DComplex > *dataPtr)
 
virtual void getArrayColumnStringV (Array< String > *dataPtr)
 
virtual void putArrayColumnBoolV (const Array< Bool > *dataPtr)
 Put the array values into the entire column. More...
 
virtual void putArrayColumnuCharV (const Array< uChar > *dataPtr)
 
virtual void putArrayColumnShortV (const Array< Short > *dataPtr)
 
virtual void putArrayColumnuShortV (const Array< uShort > *dataPtr)
 
virtual void putArrayColumnIntV (const Array< Int > *dataPtr)
 
virtual void putArrayColumnuIntV (const Array< uInt > *dataPtr)
 
virtual void putArrayColumnInt64V (const Array< Int64 > *dataPtr)
 
virtual void putArrayColumnfloatV (const Array< float > *dataPtr)
 
virtual void putArrayColumndoubleV (const Array< double > *dataPtr)
 
virtual void putArrayColumnComplexV (const Array< Complex > *dataPtr)
 
virtual void putArrayColumnDComplexV (const Array< DComplex > *dataPtr)
 
virtual void putArrayColumnStringV (const Array< String > *dataPtr)
 
virtual void getArrayColumnCellsBoolV (const RefRows &rownrs, Array< Bool > *dataPtr)
 Get the array values in some cells of the column. More...
 
virtual void getArrayColumnCellsuCharV (const RefRows &rownrs, Array< uChar > *dataPtr)
 
virtual void getArrayColumnCellsShortV (const RefRows &rownrs, Array< Short > *dataPtr)
 
virtual void getArrayColumnCellsuShortV (const RefRows &rownrs, Array< uShort > *dataPtr)
 
virtual void getArrayColumnCellsIntV (const RefRows &rownrs, Array< Int > *dataPtr)
 
virtual void getArrayColumnCellsuIntV (const RefRows &rownrs, Array< uInt > *dataPtr)
 
virtual void getArrayColumnCellsInt64V (const RefRows &rownrs, Array< Int64 > *dataPtr)
 
virtual void getArrayColumnCellsfloatV (const RefRows &rownrs, Array< float > *dataPtr)
 
virtual void getArrayColumnCellsdoubleV (const RefRows &rownrs, Array< double > *dataPtr)
 
virtual void getArrayColumnCellsComplexV (const RefRows &rownrs, Array< Complex > *dataPtr)
 
virtual void getArrayColumnCellsDComplexV (const RefRows &rownrs, Array< DComplex > *dataPtr)
 
virtual void getArrayColumnCellsStringV (const RefRows &rownrs, Array< String > *dataPtr)
 
virtual void putArrayColumnCellsBoolV (const RefRows &rownrs, const Array< Bool > *dataPtr)
 Put the array values into some cells of the column. More...
 
virtual void putArrayColumnCellsuCharV (const RefRows &rownrs, const Array< uChar > *dataPtr)
 
virtual void putArrayColumnCellsShortV (const RefRows &rownrs, const Array< Short > *dataPtr)
 
virtual void putArrayColumnCellsuShortV (const RefRows &rownrs, const Array< uShort > *dataPtr)
 
virtual void putArrayColumnCellsIntV (const RefRows &rownrs, const Array< Int > *dataPtr)
 
virtual void putArrayColumnCellsuIntV (const RefRows &rownrs, const Array< uInt > *dataPtr)
 
virtual void putArrayColumnCellsInt64V (const RefRows &rownrs, const Array< Int64 > *dataPtr)
 
virtual void putArrayColumnCellsfloatV (const RefRows &rownrs, const Array< float > *dataPtr)
 
virtual void putArrayColumnCellsdoubleV (const RefRows &rownrs, const Array< double > *dataPtr)
 
virtual void putArrayColumnCellsComplexV (const RefRows &rownrs, const Array< Complex > *dataPtr)
 
virtual void putArrayColumnCellsDComplexV (const RefRows &rownrs, const Array< DComplex > *dataPtr)
 
virtual void putArrayColumnCellsStringV (const RefRows &rownrs, const Array< String > *dataPtr)
 
virtual void getColumnSliceBoolV (const Slicer &ns, Array< Bool > *dataPtr)
 Get the array values in the entire column. More...
 
virtual void getColumnSliceuCharV (const Slicer &ns, Array< uChar > *dataPtr)
 
virtual void getColumnSliceShortV (const Slicer &ns, Array< Short > *dataPtr)
 
virtual void getColumnSliceuShortV (const Slicer &ns, Array< uShort > *dataPtr)
 
virtual void getColumnSliceIntV (const Slicer &ns, Array< Int > *dataPtr)
 
virtual void getColumnSliceuIntV (const Slicer &ns, Array< uInt > *dataPtr)
 
virtual void getColumnSliceInt64V (const Slicer &ns, Array< Int64 > *dataPtr)
 
virtual void getColumnSlicefloatV (const Slicer &ns, Array< float > *dataPtr)
 
virtual void getColumnSlicedoubleV (const Slicer &ns, Array< double > *dataPtr)
 
virtual void getColumnSliceComplexV (const Slicer &ns, Array< Complex > *dataPtr)
 
virtual void getColumnSliceDComplexV (const Slicer &ns, Array< DComplex > *dataPtr)
 
virtual void getColumnSliceStringV (const Slicer &ns, Array< String > *dataPtr)
 
virtual void putColumnSliceBoolV (const Slicer &ns, const Array< Bool > *dataPtr)
 Put the array values into the entire column. More...
 
virtual void putColumnSliceuCharV (const Slicer &ns, const Array< uChar > *dataPtr)
 
virtual void putColumnSliceShortV (const Slicer &ns, const Array< Short > *dataPtr)
 
virtual void putColumnSliceuShortV (const Slicer &ns, const Array< uShort > *dataPtr)
 
virtual void putColumnSliceIntV (const Slicer &ns, const Array< Int > *dataPtr)
 
virtual void putColumnSliceuIntV (const Slicer &ns, const Array< uInt > *dataPtr)
 
virtual void putColumnSliceInt64V (const Slicer &ns, const Array< Int64 > *dataPtr)
 
virtual void putColumnSlicefloatV (const Slicer &ns, const Array< float > *dataPtr)
 
virtual void putColumnSlicedoubleV (const Slicer &ns, const Array< double > *dataPtr)
 
virtual void putColumnSliceComplexV (const Slicer &ns, const Array< Complex > *dataPtr)
 
virtual void putColumnSliceDComplexV (const Slicer &ns, const Array< DComplex > *dataPtr)
 
virtual void putColumnSliceStringV (const Slicer &ns, const Array< String > *dataPtr)
 
virtual void getColumnSliceCellsBoolV (const RefRows &rownrs, const Slicer &ns, Array< Bool > *dataPtr)
 Get the array values in some cells of the column. More...
 
virtual void getColumnSliceCellsuCharV (const RefRows &rownrs, const Slicer &ns, Array< uChar > *dataPtr)
 
virtual void getColumnSliceCellsShortV (const RefRows &rownrs, const Slicer &ns, Array< Short > *dataPtr)
 
virtual void getColumnSliceCellsuShortV (const RefRows &rownrs, const Slicer &ns, Array< uShort > *dataPtr)
 
virtual void getColumnSliceCellsIntV (const RefRows &rownrs, const Slicer &ns, Array< Int > *dataPtr)
 
virtual void getColumnSliceCellsuIntV (const RefRows &rownrs, const Slicer &ns, Array< uInt > *dataPtr)
 
virtual void getColumnSliceCellsInt64V (const RefRows &rownrs, const Slicer &ns, Array< Int64 > *dataPtr)
 
virtual void getColumnSliceCellsfloatV (const RefRows &rownrs, const Slicer &ns, Array< float > *dataPtr)
 
virtual void getColumnSliceCellsdoubleV (const RefRows &rownrs, const Slicer &ns, Array< double > *dataPtr)
 
virtual void getColumnSliceCellsComplexV (const RefRows &rownrs, const Slicer &ns, Array< Complex > *dataPtr)
 
virtual void getColumnSliceCellsDComplexV (const RefRows &rownrs, const Slicer &ns, Array< DComplex > *dataPtr)
 
virtual void getColumnSliceCellsStringV (const RefRows &rownrs, const Slicer &ns, Array< String > *dataPtr)
 
virtual void putColumnSliceCellsBoolV (const RefRows &rownrs, const Slicer &ns, const Array< Bool > *dataPtr)
 Put the array values into some cells of the column. More...
 
virtual void putColumnSliceCellsuCharV (const RefRows &rownrs, const Slicer &ns, const Array< uChar > *dataPtr)
 
virtual void putColumnSliceCellsShortV (const RefRows &rownrs, const Slicer &ns, const Array< Short > *dataPtr)
 
virtual void putColumnSliceCellsuShortV (const RefRows &rownrs, const Slicer &ns, const Array< uShort > *dataPtr)
 
virtual void putColumnSliceCellsIntV (const RefRows &rownrs, const Slicer &ns, const Array< Int > *dataPtr)
 
virtual void putColumnSliceCellsuIntV (const RefRows &rownrs, const Slicer &ns, const Array< uInt > *dataPtr)
 
virtual void putColumnSliceCellsInt64V (const RefRows &rownrs, const Slicer &ns, const Array< Int64 > *dataPtr)
 
virtual void putColumnSliceCellsfloatV (const RefRows &rownrs, const Slicer &ns, const Array< float > *dataPtr)
 
virtual void putColumnSliceCellsdoubleV (const RefRows &rownrs, const Slicer &ns, const Array< double > *dataPtr)
 
virtual void putColumnSliceCellsComplexV (const RefRows &rownrs, const Slicer &ns, const Array< Complex > *dataPtr)
 
virtual void putColumnSliceCellsDComplexV (const RefRows &rownrs, const Slicer &ns, const Array< DComplex > *dataPtr)
 
virtual void putColumnSliceCellsStringV (const RefRows &rownrs, const Slicer &ns, const Array< String > *dataPtr)
 
- Protected Member Functions inherited from casacore::DataManagerColumn
virtual void getOtherV (uInt rownr, void *dataPtr)
 This function is the get for all non-standard data types. More...
 
virtual void putOtherV (uInt rownr, const void *dataPtr)
 This function is the put for all non-standard data types. More...
 
- Protected Attributes inherited from casacore::StManColumnAipsIO
StManAipsIOstmanPtr_p
 The storage manager. More...
 
int dtype_p
 The data type (for caching purposes). More...
 
Bool byPtr_p
 The data is indirectly accessed via a pointer (for the derived classes). More...
 
uInt nralloc_p
 The number of allocated rows in the column. More...
 
uInt nrext_p
 The nr of extensions in use. More...
 
Block< void * > data_p
 The assembly of all extensions (actually Block<T*>). More...
 
Block< uIntncum_p
 The cumulative nr of rows in all extensions. More...
 

Detailed Description

AipsIO storage manager for indirect table arrays.

Intended use:

Internal

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

Prerequisite

Etymology

StManColumnIndArrayAipsIO handles the access to an indirect array in a table column using the AipsIO storage manager.

Synopsis

StManColumnArrayAipsIO handles indirect arrays in a table column. An StManArrayFile object is used to read and write the arrays from/into a file in a simple way. So this column has a file of its own to store the actual data in. It uses the (unique) column sequence number to make the file name unique.

An array (or section of an array) is only read when needed. It, however, caches the array shape using the helper class StIndArray. Pointers to these objects are maintained using the standard StManColumnAipsIO facilities. When the column gets written, the offsets in the StManArrayFile file get written. Those will be read back when the column is read in.

When a row gets deleted or when the array gets bigger, the file space is lost. This storage manager is a simple one and no attempts are done to make it smart.

Motivation

StManColumnIndArrayAipsIO handles the standard data types. The class is not templated, but a switch statement is used instead. Templates would cause too many instantiations.

Definition at line 97 of file StIndArrAIO.h.

Constructor & Destructor Documentation

casacore::StManColumnIndArrayAipsIO::StManColumnIndArrayAipsIO ( StManAipsIO ,
int  dataType 
)

Create a column of the given type.

The StManArrayFile object is not allocated here but by doCreate.

casacore::StManColumnIndArrayAipsIO::~StManColumnIndArrayAipsIO ( )

Frees up the storage and delete the StManArrayFile object.

casacore::StManColumnIndArrayAipsIO::StManColumnIndArrayAipsIO ( const StManColumnIndArrayAipsIO )
private

Forbid copy constructor.

Member Function Documentation

void casacore::StManColumnIndArrayAipsIO::addRow ( uInt  newNrrow,
uInt  oldNrrow 
)
virtual

Add (newNrrow-oldNrrow) rows to the column.

Allocate the data arrays in these rows if the shape is fixed.

Reimplemented from casacore::StManColumnAipsIO.

Bool casacore::StManColumnIndArrayAipsIO::canAccessSlice ( Bool reask) const
virtual

It can handle access to a slice in a cell.

Reimplemented from casacore::DataManagerColumn.

Bool casacore::StManColumnIndArrayAipsIO::canChangeShape ( ) const
virtual

This storage manager can handle changing array shapes for non-FixedShape columns.

Reimplemented from casacore::DataManagerColumn.

void casacore::StManColumnIndArrayAipsIO::deleteArray ( uInt  rownr)
private

Delete the array in the given row.

void casacore::StManColumnIndArrayAipsIO::doCreate ( uInt  nrrow)
virtual

Let the column create its array file.

Reimplemented from casacore::StManColumnAipsIO.

void casacore::StManColumnIndArrayAipsIO::getArrayBoolV ( uInt  rownr,
Array< Bool > *  dataPtr 
)
virtual

Get an array value in the given row.

The buffer pointed to by dataPtr has to have the correct length (which is guaranteed by the ArrayColumn get function).

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getArrayComplexV ( uInt  rownr,
Array< Complex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getArrayDComplexV ( uInt  rownr,
Array< DComplex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getArraydoubleV ( uInt  rownr,
Array< double > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getArrayfloatV ( uInt  rownr,
Array< float > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getArrayInt64V ( uInt  rownr,
Array< Int64 > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getArrayIntV ( uInt  rownr,
Array< Int > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getArrayShortV ( uInt  rownr,
Array< Short > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getArrayStringV ( uInt  rownr,
Array< String > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getArrayuCharV ( uInt  rownr,
Array< uChar > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getArrayuIntV ( uInt  rownr,
Array< uInt > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getArrayuShortV ( uInt  rownr,
Array< uShort > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getData ( void *  datap,
uInt  index,
uInt  nrval,
AipsIO ,
uInt  version 
)
privatevirtual

Get file offsets to the arrays into a data block at the given index.

datap is an array of pointers to StIndArray. nrval blocks will be allocated and read starting at datap[index]. The actual shape and array data will be read when needed.

Reimplemented from casacore::StManColumnAipsIO.

void casacore::StManColumnIndArrayAipsIO::getFile ( uInt  nrval,
AipsIO  
)
virtual

Read the data from AipsIO.

This will call StManColumnAipsIO::getFile which will in its turn call getData in this class for each of its chunks of data.

Reimplemented from casacore::StManColumnAipsIO.

StIndArray* casacore::StManColumnIndArrayAipsIO::getShape ( uInt  rownr)
private

Read the shape at the given row.

This will cache the information in the StIndArray object for that row.

void casacore::StManColumnIndArrayAipsIO::getSliceBoolV ( uInt  rownr,
const Slicer ,
Array< Bool > *  dataPtr 
)
virtual

Get a section of the array in the given row.

The buffer pointed to by dataPtr has to have the correct length (which is guaranteed by the ArrayColumn getSlice function).

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getSliceComplexV ( uInt  rownr,
const Slicer ,
Array< Complex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getSliceDComplexV ( uInt  rownr,
const Slicer ,
Array< DComplex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getSlicedoubleV ( uInt  rownr,
const Slicer ,
Array< double > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getSlicefloatV ( uInt  rownr,
const Slicer ,
Array< float > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getSliceInt64V ( uInt  rownr,
const Slicer ,
Array< Int64 > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getSliceIntV ( uInt  rownr,
const Slicer ,
Array< Int > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getSliceShortV ( uInt  rownr,
const Slicer ,
Array< Short > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getSliceStringV ( uInt  rownr,
const Slicer ,
Array< String > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getSliceuCharV ( uInt  rownr,
const Slicer ,
Array< uChar > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getSliceuIntV ( uInt  rownr,
const Slicer ,
Array< uInt > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::getSliceuShortV ( uInt  rownr,
const Slicer ,
Array< uShort > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

Bool casacore::StManColumnIndArrayAipsIO::isShapeDefined ( uInt  rownr)
virtual

Is the shape defined (i.e.

is there an array) in this row?

Reimplemented from casacore::DataManagerColumn.

uInt casacore::StManColumnIndArrayAipsIO::ndim ( uInt  rownr)
virtual

Get the dimensionality of the item in the given row.

0 is returned if there is no array.

Reimplemented from casacore::DataManagerColumn.

Bool casacore::StManColumnIndArrayAipsIO::ok ( ) const
virtual

Check if the class invariants still hold.

Reimplemented from casacore::StManColumnAipsIO.

void casacore::StManColumnIndArrayAipsIO::openFile ( ByteIO::OpenOption  opt)
private

Open the file with the given mode.

StManColumnIndArrayAipsIO& casacore::StManColumnIndArrayAipsIO::operator= ( const StManColumnIndArrayAipsIO )
private

Forbid assignment.

void casacore::StManColumnIndArrayAipsIO::putArrayBoolV ( uInt  rownr,
const Array< Bool > *  dataPtr 
)
virtual

Put an array value into the given row.

The buffer pointed to by dataPtr has to have the correct length (which is guaranteed by the ArrayColumn put function).

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putArrayComplexV ( uInt  rownr,
const Array< Complex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putArrayDComplexV ( uInt  rownr,
const Array< DComplex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putArraydoubleV ( uInt  rownr,
const Array< double > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putArrayfloatV ( uInt  rownr,
const Array< float > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putArrayInt64V ( uInt  rownr,
const Array< Int64 > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putArrayIntV ( uInt  rownr,
const Array< Int > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putArrayShortV ( uInt  rownr,
const Array< Short > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putArrayStringV ( uInt  rownr,
const Array< String > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putArrayuCharV ( uInt  rownr,
const Array< uChar > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putArrayuIntV ( uInt  rownr,
const Array< uInt > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putArrayuShortV ( uInt  rownr,
const Array< uShort > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putData ( void *  datap,
uInt  nrval,
AipsIO  
)
privatevirtual

Put the data of a data block.

datap is an array of nrval pointers to StIndArray. Only the file offsets get written.

Reimplemented from casacore::StManColumnAipsIO.

void casacore::StManColumnIndArrayAipsIO::putFile ( uInt  nrval,
AipsIO  
)
virtual

Write the data into AipsIO.

This will call StManColumnAipsIO::putFile which will in its turn call putData in this class for each of its chunks of data.

Reimplemented from casacore::StManColumnAipsIO.

void casacore::StManColumnIndArrayAipsIO::putSliceBoolV ( uInt  rownr,
const Slicer ,
const Array< Bool > *  dataPtr 
)
virtual

Put into a section of the array in the given row.

The buffer pointed to by dataPtr has to have the correct length (which is guaranteed by the ArrayColumn putSlice function).

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putSliceComplexV ( uInt  rownr,
const Slicer ,
const Array< Complex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putSliceDComplexV ( uInt  rownr,
const Slicer ,
const Array< DComplex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putSlicedoubleV ( uInt  rownr,
const Slicer ,
const Array< double > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putSlicefloatV ( uInt  rownr,
const Slicer ,
const Array< float > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putSliceInt64V ( uInt  rownr,
const Slicer ,
const Array< Int64 > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putSliceIntV ( uInt  rownr,
const Slicer ,
const Array< Int > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putSliceShortV ( uInt  rownr,
const Slicer ,
const Array< Short > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putSliceStringV ( uInt  rownr,
const Slicer ,
const Array< String > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putSliceuCharV ( uInt  rownr,
const Slicer ,
const Array< uChar > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putSliceuIntV ( uInt  rownr,
const Slicer ,
const Array< uInt > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::putSliceuShortV ( uInt  rownr,
const Slicer ,
const Array< uShort > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::StManColumnIndArrayAipsIO::remove ( uInt  rownr)
virtual

Remove the value in the given row.

This will result in lost file space.

Reimplemented from casacore::StManColumnAipsIO.

virtual void casacore::StManColumnIndArrayAipsIO::reopenRW ( )
virtual

Reopen the storage manager files for read/write.

Reimplemented from casacore::StManColumnAipsIO.

void casacore::StManColumnIndArrayAipsIO::setShape ( uInt  rownr,
const IPosition shape 
)
virtual

Set the shape of the array in the given row and allocate the array in the file.

Reimplemented from casacore::DataManagerColumn.

void casacore::StManColumnIndArrayAipsIO::setShapeColumn ( const IPosition shape)
virtual

Set the (fixed) shape of the arrays in the entire column.

Reimplemented from casacore::DataManagerColumn.

IPosition casacore::StManColumnIndArrayAipsIO::shape ( uInt  rownr)
virtual

Get the shape of the array in the given row.

An zero-length IPosition is returned if there is no array.

Reimplemented from casacore::DataManagerColumn.

Member Data Documentation

IPosition casacore::StManColumnIndArrayAipsIO::fixedShape_p
private

The shape of all arrays in case it is fixed.

Definition at line 248 of file StIndArrAIO.h.

StManArrayFile* casacore::StManColumnIndArrayAipsIO::iosfile_p
private

The file containing the indirect arrays.

Definition at line 256 of file StIndArrAIO.h.

uInt casacore::StManColumnIndArrayAipsIO::seqnr_p
private

The (unique) sequence number of the column.

Definition at line 246 of file StIndArrAIO.h.

Bool casacore::StManColumnIndArrayAipsIO::shapeIsFixed_p
private

Switch indicating if the shape is fixed.

Definition at line 250 of file StIndArrAIO.h.

uInt casacore::StManColumnIndArrayAipsIO::version_p
private

The version of the object retrieved from a file.

Versions < 2 use a StManArrayFile of their own. Newer versions share the one in StManAipsIO.

Definition at line 254 of file StIndArrAIO.h.


The documentation for this class was generated from the following file: