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::TSMDataColumn Class Reference

A data column in Tiled Storage Manager. More...

#include <TSMDataColumn.h>

Inheritance diagram for casacore::TSMDataColumn:
casacore::TSMColumn casacore::StManColumn casacore::DataManagerColumn

Public Member Functions

 TSMDataColumn (const TSMColumn &column)
 Create a data column from the given column. More...
 
virtual ~TSMDataColumn ()
 Frees up the storage. More...
 
uInt tilePixelSize () const
 Return the size of a pixel in the tile in external format. More...
 
uInt localPixelSize () const
 Return the size of a pixel in the tile in local format. More...
 
uInt dataLength (uInt nrPixels) const
 Determine the length to store the given number of pixels. More...
 
void setColumnNumber (uInt colnr)
 Set column sequence number. More...
 
Bool canAccessScalarColumn (Bool &reask) const
 It can handle access to a scalar column if there is one hypercube. More...
 
Bool canAccessArrayColumn (Bool &reask) const
 It can handle access to an array column if there is one hypercube. More...
 
Bool canAccessSlice (Bool &reask) const
 It can handle access to a slice in a cell. More...
 
Bool canAccessColumnSlice (Bool &reask) const
 It can handle access to a slice in column if there is one hypercube. More...
 
Bool canChangeShape () const
 Changing array shapes for non-FixedShape columns when the parent tiled storage manager can handle it. More...
 
void setShape (uInt rownr, const IPosition &shape)
 Set the shape of the data array in the given row. More...
 
void setShapeTiled (uInt rownr, const IPosition &shape, const IPosition &tileShape)
 Set the shape and tile shape of the array in the given row. More...
 
Bool isShapeDefined (uInt rownr)
 Is the value shape defined in the given row? More...
 
IPosition shape (uInt rownr)
 Get the shape of the item in the given row. More...
 
IPosition tileShape (uInt rownr)
 Get the tile shape of the item in the given row. 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 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 getArrayBoolV (uInt rownr, Array< Bool > *dataPtr)
 Get the 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 getArrayInt64V (uInt rownr, Array< Int64 > *dataPtr)
 
void getArrayfloatV (uInt rownr, Array< float > *dataPtr)
 
void getArraydoubleV (uInt rownr, Array< double > *dataPtr)
 
void getArrayComplexV (uInt rownr, Array< Complex > *dataPtr)
 
void getArrayDComplexV (uInt rownr, Array< DComplex > *dataPtr)
 
void putArrayBoolV (uInt rownr, const Array< Bool > *dataPtr)
 Put the 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 getSliceBoolV (uInt rownr, const Slicer &slicer, Array< Bool > *dataPtr)
 Get the array value in the given row. More...
 
void getSliceuCharV (uInt rownr, const Slicer &slicer, Array< uChar > *dataPtr)
 
void getSliceShortV (uInt rownr, const Slicer &slicer, Array< Short > *dataPtr)
 
void getSliceuShortV (uInt rownr, const Slicer &slicer, Array< uShort > *dataPtr)
 
void getSliceIntV (uInt rownr, const Slicer &slicer, Array< Int > *dataPtr)
 
void getSliceuIntV (uInt rownr, const Slicer &slicer, Array< uInt > *dataPtr)
 
void getSliceInt64V (uInt rownr, const Slicer &slicer, Array< Int64 > *dataPtr)
 
void getSlicefloatV (uInt rownr, const Slicer &slicer, Array< float > *dataPtr)
 
void getSlicedoubleV (uInt rownr, const Slicer &slicer, Array< double > *dataPtr)
 
void getSliceComplexV (uInt rownr, const Slicer &slicer, Array< Complex > *dataPtr)
 
void getSliceDComplexV (uInt rownr, const Slicer &slicer, Array< DComplex > *dataPtr)
 
void putSliceBoolV (uInt rownr, const Slicer &slicer, const Array< Bool > *dataPtr)
 Put the array value into the given row. More...
 
void putSliceuCharV (uInt rownr, const Slicer &slicer, const Array< uChar > *dataPtr)
 
void putSliceShortV (uInt rownr, const Slicer &slicer, const Array< Short > *dataPtr)
 
void putSliceuShortV (uInt rownr, const Slicer &slicer, const Array< uShort > *dataPtr)
 
void putSliceIntV (uInt rownr, const Slicer &slicer, const Array< Int > *dataPtr)
 
void putSliceuIntV (uInt rownr, const Slicer &slicer, const Array< uInt > *dataPtr)
 
void putSliceInt64V (uInt rownr, const Slicer &slicer, const Array< Int64 > *dataPtr)
 
void putSlicefloatV (uInt rownr, const Slicer &slicer, const Array< float > *dataPtr)
 
void putSlicedoubleV (uInt rownr, const Slicer &slicer, const Array< double > *dataPtr)
 
void putSliceComplexV (uInt rownr, const Slicer &slicer, const Array< Complex > *dataPtr)
 
void putSliceDComplexV (uInt rownr, const Slicer &slicer, const Array< DComplex > *dataPtr)
 
void getScalarColumnBoolV (Vector< Bool > *arr)
 Get the scalar values in the entire column. More...
 
void getScalarColumnuCharV (Vector< uChar > *arr)
 
void getScalarColumnShortV (Vector< Short > *arr)
 
void getScalarColumnuShortV (Vector< uShort > *arr)
 
void getScalarColumnIntV (Vector< Int > *arr)
 
void getScalarColumnuIntV (Vector< uInt > *arr)
 
void getScalarColumnInt64V (Vector< Int64 > *arr)
 
void getScalarColumnfloatV (Vector< float > *arr)
 
void getScalarColumndoubleV (Vector< double > *arr)
 
void getScalarColumnComplexV (Vector< Complex > *arr)
 
void getScalarColumnDComplexV (Vector< DComplex > *arr)
 
void putScalarColumnBoolV (const Vector< Bool > *arr)
 Put the scalar values into the entire column. More...
 
void putScalarColumnuCharV (const Vector< uChar > *arr)
 
void putScalarColumnShortV (const Vector< Short > *arr)
 
void putScalarColumnuShortV (const Vector< uShort > *arr)
 
void putScalarColumnIntV (const Vector< Int > *arr)
 
void putScalarColumnuIntV (const Vector< uInt > *arr)
 
void putScalarColumnInt64V (const Vector< Int64 > *arr)
 
void putScalarColumnfloatV (const Vector< float > *arr)
 
void putScalarColumndoubleV (const Vector< double > *arr)
 
void putScalarColumnComplexV (const Vector< Complex > *arr)
 
void putScalarColumnDComplexV (const Vector< DComplex > *arr)
 
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 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)
 
void getArrayColumnBoolV (Array< Bool > *arr)
 Get the array values in the entire column. More...
 
void getArrayColumnuCharV (Array< uChar > *arr)
 
void getArrayColumnShortV (Array< Short > *arr)
 
void getArrayColumnuShortV (Array< uShort > *arr)
 
void getArrayColumnIntV (Array< Int > *arr)
 
void getArrayColumnuIntV (Array< uInt > *arr)
 
void getArrayColumnInt64V (Array< Int64 > *arr)
 
void getArrayColumnfloatV (Array< float > *arr)
 
void getArrayColumndoubleV (Array< double > *arr)
 
void getArrayColumnComplexV (Array< Complex > *arr)
 
void getArrayColumnDComplexV (Array< DComplex > *arr)
 
void putArrayColumnBoolV (const Array< Bool > *arr)
 Put the array values into the entire column. More...
 
void putArrayColumnuCharV (const Array< uChar > *arr)
 
void putArrayColumnShortV (const Array< Short > *arr)
 
void putArrayColumnuShortV (const Array< uShort > *arr)
 
void putArrayColumnIntV (const Array< Int > *arr)
 
void putArrayColumnuIntV (const Array< uInt > *arr)
 
void putArrayColumnInt64V (const Array< Int64 > *arr)
 
void putArrayColumnfloatV (const Array< float > *arr)
 
void putArrayColumndoubleV (const Array< double > *arr)
 
void putArrayColumnComplexV (const Array< Complex > *arr)
 
void putArrayColumnDComplexV (const Array< DComplex > *arr)
 
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 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)
 
void getColumnSliceBoolV (const Slicer &slicer, Array< Bool > *arr)
 Get the array values in the entire column. More...
 
void getColumnSliceuCharV (const Slicer &slicer, Array< uChar > *arr)
 
void getColumnSliceShortV (const Slicer &slicer, Array< Short > *arr)
 
void getColumnSliceuShortV (const Slicer &slicer, Array< uShort > *arr)
 
void getColumnSliceIntV (const Slicer &slicer, Array< Int > *arr)
 
void getColumnSliceuIntV (const Slicer &slicer, Array< uInt > *arr)
 
void getColumnSliceInt64V (const Slicer &slicer, Array< Int64 > *arr)
 
void getColumnSlicefloatV (const Slicer &slicer, Array< float > *arr)
 
void getColumnSlicedoubleV (const Slicer &slicer, Array< double > *arr)
 
void getColumnSliceComplexV (const Slicer &slicer, Array< Complex > *arr)
 
void getColumnSliceDComplexV (const Slicer &slicer, Array< DComplex > *arr)
 
void putColumnSliceBoolV (const Slicer &slicer, const Array< Bool > *dataPtr)
 Put the array values into the entire column. More...
 
void putColumnSliceuCharV (const Slicer &slicer, const Array< uChar > *dataPtr)
 
void putColumnSliceShortV (const Slicer &slicer, const Array< Short > *dataPtr)
 
void putColumnSliceuShortV (const Slicer &slicer, const Array< uShort > *dataPtr)
 
void putColumnSliceIntV (const Slicer &slicer, const Array< Int > *dataPtr)
 
void putColumnSliceuIntV (const Slicer &slicer, const Array< uInt > *dataPtr)
 
void putColumnSliceInt64V (const Slicer &slicer, const Array< Int64 > *dataPtr)
 
void putColumnSlicefloatV (const Slicer &slicer, const Array< float > *dataPtr)
 
void putColumnSlicedoubleV (const Slicer &slicer, const Array< double > *dataPtr)
 
void putColumnSliceComplexV (const Slicer &slicer, const Array< Complex > *dataPtr)
 
void putColumnSliceDComplexV (const Slicer &slicer, const Array< DComplex > *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 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)
 
void readTile (void *to, const void *from, uInt nrPixels)
 Read the data of the column from a tile. More...
 
void writeTile (void *to, const void *from, uInt nrPixels)
 Write the data of the column into a tile. More...
 
Conversion::ValueFunctiongetConvertFunction (Bool writeFlag) const
 Get the function to convert from external to local format (or vice-versa if writeFlag=True). More...
 
size_t getNrConvert () const
 Get nr of elements in a value to convert (usually 1, but 2 for Complex). More...
 
Bool isConversionNeeded () const
 Does a conversion (byte swap) needs to be done? More...
 
- Public Member Functions inherited from casacore::TSMColumn
 TSMColumn (TiledStMan *stman, int dataType, const String &columnName)
 Create a column of the given type. More...
 
virtual ~TSMColumn ()
 Frees up the storage. More...
 
const StringcolumnName () const
 Get the name of the column. More...
 
virtual int dataType () const
 Return the data type of the column. More...
 
void setShapeColumn (const IPosition &shape)
 Set the fixed shape of the column. More...
 
const IPositionshapeColumn () const
 Get the fixed shape of the column. More...
 
TSMDataColumnmakeDataColumn ()
 Make a TSM data column object. More...
 
TSMCoordColumnmakeCoordColumn (uInt axesNumber)
 Make a TSM coordinate column object. More...
 
TSMIdColumnmakeIdColumn ()
 Make a TSM id column object. More...
 
TSMColumnunlink ()
 Unlink the underlying column. 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 uInt ndim (uInt rownr)
 Get the dimensionality of the item in the given row. 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

 TSMDataColumn (const TSMDataColumn &)
 Forbid copy constructor. More...
 
TSMDataColumnoperator= (const TSMDataColumn &)
 Forbid assignment. More...
 
void accessCell (uInt rownr, const void *dataPtr, Bool writeFlag)
 Read or write a data cell in the cube. More...
 
void accessCellSlice (uInt rownr, const Slicer &ns, const void *dataPtr, Bool writeFlag)
 Read or write a slice of a data cell in the cube. More...
 
void accessColumn (const void *dataPtr, Bool writeFlag)
 Read or write an entire column. More...
 
void accessColumnSlice (const Slicer &ns, const void *dataPtr, Bool writeFlag)
 Read or write a slice from the entire column. More...
 
void accessColumnCells (const RefRows &rownrs, const IPosition &shape, const void *dataPtr, Bool writeFlag)
 Read or write some cells in a column. More...
 
void accessColumnSliceCells (const RefRows &rownrs, const Slicer &ns, const IPosition &shape, const void *dataPtr, Bool writeFlag)
 Read or write some cells in a column. More...
 
void accessFullCells (TSMCube *hypercube, char *dataPtr, Bool writeFlag, const IPosition &start, const IPosition &end, const IPosition &incr)
 Read or write the full cells given by start,end,incr. More...
 
void accessSlicedCells (TSMCube *hypercube, char *dataPtr, Bool writeFlag, const IPosition &start, const IPosition &end, const IPosition &incr)
 Read or write the sliced cells given by start,end,incr. More...
 

Private Attributes

uInt tilePixelSize_p
 The (canonical) size of a pixel in a tile. More...
 
uInt localPixelSize_p
 The local size of a pixel. More...
 
uInt convPixelSize_p
 The multiplication factor for a conversion operation. More...
 
Bool mustConvert_p
 Is a conversion necessary? More...
 
uInt colnr_p
 The column sequence number. More...
 
Conversion::ValueFunctionreadFunc_p
 The conversion function needed when reading. More...
 
Conversion::ValueFunctionwriteFunc_p
 The conversion function needed when writing. 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::TSMColumn
 TSMColumn (const TSMColumn &that)
 The copy constructor can only be used to copy a derived class. More...
 
- Protected Member Functions inherited from casacore::StManColumn
virtual void getScalarColumnStringV (Vector< String > *dataPtr)
 
virtual void putScalarColumnStringV (const Vector< String > *dataPtr)
 
virtual void getScalarColumnCellsStringV (const RefRows &rownrs, Vector< String > *dataPtr)
 
virtual void putScalarColumnCellsStringV (const RefRows &rownrs, const Vector< String > *dataPtr)
 
virtual uInt getBlockBoolV (uInt rownr, uInt nrmax, Bool *dataPtr)
 Get scalars from the given row on with a maximum of nrmax values. More...
 
virtual uInt getBlockuCharV (uInt rownr, uInt nrmax, uChar *dataPtr)
 
virtual uInt getBlockShortV (uInt rownr, uInt nrmax, Short *dataPtr)
 
virtual uInt getBlockuShortV (uInt rownr, uInt nrmax, uShort *dataPtr)
 
virtual uInt getBlockIntV (uInt rownr, uInt nrmax, Int *dataPtr)
 
virtual uInt getBlockuIntV (uInt rownr, uInt nrmax, uInt *dataPtr)
 
virtual uInt getBlockInt64V (uInt rownr, uInt nrmax, Int64 *dataPtr)
 
virtual uInt getBlockfloatV (uInt rownr, uInt nrmax, float *dataPtr)
 
virtual uInt getBlockdoubleV (uInt rownr, uInt nrmax, double *dataPtr)
 
virtual uInt getBlockComplexV (uInt rownr, uInt nrmax, Complex *dataPtr)
 
virtual uInt getBlockDComplexV (uInt rownr, uInt nrmax, DComplex *dataPtr)
 
virtual uInt getBlockStringV (uInt rownr, uInt nrmax, String *dataPtr)
 
virtual void putBlockBoolV (uInt rownr, uInt nrmax, const Bool *dataPtr)
 Put nrmax scalars from the given row on. More...
 
virtual void putBlockuCharV (uInt rownr, uInt nrmax, const uChar *dataPtr)
 
virtual void putBlockShortV (uInt rownr, uInt nrmax, const Short *dataPtr)
 
virtual void putBlockuShortV (uInt rownr, uInt nrmax, const uShort *dataPtr)
 
virtual void putBlockIntV (uInt rownr, uInt nrmax, const Int *dataPtr)
 
virtual void putBlockuIntV (uInt rownr, uInt nrmax, const uInt *dataPtr)
 
virtual void putBlockInt64V (uInt rownr, uInt nrmax, const Int64 *dataPtr)
 
virtual void putBlockfloatV (uInt rownr, uInt nrmax, const float *dataPtr)
 
virtual void putBlockdoubleV (uInt rownr, uInt nrmax, const double *dataPtr)
 
virtual void putBlockComplexV (uInt rownr, uInt nrmax, const Complex *dataPtr)
 
virtual void putBlockDComplexV (uInt rownr, uInt nrmax, const DComplex *dataPtr)
 
virtual void putBlockStringV (uInt rownr, uInt nrmax, const String *dataPtr)
 
virtual void getArrayStringV (uInt rownr, Array< String > *dataPtr)
 
virtual void putArrayStringV (uInt rownr, const Array< String > *dataPtr)
 
virtual void getArrayColumnStringV (Array< String > *dataPtr)
 
virtual void putArrayColumnStringV (const Array< String > *dataPtr)
 
virtual void getArrayColumnCellsStringV (const RefRows &rownrs, Array< String > *dataPtr)
 
virtual void putArrayColumnCellsStringV (const RefRows &rownrs, const Array< String > *dataPtr)
 
virtual void getSliceStringV (uInt rownr, const Slicer &ns, Array< String > *dataPtr)
 
virtual void putSliceStringV (uInt rownr, const Slicer &ns, const Array< String > *dataPtr)
 
virtual void getColumnSliceStringV (const Slicer &ns, Array< String > *dataPtr)
 
virtual void putColumnSliceStringV (const Slicer &ns, const Array< String > *dataPtr)
 
virtual void getColumnSliceCellsStringV (const RefRows &rownrs, const Slicer &ns, Array< String > *dataPtr)
 
virtual void putColumnSliceCellsStringV (const RefRows &rownrs, const Slicer &ns, const Array< String > *dataPtr)
 
- Protected Member Functions inherited from casacore::DataManagerColumn
virtual void getStringV (uInt rownr, String *dataPtr)
 
virtual void getOtherV (uInt rownr, void *dataPtr)
 This function is the get for all non-standard data types. More...
 
virtual void putStringV (uInt rownr, const String *dataPtr)
 
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::TSMColumn
TiledStManstmanPtr_p
 The storage manager. More...
 
int dtype_p
 The data type of the data (as defined in DataType.h). More...
 
String name_p
 The name of the column. More...
 
IPosition columnShape_p
 The fixed shape of the column. More...
 
TSMColumncolPtr_p
 The specialized column object (i.e. More...
 

Detailed Description

A data column in Tiled Storage Manager.

Intended use:

Internal

Review Status

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

Prerequisite

Etymology

TSMDataColumn handles a data column for a Tiled Storage Manager.

Synopsis

TSMDataColumn is used by TiledStMan to handle the access to a table column containing data of a tiled hypercube axis. The data in a cell can be a scalar or an array (depending on its definition in the table column description). The shapes of the coordinates and the data are related. Therefore the function setShape checks if the data shape matches the coordinates shape.

The data are held in a TSMCube object. The row number determines which TSMCube object has to be accessed.

The creation of a TSMDataColumn object is done by a TSMColumn object. This process is described in more detail in the class TSMColumn.

Motivation

Handling data columns in the Tiled Storage Manager is different from other columns.

Definition at line 96 of file TSMDataColumn.h.

Constructor & Destructor Documentation

casacore::TSMDataColumn::TSMDataColumn ( const TSMColumn column)

Create a data column from the given column.

virtual casacore::TSMDataColumn::~TSMDataColumn ( )
virtual

Frees up the storage.

casacore::TSMDataColumn::TSMDataColumn ( const TSMDataColumn )
private

Forbid copy constructor.

Member Function Documentation

void casacore::TSMDataColumn::accessCell ( uInt  rownr,
const void *  dataPtr,
Bool  writeFlag 
)
private

Read or write a data cell in the cube.

A cell can contain a scalar or an array (depending on the column definition).

void casacore::TSMDataColumn::accessCellSlice ( uInt  rownr,
const Slicer ns,
const void *  dataPtr,
Bool  writeFlag 
)
private

Read or write a slice of a data cell in the cube.

void casacore::TSMDataColumn::accessColumn ( const void *  dataPtr,
Bool  writeFlag 
)
private

Read or write an entire column.

This can only be done if one hypercube is used.

void casacore::TSMDataColumn::accessColumnCells ( const RefRows rownrs,
const IPosition shape,
const void *  dataPtr,
Bool  writeFlag 
)
private

Read or write some cells in a column.

It tries to optimize by looking for regular row strides.

void casacore::TSMDataColumn::accessColumnSlice ( const Slicer ns,
const void *  dataPtr,
Bool  writeFlag 
)
private

Read or write a slice from the entire column.

This can only be done if one hypercube is used.

void casacore::TSMDataColumn::accessColumnSliceCells ( const RefRows rownrs,
const Slicer ns,
const IPosition shape,
const void *  dataPtr,
Bool  writeFlag 
)
private

Read or write some cells in a column.

It tries to optimize by looking for regular row strides.

void casacore::TSMDataColumn::accessFullCells ( TSMCube hypercube,
char *  dataPtr,
Bool  writeFlag,
const IPosition start,
const IPosition end,
const IPosition incr 
)
private

Read or write the full cells given by start,end,incr.

void casacore::TSMDataColumn::accessSlicedCells ( TSMCube hypercube,
char *  dataPtr,
Bool  writeFlag,
const IPosition start,
const IPosition end,
const IPosition incr 
)
private

Read or write the sliced cells given by start,end,incr.

Bool casacore::TSMDataColumn::canAccessArrayColumn ( Bool reask) const
virtual

It can handle access to an array column if there is one hypercube.

Reimplemented from casacore::DataManagerColumn.

Bool casacore::TSMDataColumn::canAccessColumnSlice ( Bool reask) const
virtual

It can handle access to a slice in column if there is one hypercube.

Reimplemented from casacore::DataManagerColumn.

Bool casacore::TSMDataColumn::canAccessScalarColumn ( Bool reask) const
virtual

It can handle access to a scalar column if there is one hypercube.

Reimplemented from casacore::DataManagerColumn.

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

It can handle access to a slice in a cell.

Reimplemented from casacore::DataManagerColumn.

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

Changing array shapes for non-FixedShape columns when the parent tiled storage manager can handle it.

Reimplemented from casacore::DataManagerColumn.

uInt casacore::TSMDataColumn::dataLength ( uInt  nrPixels) const

Determine the length to store the given number of pixels.

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

Get the array value in the given row.

The array pointed to by dataPtr has to have the correct length (which is guaranteed by the ArrayColumn get function). The default implementation thrown an "invalid operation exception".

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getArrayColumnBoolV ( Array< Bool > *  dataPtr)
virtual

Get the array values in the entire column.

The buffer pointed to by dataPtr has to have the correct length. (which is guaranteed by the ArrayColumn getColumn function). The default implementation uses the corresponding getBlockXXXV.

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getArrayColumnCellsBoolV ( const RefRows rownrs,
Array< Bool > *  dataPtr 
)
virtual

Get the array values in some cells of the column.

The buffer pointed to by dataPtr has to have the correct length. (which is guaranteed by the ArrayColumn getColumnCells function). The default implementation throws an "invalid operation exception".

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getArrayColumnCellsComplexV ( const RefRows rownrs,
Array< Complex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getArrayColumnCellsDComplexV ( const RefRows rownrs,
Array< DComplex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getArrayColumnCellsdoubleV ( const RefRows rownrs,
Array< double > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getArrayColumnCellsfloatV ( const RefRows rownrs,
Array< float > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getArrayColumnCellsInt64V ( const RefRows rownrs,
Array< Int64 > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getArrayColumnCellsIntV ( const RefRows rownrs,
Array< Int > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getArrayColumnCellsShortV ( const RefRows rownrs,
Array< Short > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getArrayColumnCellsuCharV ( const RefRows rownrs,
Array< uChar > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getArrayColumnCellsuIntV ( const RefRows rownrs,
Array< uInt > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getArrayColumnCellsuShortV ( const RefRows rownrs,
Array< uShort > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getArrayColumnComplexV ( Array< Complex > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getArrayColumnDComplexV ( Array< DComplex > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getArrayColumndoubleV ( Array< double > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getArrayColumnfloatV ( Array< float > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getArrayColumnInt64V ( Array< Int64 > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getArrayColumnIntV ( Array< Int > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getArrayColumnShortV ( Array< Short > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getArrayColumnuCharV ( Array< uChar > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getArrayColumnuIntV ( Array< uInt > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getArrayColumnuShortV ( Array< uShort > *  arr)
virtual

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getBoolV ( uInt  rownr,
Bool dataPtr 
)
virtual

Get a scalar value in the given row.

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

Reimplemented from casacore::DataManagerColumn.

void casacore::TSMDataColumn::getColumnSliceBoolV ( const Slicer ns,
Array< Bool > *  dataPtr 
)
virtual

Get the array values in the entire column.

The buffer pointed to by dataPtr has to have the correct length. (which is guaranteed by the ArrayColumn getColumn function). The default implementation uses the corresponding getBlockXXXV.

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getColumnSliceCellsBoolV ( const RefRows rownrs,
const Slicer ns,
Array< Bool > *  dataPtr 
)
virtual

Get the array values in some cells of the column.

The buffer pointed to by dataPtr has to have the correct length. (which is guaranteed by the ArrayColumn getColumnCells function). The default implementation throws an "invalid operation exception".

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getColumnSliceCellsComplexV ( const RefRows rownrs,
const Slicer ns,
Array< Complex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getColumnSliceCellsDComplexV ( const RefRows rownrs,
const Slicer ns,
Array< DComplex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getColumnSliceCellsdoubleV ( const RefRows rownrs,
const Slicer ns,
Array< double > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getColumnSliceCellsfloatV ( const RefRows rownrs,
const Slicer ns,
Array< float > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getColumnSliceCellsInt64V ( const RefRows rownrs,
const Slicer ns,
Array< Int64 > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getColumnSliceCellsIntV ( const RefRows rownrs,
const Slicer ns,
Array< Int > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getColumnSliceCellsShortV ( const RefRows rownrs,
const Slicer ns,
Array< Short > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getColumnSliceCellsuCharV ( const RefRows rownrs,
const Slicer ns,
Array< uChar > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getColumnSliceCellsuIntV ( const RefRows rownrs,
const Slicer ns,
Array< uInt > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getColumnSliceCellsuShortV ( const RefRows rownrs,
const Slicer ns,
Array< uShort > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getColumnSliceComplexV ( const Slicer slicer,
Array< Complex > *  arr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getColumnSliceDComplexV ( const Slicer slicer,
Array< DComplex > *  arr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getColumnSlicedoubleV ( const Slicer slicer,
Array< double > *  arr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getColumnSlicefloatV ( const Slicer slicer,
Array< float > *  arr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getColumnSliceInt64V ( const Slicer slicer,
Array< Int64 > *  arr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getColumnSliceIntV ( const Slicer slicer,
Array< Int > *  arr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getColumnSliceShortV ( const Slicer slicer,
Array< Short > *  arr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getColumnSliceuCharV ( const Slicer slicer,
Array< uChar > *  arr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getColumnSliceuIntV ( const Slicer slicer,
Array< uInt > *  arr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getColumnSliceuShortV ( const Slicer slicer,
Array< uShort > *  arr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getComplexV ( uInt  rownr,
Complex *  dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

Conversion::ValueFunction* casacore::TSMDataColumn::getConvertFunction ( Bool  writeFlag) const
inline

Get the function to convert from external to local format (or vice-versa if writeFlag=True).

Definition at line 561 of file TSMDataColumn.h.

References readFunc_p, and writeFunc_p.

void casacore::TSMDataColumn::getDComplexV ( uInt  rownr,
DComplex *  dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

void casacore::TSMDataColumn::getdoubleV ( uInt  rownr,
double *  dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

void casacore::TSMDataColumn::getfloatV ( uInt  rownr,
float *  dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

void casacore::TSMDataColumn::getInt64V ( uInt  rownr,
Int64 dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

void casacore::TSMDataColumn::getIntV ( uInt  rownr,
Int dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

size_t casacore::TSMDataColumn::getNrConvert ( ) const
inline

Get nr of elements in a value to convert (usually 1, but 2 for Complex).

Definition at line 565 of file TSMDataColumn.h.

References convPixelSize_p.

void casacore::TSMDataColumn::getScalarColumnBoolV ( Vector< Bool > *  dataPtr)
virtual

Get the scalar values in the entire column.

The buffer pointed to by dataPtr has to have the correct length. (which is guaranteed by the ScalarColumn getColumn function). The default implementation uses the corresponding getBlockXXXV.

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getScalarColumnCellsBoolV ( const RefRows rownrs,
Vector< Bool > *  dataPtr 
)
virtual

Get the scalar values in some cells of the column.

The buffer pointed to by dataPtr has to have the correct length. (which is guaranteed by the ScalarColumn getColumnCells function). The default implementation loops through all rows.

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getScalarColumnCellsComplexV ( const RefRows rownrs,
Vector< Complex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getScalarColumnCellsDComplexV ( const RefRows rownrs,
Vector< DComplex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getScalarColumnCellsdoubleV ( const RefRows rownrs,
Vector< double > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getScalarColumnCellsfloatV ( const RefRows rownrs,
Vector< float > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getScalarColumnCellsInt64V ( const RefRows rownrs,
Vector< Int64 > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getScalarColumnCellsIntV ( const RefRows rownrs,
Vector< Int > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getScalarColumnCellsShortV ( const RefRows rownrs,
Vector< Short > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getScalarColumnCellsuCharV ( const RefRows rownrs,
Vector< uChar > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getScalarColumnCellsuIntV ( const RefRows rownrs,
Vector< uInt > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::getScalarColumnCellsuShortV ( const RefRows rownrs,
Vector< uShort > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getScalarColumnComplexV ( Vector< Complex > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getScalarColumnDComplexV ( Vector< DComplex > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getScalarColumndoubleV ( Vector< double > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getScalarColumnfloatV ( Vector< float > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getScalarColumnInt64V ( Vector< Int64 > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getScalarColumnIntV ( Vector< Int > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getScalarColumnShortV ( Vector< Short > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getScalarColumnuCharV ( Vector< uChar > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getScalarColumnuIntV ( Vector< uInt > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getScalarColumnuShortV ( Vector< uShort > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getShortV ( uInt  rownr,
Short dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

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

Get the array value in the given row.

The array pointed to by dataPtr has to have the correct length (which is guaranteed by the ArrayColumn getSlice function). The default implementation throws an "invalid operation exception".

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::getuCharV ( uInt  rownr,
uChar dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

void casacore::TSMDataColumn::getuIntV ( uInt  rownr,
uInt dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

void casacore::TSMDataColumn::getuShortV ( uInt  rownr,
uShort dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

Bool casacore::TSMDataColumn::isConversionNeeded ( ) const
inline

Does a conversion (byte swap) needs to be done?

Definition at line 569 of file TSMDataColumn.h.

References mustConvert_p.

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

Is the value shape defined in the given row?

Reimplemented from casacore::DataManagerColumn.

uInt casacore::TSMDataColumn::localPixelSize ( ) const
inline

Return the size of a pixel in the tile in local format.

Definition at line 646 of file TSMDataColumn.h.

References localPixelSize_p.

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

Forbid assignment.

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

Put the 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). The default implementation thrown an "invalid operation exception".

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putArrayColumnBoolV ( const Array< Bool > *  dataPtr)
virtual

Put the array values into the entire column.

The buffer pointed to by dataPtr has to have the correct length. (which is guaranteed by the ArrayColumn putColumn function). The default implementation uses the corresponding putBlockXXXV.

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putArrayColumnCellsBoolV ( const RefRows rownrs,
const Array< Bool > *  dataPtr 
)
virtual

Put the array values into some cells of the column.

The buffer pointed to by dataPtr has to have the correct length. (which is guaranteed by the ArrayColumn putColumnCells function). The default implementation throws an "invalid operation exception".

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putArrayColumnCellsComplexV ( const RefRows rownrs,
const Array< Complex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putArrayColumnCellsDComplexV ( const RefRows rownrs,
const Array< DComplex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putArrayColumnCellsdoubleV ( const RefRows rownrs,
const Array< double > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putArrayColumnCellsfloatV ( const RefRows rownrs,
const Array< float > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putArrayColumnCellsInt64V ( const RefRows rownrs,
const Array< Int64 > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putArrayColumnCellsIntV ( const RefRows rownrs,
const Array< Int > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putArrayColumnCellsShortV ( const RefRows rownrs,
const Array< Short > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putArrayColumnCellsuCharV ( const RefRows rownrs,
const Array< uChar > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putArrayColumnCellsuIntV ( const RefRows rownrs,
const Array< uInt > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putArrayColumnCellsuShortV ( const RefRows rownrs,
const Array< uShort > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putArrayColumnComplexV ( const Array< Complex > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putArrayColumnDComplexV ( const Array< DComplex > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putArrayColumndoubleV ( const Array< double > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putArrayColumnfloatV ( const Array< float > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putArrayColumnInt64V ( const Array< Int64 > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putArrayColumnIntV ( const Array< Int > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putArrayColumnShortV ( const Array< Short > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putArrayColumnuCharV ( const Array< uChar > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putArrayColumnuIntV ( const Array< uInt > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putArrayColumnuShortV ( const Array< uShort > *  arr)
virtual

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putBoolV ( uInt  rownr,
const Bool dataPtr 
)
virtual

Put a scalar value into the given row.

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

Reimplemented from casacore::DataManagerColumn.

void casacore::TSMDataColumn::putColumnSliceBoolV ( const Slicer ns,
const Array< Bool > *  dataPtr 
)
virtual

Put the array values into the entire column.

The buffer pointed to by dataPtr has to have the correct length. (which is guaranteed by the ArrayColumn putColumn function). The default implementation uses the corresponding putBlockXXXV.

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putColumnSliceCellsBoolV ( const RefRows rownrs,
const Slicer ns,
const Array< Bool > *  dataPtr 
)
virtual

Put the array values into some cells of the column.

The buffer pointed to by dataPtr has to have the correct length. (which is guaranteed by the ArrayColumn putColumnSlice function). The default implementation throws an "invalid operation exception".

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putColumnSliceCellsComplexV ( const RefRows rownrs,
const Slicer ns,
const Array< Complex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putColumnSliceCellsDComplexV ( const RefRows rownrs,
const Slicer ns,
const Array< DComplex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putColumnSliceCellsdoubleV ( const RefRows rownrs,
const Slicer ns,
const Array< double > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putColumnSliceCellsfloatV ( const RefRows rownrs,
const Slicer ns,
const Array< float > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putColumnSliceCellsInt64V ( const RefRows rownrs,
const Slicer ns,
const Array< Int64 > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putColumnSliceCellsIntV ( const RefRows rownrs,
const Slicer ns,
const Array< Int > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putColumnSliceCellsShortV ( const RefRows rownrs,
const Slicer ns,
const Array< Short > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putColumnSliceCellsuCharV ( const RefRows rownrs,
const Slicer ns,
const Array< uChar > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putColumnSliceCellsuIntV ( const RefRows rownrs,
const Slicer ns,
const Array< uInt > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putColumnSliceCellsuShortV ( const RefRows rownrs,
const Slicer ns,
const Array< uShort > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putColumnSliceComplexV ( const Slicer slicer,
const Array< Complex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putColumnSliceDComplexV ( const Slicer slicer,
const Array< DComplex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putColumnSlicedoubleV ( const Slicer slicer,
const Array< double > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putColumnSlicefloatV ( const Slicer slicer,
const Array< float > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putColumnSliceInt64V ( const Slicer slicer,
const Array< Int64 > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putColumnSliceIntV ( const Slicer slicer,
const Array< Int > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putColumnSliceShortV ( const Slicer slicer,
const Array< Short > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putColumnSliceuCharV ( const Slicer slicer,
const Array< uChar > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putColumnSliceuIntV ( const Slicer slicer,
const Array< uInt > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putColumnSliceuShortV ( const Slicer slicer,
const Array< uShort > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putComplexV ( uInt  rownr,
const Complex *  dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

void casacore::TSMDataColumn::putDComplexV ( uInt  rownr,
const DComplex *  dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

void casacore::TSMDataColumn::putdoubleV ( uInt  rownr,
const double *  dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

void casacore::TSMDataColumn::putfloatV ( uInt  rownr,
const float *  dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

void casacore::TSMDataColumn::putInt64V ( uInt  rownr,
const Int64 dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

void casacore::TSMDataColumn::putIntV ( uInt  rownr,
const Int dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

void casacore::TSMDataColumn::putScalarColumnBoolV ( const Vector< Bool > *  dataPtr)
virtual

Put the scalar values into the entire column.

The buffer pointed to by dataPtr has to have the correct length. (which is guaranteed by the ScalarColumn putColumn function). The default implementation uses the corresponding putBlockXXXV.

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putScalarColumnCellsBoolV ( const RefRows rownrs,
const Vector< Bool > *  dataPtr 
)
virtual

Put the scalar values into some cells of the column.

The buffer pointed to by dataPtr has to have the correct length. (which is guaranteed by the ScalarColumn putColumnCells function). The default implementation loops through all rows.

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putScalarColumnCellsComplexV ( const RefRows rownrs,
const Vector< Complex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putScalarColumnCellsDComplexV ( const RefRows rownrs,
const Vector< DComplex > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putScalarColumnCellsdoubleV ( const RefRows rownrs,
const Vector< double > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putScalarColumnCellsfloatV ( const RefRows rownrs,
const Vector< float > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putScalarColumnCellsInt64V ( const RefRows rownrs,
const Vector< Int64 > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putScalarColumnCellsIntV ( const RefRows rownrs,
const Vector< Int > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putScalarColumnCellsShortV ( const RefRows rownrs,
const Vector< Short > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putScalarColumnCellsuCharV ( const RefRows rownrs,
const Vector< uChar > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putScalarColumnCellsuIntV ( const RefRows rownrs,
const Vector< uInt > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

virtual void casacore::TSMDataColumn::putScalarColumnCellsuShortV ( const RefRows rownrs,
const Vector< uShort > *  dataPtr 
)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putScalarColumnComplexV ( const Vector< Complex > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putScalarColumnDComplexV ( const Vector< DComplex > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putScalarColumndoubleV ( const Vector< double > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putScalarColumnfloatV ( const Vector< float > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putScalarColumnInt64V ( const Vector< Int64 > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putScalarColumnIntV ( const Vector< Int > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putScalarColumnShortV ( const Vector< Short > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putScalarColumnuCharV ( const Vector< uChar > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putScalarColumnuIntV ( const Vector< uInt > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putScalarColumnuShortV ( const Vector< uShort > *  arr)
virtual

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putShortV ( uInt  rownr,
const Short dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

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

Put the array value into the given row.

The buffer pointed to by dataPtr has to have the correct length (which is guaranteed by the ArrayColumn putSlice function). The default implementation throws an "invalid operation exception".

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

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

Reimplemented from casacore::StManColumn.

void casacore::TSMDataColumn::putuCharV ( uInt  rownr,
const uChar dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

void casacore::TSMDataColumn::putuIntV ( uInt  rownr,
const uInt dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

void casacore::TSMDataColumn::putuShortV ( uInt  rownr,
const uShort dataPtr 
)
virtual

Reimplemented from casacore::DataManagerColumn.

void casacore::TSMDataColumn::readTile ( void *  to,
const void *  from,
uInt  nrPixels 
)
inline

Read the data of the column from a tile.

(I.e. convert from external to local format).

Definition at line 654 of file TSMDataColumn.h.

References convPixelSize_p, and readFunc_p.

void casacore::TSMDataColumn::setColumnNumber ( uInt  colnr)
inline

Set column sequence number.

Definition at line 650 of file TSMDataColumn.h.

References colnr_p.

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

Set the shape of the data array in the given row.

It will check if it matches already defined data and coordinates shapes. It will define undefined data and coordinates shapes.

Reimplemented from casacore::DataManagerColumn.

void casacore::TSMDataColumn::setShapeTiled ( uInt  rownr,
const IPosition shape,
const IPosition tileShape 
)
virtual

Set the shape and tile shape of the array in the given row.

It will check if it matches already defined data and coordinates shapes. It will define undefined data and coordinates shapes. The tile shape is adjusted to the array shape (size 0 gets set to 1; size > cubesize gets set to the cubesize).

Reimplemented from casacore::DataManagerColumn.

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

Get the shape of the item in the given row.

Reimplemented from casacore::DataManagerColumn.

uInt casacore::TSMDataColumn::tilePixelSize ( ) const
inline

Return the size of a pixel in the tile in external format.

Definition at line 642 of file TSMDataColumn.h.

References tilePixelSize_p.

IPosition casacore::TSMDataColumn::tileShape ( uInt  rownr)
virtual

Get the tile shape of the item in the given row.

Reimplemented from casacore::DataManagerColumn.

void casacore::TSMDataColumn::writeTile ( void *  to,
const void *  from,
uInt  nrPixels 
)
inline

Write the data of the column into a tile.

(I.e. convert from local to external format).

Definition at line 659 of file TSMDataColumn.h.

References convPixelSize_p, and writeFunc_p.

Member Data Documentation

uInt casacore::TSMDataColumn::colnr_p
private

The column sequence number.

Definition at line 583 of file TSMDataColumn.h.

Referenced by setColumnNumber().

uInt casacore::TSMDataColumn::convPixelSize_p
private

The multiplication factor for a conversion operation.

This is the pixel size when a memcpy can be used, otherwise it is 1.

Definition at line 579 of file TSMDataColumn.h.

Referenced by getNrConvert(), readTile(), and writeTile().

uInt casacore::TSMDataColumn::localPixelSize_p
private

The local size of a pixel.

Definition at line 576 of file TSMDataColumn.h.

Referenced by localPixelSize().

Bool casacore::TSMDataColumn::mustConvert_p
private

Is a conversion necessary?

Definition at line 581 of file TSMDataColumn.h.

Referenced by isConversionNeeded().

Conversion::ValueFunction* casacore::TSMDataColumn::readFunc_p
private

The conversion function needed when reading.

Definition at line 585 of file TSMDataColumn.h.

Referenced by getConvertFunction(), and readTile().

uInt casacore::TSMDataColumn::tilePixelSize_p
private

The (canonical) size of a pixel in a tile.

Definition at line 574 of file TSMDataColumn.h.

Referenced by tilePixelSize().

Conversion::ValueFunction* casacore::TSMDataColumn::writeFunc_p
private

The conversion function needed when writing.

Definition at line 587 of file TSMDataColumn.h.

Referenced by getConvertFunction(), and writeTile().


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