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

Base table column storage manager class. More...

#include <StManColumn.h>

Inheritance diagram for casacore::StManColumn:
casacore::DataManagerColumn casa::AsdmColumn casacore::Adios2StManColumn casacore::ISMColumn casacore::MSMColumn casacore::SSMColumn casacore::StManColumnAipsIO casacore::TSMColumn casa::AsdmDataColumn casa::AsdmFlagColumn casa::AsdmFloatDataColumn casa::AsdmSigmaColumn casa::AsdmWeightColumn casacore::Adios2StManColumnT< T > casacore::ISMIndColumn casacore::MSMDirColumn casacore::MSMIndColumn casacore::SSMDirColumn casacore::SSMIndColumn casacore::StManColumnArrayAipsIO casacore::StManColumnIndArrayAipsIO casacore::TSMCoordColumn casacore::TSMDataColumn casacore::TSMIdColumn

Public Member Functions

 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 setShape (uInt rownr, const IPosition &shape)
 Set the shape of an (variable-shaped) array in the given row. 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 Bool isShapeDefined (uInt rownr)
 Is the value shape defined in the given row? By default it returns True. More...
 
virtual uInt ndim (uInt rownr)
 Get the dimensionality of the item in the given row. More...
 
virtual IPosition shape (uInt rownr)
 Get the shape of the item in the given row. More...
 
virtual IPosition tileShape (uInt rownr)
 Get the tile shape of the item in the given row. More...
 
virtual Bool canChangeShape () const
 Can the data manager handle chaging the shape of an existing array? Default is no. 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 canAccessSlice (Bool &reask) const
 Can the column data manager handle access to a cell slice? If not, the caller should do slicing itself (by accessing the entire array and slicing it). 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...
 

Static Public Member Functions

static Bool isNativeDataType (int dtype)
 Test if the given data type is supported by storage managers. More...
 

Protected Member Functions

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 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)
 
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 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 getArrayBoolV (uInt rownr, Array< Bool > *dataPtr)
 Get the array value in the given row. More...
 
virtual void getArrayuCharV (uInt rownr, Array< uChar > *dataPtr)
 
virtual void getArrayShortV (uInt rownr, Array< Short > *dataPtr)
 
virtual void getArrayuShortV (uInt rownr, Array< uShort > *dataPtr)
 
virtual void getArrayIntV (uInt rownr, Array< Int > *dataPtr)
 
virtual void getArrayuIntV (uInt rownr, Array< uInt > *dataPtr)
 
virtual void getArrayInt64V (uInt rownr, Array< Int64 > *dataPtr)
 
virtual void getArrayfloatV (uInt rownr, Array< float > *dataPtr)
 
virtual void getArraydoubleV (uInt rownr, Array< double > *dataPtr)
 
virtual void getArrayComplexV (uInt rownr, Array< Complex > *dataPtr)
 
virtual void getArrayDComplexV (uInt rownr, Array< DComplex > *dataPtr)
 
virtual void getArrayStringV (uInt rownr, Array< String > *dataPtr)
 
virtual void putArrayBoolV (uInt rownr, const Array< Bool > *dataPtr)
 Put the array value into the given row. More...
 
virtual void putArrayuCharV (uInt rownr, const Array< uChar > *dataPtr)
 
virtual void putArrayShortV (uInt rownr, const Array< Short > *dataPtr)
 
virtual void putArrayuShortV (uInt rownr, const Array< uShort > *dataPtr)
 
virtual void putArrayIntV (uInt rownr, const Array< Int > *dataPtr)
 
virtual void putArrayuIntV (uInt rownr, const Array< uInt > *dataPtr)
 
virtual void putArrayInt64V (uInt rownr, const Array< Int64 > *dataPtr)
 
virtual void putArrayfloatV (uInt rownr, const Array< float > *dataPtr)
 
virtual void putArraydoubleV (uInt rownr, const Array< double > *dataPtr)
 
virtual void putArrayComplexV (uInt rownr, const Array< Complex > *dataPtr)
 
virtual void putArrayDComplexV (uInt rownr, const Array< DComplex > *dataPtr)
 
virtual void putArrayStringV (uInt rownr, const Array< 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 getSliceBoolV (uInt rownr, const Slicer &ns, Array< Bool > *dataPtr)
 Get the array value in the given row. More...
 
virtual void getSliceuCharV (uInt rownr, const Slicer &ns, Array< uChar > *dataPtr)
 
virtual void getSliceShortV (uInt rownr, const Slicer &ns, Array< Short > *dataPtr)
 
virtual void getSliceuShortV (uInt rownr, const Slicer &ns, Array< uShort > *dataPtr)
 
virtual void getSliceIntV (uInt rownr, const Slicer &ns, Array< Int > *dataPtr)
 
virtual void getSliceuIntV (uInt rownr, const Slicer &ns, Array< uInt > *dataPtr)
 
virtual void getSliceInt64V (uInt rownr, const Slicer &ns, Array< Int64 > *dataPtr)
 
virtual void getSlicefloatV (uInt rownr, const Slicer &ns, Array< float > *dataPtr)
 
virtual void getSlicedoubleV (uInt rownr, const Slicer &ns, Array< double > *dataPtr)
 
virtual void getSliceComplexV (uInt rownr, const Slicer &ns, Array< Complex > *dataPtr)
 
virtual void getSliceDComplexV (uInt rownr, const Slicer &ns, Array< DComplex > *dataPtr)
 
virtual void getSliceStringV (uInt rownr, const Slicer &ns, Array< String > *dataPtr)
 
virtual void putSliceBoolV (uInt rownr, const Slicer &ns, const Array< Bool > *dataPtr)
 Put the array value into the given row. More...
 
virtual void putSliceuCharV (uInt rownr, const Slicer &ns, const Array< uChar > *dataPtr)
 
virtual void putSliceShortV (uInt rownr, const Slicer &ns, const Array< Short > *dataPtr)
 
virtual void putSliceuShortV (uInt rownr, const Slicer &ns, const Array< uShort > *dataPtr)
 
virtual void putSliceIntV (uInt rownr, const Slicer &ns, const Array< Int > *dataPtr)
 
virtual void putSliceuIntV (uInt rownr, const Slicer &ns, const Array< uInt > *dataPtr)
 
virtual void putSliceInt64V (uInt rownr, const Slicer &ns, const Array< Int64 > *dataPtr)
 
virtual void putSlicefloatV (uInt rownr, const Slicer &ns, const Array< float > *dataPtr)
 
virtual void putSlicedoubleV (uInt rownr, const Slicer &ns, const Array< double > *dataPtr)
 
virtual void putSliceComplexV (uInt rownr, const Slicer &ns, const Array< Complex > *dataPtr)
 
virtual void putSliceDComplexV (uInt rownr, const Slicer &ns, const Array< DComplex > *dataPtr)
 
virtual void putSliceStringV (uInt rownr, const Slicer &ns, 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 getBoolV (uInt rownr, Bool *dataPtr)
 Get the scalar value in the given row. More...
 
virtual void getuCharV (uInt rownr, uChar *dataPtr)
 
virtual void getShortV (uInt rownr, Short *dataPtr)
 
virtual void getuShortV (uInt rownr, uShort *dataPtr)
 
virtual void getIntV (uInt rownr, Int *dataPtr)
 
virtual void getuIntV (uInt rownr, uInt *dataPtr)
 
virtual void getInt64V (uInt rownr, Int64 *dataPtr)
 
virtual void getfloatV (uInt rownr, float *dataPtr)
 
virtual void getdoubleV (uInt rownr, double *dataPtr)
 
virtual void getComplexV (uInt rownr, Complex *dataPtr)
 
virtual void getDComplexV (uInt rownr, DComplex *dataPtr)
 
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 putBoolV (uInt rownr, const Bool *dataPtr)
 Put the scalar value into the given row. More...
 
virtual void putuCharV (uInt rownr, const uChar *dataPtr)
 
virtual void putShortV (uInt rownr, const Short *dataPtr)
 
virtual void putuShortV (uInt rownr, const uShort *dataPtr)
 
virtual void putIntV (uInt rownr, const Int *dataPtr)
 
virtual void putuIntV (uInt rownr, const uInt *dataPtr)
 
virtual void putInt64V (uInt rownr, const Int64 *dataPtr)
 
virtual void putfloatV (uInt rownr, const float *dataPtr)
 
virtual void putdoubleV (uInt rownr, const double *dataPtr)
 
virtual void putComplexV (uInt rownr, const Complex *dataPtr)
 
virtual void putDComplexV (uInt rownr, const DComplex *dataPtr)
 
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...
 

Private Member Functions

 StManColumn (const StManColumn &)
 The object cannot be copied. More...
 
StManColumnoperator= (const StManColumn &)
 The object cannot be assigned to. More...
 
void throwInvalidOp (const String &op) const
 Throw an "invalid operation" exception for the default implementation of getArray. More...
 

Private Attributes

int dtype_p
 The data type of the column. More...
 

Detailed Description

Base table column storage manager class.

Intended use:

Internal

Review Status

Reviewed By:
Gareth Hunt
Date Reviewed:
94Nov17

Prerequisite

Etymology

StManColumn handles a column for a storage manager.

Synopsis

StManColumn is the abstract base class to handle a column in all kind of storage managers. It is derived from DataManagerColumn and implements several virtual functions for derived storage manager column classes (like StManColumnAipsIO).

All get and put functions (except for single scalars) in the abstract base class DataManagerColumn have a generic void* data argument. This is done to allow arbitrary typed arguments. This can be done because the data type of the derived class always matches the type of the data argument. However, at one time the void* has to be casted to the exact type. Storage managers only support the standard data types; therefore it is possible to do the cast in a base class. This concentrates the burden in one class and allows the derived classes to work with correctly typed arguments. The price is an extra virtual function call, but that is not a problem for (expensive) operations on arrays. It is not done for single scalars, because that price may be too high.

See StManColumnAipsIO for the get/put functions required in a storage manager column class handling scalars. See StManColumnArrayAipsIO for the get/put functions required in a storage manager column class handling arrays. This class also contains the shape functions for direct arrays, while StManColumnIndArrayAipsIO contains the shape functions for indirec arrays.

StManColumn also contains the data type of the column (which it gets from the derived classes at construction time) and implements the function dataType on behalf of its derived classes.

Motivation

Making life easier for the derived classes.

Definition at line 102 of file StManColumn.h.

Constructor & Destructor Documentation

casacore::StManColumn::StManColumn ( int  dataType)

Default constructor.

casacore::StManColumn::~StManColumn ( )
casacore::StManColumn::StManColumn ( const StManColumn )
private

The object cannot be copied.

Member Function Documentation

Bool casacore::StManColumn::canAccessArrayColumnCells ( Bool reask) const
virtual

All storage managers can handle access to array column cells, because this class contains a default implementation of getArrayColumnCellsV.

Reimplemented from casacore::DataManagerColumn.

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

By default the storage manager can handle access to a scalar column.

Reimplemented from casacore::DataManagerColumn.

Bool casacore::StManColumn::canAccessScalarColumnCells ( Bool reask) const
virtual

All storage managers can handle access to scalar column cells, because this class contains a default implementation of getScalarColumnCellsV.

Reimplemented from casacore::DataManagerColumn.

int casacore::StManColumn::dataType ( ) const
virtual

Return the data type of the column.

Implements casacore::DataManagerColumn.

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

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 loops through all rows.

Reimplemented in casacore::ISMColumn, casacore::TSMDataColumn, casacore::StManColumnIndArrayAipsIO, casacore::ISMIndColumn, casacore::SSMIndColumn, casa::AsdmFlagColumn, casacore::StManColumnArrayAipsIO, casacore::MSMIndColumn, casacore::MSMDirColumn, and casacore::SSMDirColumn.

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

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 in casacore::TSMDataColumn, casacore::StManColumnArrayAipsIO, and casacore::MSMDirColumn.

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

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 in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::getArrayColumnCellsStringV ( const RefRows rownrs,
Array< String > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getArrayColumnCellsuCharV ( const RefRows rownrs,
Array< uChar > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

void casacore::StManColumn::getArrayColumnCellsV ( const RefRows rownrs,
void *  dataPtr 
)
virtual

Get some array values in the column.

The argument dataPtr is in fact an Array<T>*, but a void* is needed to be generic. The vector pointed to by dataPtr has to have the correct length (which is guaranteed by the ArrayColumn getColumn function). The default implementation calls the appropriate getArrayColumnCellsXXV.

Reimplemented from casacore::DataManagerColumn.

virtual void casacore::StManColumn::getArrayColumnComplexV ( Array< Complex > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::getArrayColumnDComplexV ( Array< DComplex > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::getArrayColumndoubleV ( Array< double > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::getArrayColumnfloatV ( Array< float > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::getArrayColumnInt64V ( Array< Int64 > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::getArrayColumnIntV ( Array< Int > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::getArrayColumnShortV ( Array< Short > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::getArrayColumnStringV ( Array< String > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::getArrayColumnuCharV ( Array< uChar > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::getArrayColumnuIntV ( Array< uInt > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::getArrayColumnuShortV ( Array< uShort > *  dataPtr)
protectedvirtual
void casacore::StManColumn::getArrayColumnV ( void *  dataPtr)
virtual

Get all array values in the column.

The argument dataPtr is in fact an Array<T>*, but a void* is needed to be generic. The vector pointed to by dataPtr has to have the correct length (which is guaranteed by the ArrayColumn getColumn function). The default implementation calls the appropriate getArrayColumnXXV.

Reimplemented from casacore::DataManagerColumn.

virtual void casacore::StManColumn::getArrayComplexV ( uInt  rownr,
Array< Complex > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getArrayDComplexV ( uInt  rownr,
Array< DComplex > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getArraydoubleV ( uInt  rownr,
Array< double > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getArrayfloatV ( uInt  rownr,
Array< float > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getArrayInt64V ( uInt  rownr,
Array< Int64 > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getArrayIntV ( uInt  rownr,
Array< Int > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getArrayShortV ( uInt  rownr,
Array< Short > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getArrayStringV ( uInt  rownr,
Array< String > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getArrayuCharV ( uInt  rownr,
Array< uChar > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getArrayuIntV ( uInt  rownr,
Array< uInt > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getArrayuShortV ( uInt  rownr,
Array< uShort > *  dataPtr 
)
protectedvirtual
void casacore::StManColumn::getArrayV ( uInt  rownr,
void *  dataPtr 
)
virtual

Get the array value in the given row.

The argument dataPtr is in fact an Array<T>*, but a void* is needed to be generic. The array pointed to by dataPtr has to have the correct shape (which is guaranteed by the ArrayColumn get function). The default implementation calls the appropriate getArrayXXV.

Reimplemented from casacore::DataManagerColumn.

virtual uInt casacore::StManColumn::getBlockBoolV ( uInt  rownr,
uInt  nrmax,
Bool dataPtr 
)
protectedvirtual

Get scalars from the given row on with a maximum of nrmax values.

This can be used to get an entire column of scalars or to get a part of a column (for a cache for example). The buffer pointed to by dataPtr has to have the length nrmax. (which is guaranteed by the ScalarColumn get function). The default implementation gets one value.

Reimplemented in casacore::StManColumnAipsIO, and casacore::MSMColumn.

virtual uInt casacore::StManColumn::getBlockComplexV ( uInt  rownr,
uInt  nrmax,
Complex *  dataPtr 
)
protectedvirtual
virtual uInt casacore::StManColumn::getBlockDComplexV ( uInt  rownr,
uInt  nrmax,
DComplex *  dataPtr 
)
protectedvirtual
virtual uInt casacore::StManColumn::getBlockdoubleV ( uInt  rownr,
uInt  nrmax,
double *  dataPtr 
)
protectedvirtual
virtual uInt casacore::StManColumn::getBlockfloatV ( uInt  rownr,
uInt  nrmax,
float *  dataPtr 
)
protectedvirtual
virtual uInt casacore::StManColumn::getBlockInt64V ( uInt  rownr,
uInt  nrmax,
Int64 dataPtr 
)
protectedvirtual
virtual uInt casacore::StManColumn::getBlockIntV ( uInt  rownr,
uInt  nrmax,
Int dataPtr 
)
protectedvirtual
virtual uInt casacore::StManColumn::getBlockShortV ( uInt  rownr,
uInt  nrmax,
Short dataPtr 
)
protectedvirtual
virtual uInt casacore::StManColumn::getBlockStringV ( uInt  rownr,
uInt  nrmax,
String dataPtr 
)
protectedvirtual
virtual uInt casacore::StManColumn::getBlockuCharV ( uInt  rownr,
uInt  nrmax,
uChar dataPtr 
)
protectedvirtual
virtual uInt casacore::StManColumn::getBlockuIntV ( uInt  rownr,
uInt  nrmax,
uInt dataPtr 
)
protectedvirtual
virtual uInt casacore::StManColumn::getBlockuShortV ( uInt  rownr,
uInt  nrmax,
uShort dataPtr 
)
protectedvirtual
uInt casacore::StManColumn::getBlockV ( uInt  rownr,
uInt  nrmax,
void *  dataPtr 
)
virtual

Get scalars from the given row on with a maximum of nrmax values.

It returns the actual number of values got. This can be used to get an entire column of scalars or to get a part of a column (for a cache for example). The argument dataPtr is in fact a T*, but a void* is needed to be generic. The default implementation calls the appropriate getBlockXXV function.

Reimplemented from casacore::DataManagerColumn.

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

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 in casacore::TSMDataColumn.

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

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 in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::getColumnSliceCellsStringV ( const RefRows rownrs,
const Slicer ns,
Array< String > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getColumnSliceCellsuCharV ( const RefRows rownrs,
const Slicer ns,
Array< uChar > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::getColumnSliceCellsV ( const RefRows rownrs,
const Slicer slicer,
void *  dataPtr 
)
virtual

Get a section of some arrays in the column.

The argument dataPtr is in fact an Array<T>*, but a void* is needed to be generic. The array pointed to by dataPtr has to have the correct shape (which is guaranteed by the ArrayColumn getColumn function). The default implementation calls the appropriate getColumnSliceCellsXXV.

Reimplemented from casacore::DataManagerColumn.

virtual void casacore::StManColumn::getColumnSliceComplexV ( const Slicer ns,
Array< Complex > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::getColumnSliceDComplexV ( const Slicer ns,
Array< DComplex > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::getColumnSlicedoubleV ( const Slicer ns,
Array< double > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::getColumnSlicefloatV ( const Slicer ns,
Array< float > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::getColumnSliceInt64V ( const Slicer ns,
Array< Int64 > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::getColumnSliceIntV ( const Slicer ns,
Array< Int > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::getColumnSliceShortV ( const Slicer ns,
Array< Short > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::getColumnSliceStringV ( const Slicer ns,
Array< String > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getColumnSliceuCharV ( const Slicer ns,
Array< uChar > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::getColumnSliceuIntV ( const Slicer ns,
Array< uInt > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::getColumnSliceuShortV ( const Slicer ns,
Array< uShort > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

void casacore::StManColumn::getColumnSliceV ( const Slicer slicer,
void *  dataPtr 
)
virtual

Get a section of all arrays in the column.

The argument dataPtr is in fact an Array<T>*, but a void* is needed to be generic. The array pointed to by dataPtr has to have the correct shape (which is guaranteed by the ArrayColumn getColumn function). The default implementation calls the appropriate getColumnSliceXXV.

Reimplemented from casacore::DataManagerColumn.

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

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 in casacore::TSMDataColumn, casacore::ISMColumn, and casacore::SSMColumn.

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

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 in casacore::TSMDataColumn, casacore::ISMColumn, casacore::StManColumnAipsIO, and casacore::MSMColumn.

virtual void casacore::StManColumn::getScalarColumnCellsComplexV ( const RefRows rownrs,
Vector< Complex > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getScalarColumnCellsDComplexV ( const RefRows rownrs,
Vector< DComplex > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getScalarColumnCellsdoubleV ( const RefRows rownrs,
Vector< double > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getScalarColumnCellsfloatV ( const RefRows rownrs,
Vector< float > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getScalarColumnCellsInt64V ( const RefRows rownrs,
Vector< Int64 > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getScalarColumnCellsIntV ( const RefRows rownrs,
Vector< Int > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getScalarColumnCellsShortV ( const RefRows rownrs,
Vector< Short > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getScalarColumnCellsStringV ( const RefRows rownrs,
Vector< String > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getScalarColumnCellsuCharV ( const RefRows rownrs,
Vector< uChar > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getScalarColumnCellsuIntV ( const RefRows rownrs,
Vector< uInt > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getScalarColumnCellsuShortV ( const RefRows rownrs,
Vector< uShort > *  dataPtr 
)
protectedvirtual
void casacore::StManColumn::getScalarColumnCellsV ( const RefRows rownrs,
void *  dataPtr 
)
virtual

Get some scalar values in the column.

The argument dataPtr is in fact a Vector<T>*, but a void* is needed to be generic. The vector pointed to by dataPtr has to have the correct length (which is guaranteed by the ScalarColumn getColumn function). The default implementation calls the appropriate getScalarColumnCellsXXV.

Reimplemented from casacore::DataManagerColumn.

virtual void casacore::StManColumn::getScalarColumnComplexV ( Vector< Complex > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::getScalarColumnDComplexV ( Vector< DComplex > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::getScalarColumndoubleV ( Vector< double > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::getScalarColumnfloatV ( Vector< float > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::getScalarColumnInt64V ( Vector< Int64 > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::getScalarColumnIntV ( Vector< Int > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::getScalarColumnShortV ( Vector< Short > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::getScalarColumnStringV ( Vector< String > *  dataPtr)
protectedvirtual

Reimplemented in casacore::ISMColumn, and casacore::SSMColumn.

virtual void casacore::StManColumn::getScalarColumnuCharV ( Vector< uChar > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::getScalarColumnuIntV ( Vector< uInt > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::getScalarColumnuShortV ( Vector< uShort > *  dataPtr)
protectedvirtual
void casacore::StManColumn::getScalarColumnV ( void *  dataPtr)
virtual

Get all scalar values in the column.

The argument dataPtr is in fact a Vector<T>*, but a void* is needed to be generic. The vector pointed to by dataPtr has to have the correct length (which is guaranteed by the ScalarColumn getColumn function). The default implementation calls the appropriate getScalarColumnXXV.

Reimplemented from casacore::DataManagerColumn.

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

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 in casacore::TSMDataColumn, casacore::SSMIndColumn, casacore::StManColumnIndArrayAipsIO, casacore::ISMIndColumn, casacore::StManColumnArrayAipsIO, casacore::MSMIndColumn, casacore::MSMDirColumn, casa::AsdmFlagColumn, and casacore::Adios2StManColumn.

virtual void casacore::StManColumn::getSliceComplexV ( uInt  rownr,
const Slicer ns,
Array< Complex > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getSliceDComplexV ( uInt  rownr,
const Slicer ns,
Array< DComplex > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getSlicedoubleV ( uInt  rownr,
const Slicer ns,
Array< double > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getSlicefloatV ( uInt  rownr,
const Slicer ns,
Array< float > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getSliceInt64V ( uInt  rownr,
const Slicer ns,
Array< Int64 > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getSliceIntV ( uInt  rownr,
const Slicer ns,
Array< Int > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getSliceShortV ( uInt  rownr,
const Slicer ns,
Array< Short > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getSliceStringV ( uInt  rownr,
const Slicer ns,
Array< String > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getSliceuCharV ( uInt  rownr,
const Slicer ns,
Array< uChar > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getSliceuIntV ( uInt  rownr,
const Slicer ns,
Array< uInt > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::getSliceuShortV ( uInt  rownr,
const Slicer ns,
Array< uShort > *  dataPtr 
)
protectedvirtual
void casacore::StManColumn::getSliceV ( uInt  rownr,
const Slicer slicer,
void *  dataPtr 
)
virtual

Get a section of the array in the given row.

The argument dataPtr is in fact an Array<T>*, but a void* is needed to be generic. The array pointed to by dataPtr has to have the correct shape (which is guaranteed by the ArrayColumn getSlice function). The default implementation calls the appropriate getSliceXXV.

Reimplemented from casacore::DataManagerColumn.

static Bool casacore::StManColumn::isNativeDataType ( int  dtype)
static

Test if the given data type is supported by storage managers.

It is used by the function Table::isNativeDataType.

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

The object cannot be assigned to.

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

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 loops through all rows.

Reimplemented in casacore::ISMColumn, casacore::TSMDataColumn, casacore::StManColumnIndArrayAipsIO, casacore::ISMIndColumn, casacore::SSMIndColumn, casacore::StManColumnArrayAipsIO, casacore::MSMIndColumn, casacore::MSMDirColumn, and casacore::SSMDirColumn.

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

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 in casacore::TSMDataColumn, casacore::StManColumnArrayAipsIO, and casacore::MSMDirColumn.

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

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 in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::putArrayColumnCellsStringV ( const RefRows rownrs,
const Array< String > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putArrayColumnCellsuCharV ( const RefRows rownrs,
const Array< uChar > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

void casacore::StManColumn::putArrayColumnCellsV ( const RefRows rownrs,
const void *  dataPtr 
)
virtual

Put some array values in the column.

The argument dataPtr is in fact an const Array<T>*, but a const void* is needed to be generic. The vector pointed to by dataPtr has to have the correct length (which is guaranteed by the ArrayColumn getColumn function). The default implementation calls the appropriate putArrayColumnCellsXXV.

Reimplemented from casacore::DataManagerColumn.

virtual void casacore::StManColumn::putArrayColumnComplexV ( const Array< Complex > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::putArrayColumnDComplexV ( const Array< DComplex > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::putArrayColumndoubleV ( const Array< double > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::putArrayColumnfloatV ( const Array< float > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::putArrayColumnInt64V ( const Array< Int64 > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::putArrayColumnIntV ( const Array< Int > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::putArrayColumnShortV ( const Array< Short > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::putArrayColumnStringV ( const Array< String > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::putArrayColumnuCharV ( const Array< uChar > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::putArrayColumnuIntV ( const Array< uInt > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::putArrayColumnuShortV ( const Array< uShort > *  dataPtr)
protectedvirtual
void casacore::StManColumn::putArrayColumnV ( const void *  dataPtr)
virtual

Put all array values in the column.

The argument dataPtr is in fact a const Array<T>*, but a const void* is needed to be generic. The vector pointed to by dataPtr has to have the correct length (which is guaranteed by the ArrayColumn putColumn function). The default implementation calls the appropriate putArrayColumnXXV.

Reimplemented from casacore::DataManagerColumn.

virtual void casacore::StManColumn::putArrayComplexV ( uInt  rownr,
const Array< Complex > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putArrayDComplexV ( uInt  rownr,
const Array< DComplex > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putArraydoubleV ( uInt  rownr,
const Array< double > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putArrayfloatV ( uInt  rownr,
const Array< float > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putArrayInt64V ( uInt  rownr,
const Array< Int64 > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putArrayIntV ( uInt  rownr,
const Array< Int > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putArrayShortV ( uInt  rownr,
const Array< Short > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putArrayStringV ( uInt  rownr,
const Array< String > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putArrayuCharV ( uInt  rownr,
const Array< uChar > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putArrayuIntV ( uInt  rownr,
const Array< uInt > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putArrayuShortV ( uInt  rownr,
const Array< uShort > *  dataPtr 
)
protectedvirtual
void casacore::StManColumn::putArrayV ( uInt  rownr,
const void *  dataPtr 
)
virtual

Put the array value into the given row.

The argument dataPtr is in fact a const Array<T>*, but a const void* is needed to be generic. The array pointed to by dataPtr has to have the correct shape (which is guaranteed by the ArrayColumn put function). The default implementation calls the appropriate putArrayXXV.

Reimplemented from casacore::DataManagerColumn.

virtual void casacore::StManColumn::putBlockBoolV ( uInt  rownr,
uInt  nrmax,
const Bool dataPtr 
)
protectedvirtual

Put nrmax scalars from the given row on.

This can be used to put an entire column of scalars or to put a part of a column (for a cache for example). The buffer pointed to by dataPtr has to have the length nrmax. The default implementation puts one value at the time.

Reimplemented in casacore::StManColumnAipsIO, and casacore::MSMColumn.

virtual void casacore::StManColumn::putBlockComplexV ( uInt  rownr,
uInt  nrmax,
const Complex *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putBlockDComplexV ( uInt  rownr,
uInt  nrmax,
const DComplex *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putBlockdoubleV ( uInt  rownr,
uInt  nrmax,
const double *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putBlockfloatV ( uInt  rownr,
uInt  nrmax,
const float *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putBlockInt64V ( uInt  rownr,
uInt  nrmax,
const Int64 dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putBlockIntV ( uInt  rownr,
uInt  nrmax,
const Int dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putBlockShortV ( uInt  rownr,
uInt  nrmax,
const Short dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putBlockStringV ( uInt  rownr,
uInt  nrmax,
const String dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putBlockuCharV ( uInt  rownr,
uInt  nrmax,
const uChar dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putBlockuIntV ( uInt  rownr,
uInt  nrmax,
const uInt dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putBlockuShortV ( uInt  rownr,
uInt  nrmax,
const uShort dataPtr 
)
protectedvirtual
void casacore::StManColumn::putBlockV ( uInt  rownr,
uInt  nrmax,
const void *  dataPtr 
)
virtual

Put nrmax scalars from the given row on.

It returns the actual number of values put. This can be used to put an entire column of scalars or to put a part of a column (for a cache for example). The argument dataPtr is in fact a const T*, but a const void* is needed to be generic. The default implementation calls the appropriate putBlockXXV function.

Reimplemented from casacore::DataManagerColumn.

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

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 in casacore::TSMDataColumn.

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

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 in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::putColumnSliceCellsStringV ( const RefRows rownrs,
const Slicer ns,
const Array< String > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putColumnSliceCellsuCharV ( const RefRows rownrs,
const Slicer ns,
const Array< uChar > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::putColumnSliceCellsV ( const RefRows rownrs,
const Slicer slicer,
const void *  dataPtr 
)
virtual

Put into a section of some arrays in the column.

The argument dataPtr is in fact a const Array<T>*, but a const void* is needed to be generic. The array pointed to by dataPtr has to have the correct shape (which is guaranteed by the ArrayColumn putColumn function). The default implementation calls the appropriate putColumnSliceCellsXXV.

Reimplemented from casacore::DataManagerColumn.

virtual void casacore::StManColumn::putColumnSliceComplexV ( const Slicer ns,
const Array< Complex > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::putColumnSliceDComplexV ( const Slicer ns,
const Array< DComplex > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::putColumnSlicedoubleV ( const Slicer ns,
const Array< double > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::putColumnSlicefloatV ( const Slicer ns,
const Array< float > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::putColumnSliceInt64V ( const Slicer ns,
const Array< Int64 > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::putColumnSliceIntV ( const Slicer ns,
const Array< Int > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::putColumnSliceShortV ( const Slicer ns,
const Array< Short > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::putColumnSliceStringV ( const Slicer ns,
const Array< String > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putColumnSliceuCharV ( const Slicer ns,
const Array< uChar > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::putColumnSliceuIntV ( const Slicer ns,
const Array< uInt > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::putColumnSliceuShortV ( const Slicer ns,
const Array< uShort > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

void casacore::StManColumn::putColumnSliceV ( const Slicer slicer,
const void *  dataPtr 
)
virtual

Put into a section of all arrays in the column.

The argument dataPtr is in fact a const Array<T>*, but a const void* is needed to be generic. The array pointed to by dataPtr has to have the correct shape (which is guaranteed by the ArrayColumn putColumn function). The default implementation calls the appropriate putColumnSliceXXV.

Reimplemented from casacore::DataManagerColumn.

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

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 in casacore::TSMDataColumn, casacore::ISMColumn, and casacore::SSMColumn.

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

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 in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

virtual void casacore::StManColumn::putScalarColumnCellsStringV ( const RefRows rownrs,
const Vector< String > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putScalarColumnCellsuCharV ( const RefRows rownrs,
const Vector< uChar > *  dataPtr 
)
protectedvirtual

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

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

Reimplemented in casacore::TSMDataColumn.

void casacore::StManColumn::putScalarColumnCellsV ( const RefRows rownrs,
const void *  dataPtr 
)
virtual

Put some scalar values in the column.

The argument dataPtr is in fact a const Vector<T>*, but a const void* is needed to be generic. The vector pointed to by dataPtr has to have the correct length (which is guaranteed by the ScalarColumn getColumn function). The default implementation calls the appropriate putScalarColumnCellsXXV.

Reimplemented from casacore::DataManagerColumn.

virtual void casacore::StManColumn::putScalarColumnComplexV ( const Vector< Complex > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::putScalarColumnDComplexV ( const Vector< DComplex > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::putScalarColumndoubleV ( const Vector< double > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::putScalarColumnfloatV ( const Vector< float > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::putScalarColumnInt64V ( const Vector< Int64 > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::putScalarColumnIntV ( const Vector< Int > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::putScalarColumnShortV ( const Vector< Short > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::putScalarColumnStringV ( const Vector< String > *  dataPtr)
protectedvirtual

Reimplemented in casacore::ISMColumn, and casacore::SSMColumn.

virtual void casacore::StManColumn::putScalarColumnuCharV ( const Vector< uChar > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::putScalarColumnuIntV ( const Vector< uInt > *  dataPtr)
protectedvirtual
virtual void casacore::StManColumn::putScalarColumnuShortV ( const Vector< uShort > *  dataPtr)
protectedvirtual
void casacore::StManColumn::putScalarColumnV ( const void *  dataPtr)
virtual

Put all scalar values in the column.

The argument dataPtr is in fact a const Vector<T>*, but a const void* is needed to be generic. The vector pointed to by dataPtr has to have the correct length (which is guaranteed by the ScalarColumn putColumn function). The default implementation calls the appropriate putScalarColumnXXV.

Reimplemented from casacore::DataManagerColumn.

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

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 in casacore::TSMDataColumn, casacore::SSMIndColumn, casacore::ISMIndColumn, casacore::StManColumnIndArrayAipsIO, casacore::StManColumnArrayAipsIO, casacore::MSMIndColumn, casacore::MSMDirColumn, and casacore::Adios2StManColumn.

virtual void casacore::StManColumn::putSliceComplexV ( uInt  rownr,
const Slicer ns,
const Array< Complex > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putSliceDComplexV ( uInt  rownr,
const Slicer ns,
const Array< DComplex > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putSlicedoubleV ( uInt  rownr,
const Slicer ns,
const Array< double > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putSlicefloatV ( uInt  rownr,
const Slicer ns,
const Array< float > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putSliceInt64V ( uInt  rownr,
const Slicer ns,
const Array< Int64 > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putSliceIntV ( uInt  rownr,
const Slicer ns,
const Array< Int > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putSliceShortV ( uInt  rownr,
const Slicer ns,
const Array< Short > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putSliceStringV ( uInt  rownr,
const Slicer ns,
const Array< String > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putSliceuCharV ( uInt  rownr,
const Slicer ns,
const Array< uChar > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putSliceuIntV ( uInt  rownr,
const Slicer ns,
const Array< uInt > *  dataPtr 
)
protectedvirtual
virtual void casacore::StManColumn::putSliceuShortV ( uInt  rownr,
const Slicer ns,
const Array< uShort > *  dataPtr 
)
protectedvirtual
void casacore::StManColumn::putSliceV ( uInt  rownr,
const Slicer slicer,
const void *  dataPtr 
)
virtual

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

The argument dataPtr is in fact a const Array<T>*, but a const void* is needed to be generic. The array pointed to by dataPtr has to have the correct shape (which is guaranteed by the ArrayColumn putSlice function). The default implementation calls the appropriate putSliceXXV.

Reimplemented from casacore::DataManagerColumn.

void casacore::StManColumn::throwInvalidOp ( const String op) const
private

Throw an "invalid operation" exception for the default implementation of getArray.

Member Data Documentation

int casacore::StManColumn::dtype_p
private

The data type of the column.

Definition at line 821 of file StManColumn.h.


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