casa
$Rev:20696$
|
Base table column storage manager class. More...
#include <StManColumn.h>
Public Member Functions | |
StManColumn (int dataType) | |
Default constructor. | |
~StManColumn () | |
int | dataType () const |
Return the data type of the column. | |
Bool | canAccessScalarColumn (Bool &reask) const |
By default the storage manager can handle access to a scalar column. | |
Bool | canAccessScalarColumnCells (Bool &reask) const |
All storage managers can handle access to scalar column cells, because this class contains a default implementation of getScalarColumnCellsV. | |
Bool | canAccessArrayColumnCells (Bool &reask) const |
All storage managers can handle access to array column cells, because this class contains a default implementation of getArrayColumnCellsV. | |
void | getScalarColumnV (void *dataPtr) |
Get all scalar values in the column. | |
void | putScalarColumnV (const void *dataPtr) |
Put all scalar values in the column. | |
void | getScalarColumnCellsV (const RefRows &rownrs, void *dataPtr) |
Get some scalar values in the column. | |
void | putScalarColumnCellsV (const RefRows &rownrs, const void *dataPtr) |
Put some scalar values in the column. | |
uInt | getBlockV (uInt rownr, uInt nrmax, void *dataPtr) |
Get scalars from the given row on with a maximum of nrmax values. | |
void | putBlockV (uInt rownr, uInt nrmax, const void *dataPtr) |
Put nrmax scalars from the given row on. | |
void | getArrayV (uInt rownr, void *dataPtr) |
Get the array value in the given row. | |
void | putArrayV (uInt rownr, const void *dataPtr) |
Put the array value into the given row. | |
void | getArrayColumnV (void *dataPtr) |
Get all array values in the column. | |
void | putArrayColumnV (const void *dataPtr) |
Put all array values in the column. | |
void | getArrayColumnCellsV (const RefRows &rownrs, void *dataPtr) |
Get some array values in the column. | |
void | putArrayColumnCellsV (const RefRows &rownrs, const void *dataPtr) |
Put some array values in the column. | |
void | getSliceV (uInt rownr, const Slicer &slicer, void *dataPtr) |
Get a section of the array in the given row. | |
void | putSliceV (uInt rownr, const Slicer &slicer, const void *dataPtr) |
Put into a section of the array in the given row. | |
void | getColumnSliceV (const Slicer &slicer, void *dataPtr) |
Get a section of all arrays in the column. | |
void | putColumnSliceV (const Slicer &slicer, const void *dataPtr) |
Put into a section of all arrays in the column. | |
virtual void | getColumnSliceCellsV (const RefRows &rownrs, const Slicer &slicer, void *dataPtr) |
Get a section of some arrays in the column. | |
virtual void | putColumnSliceCellsV (const RefRows &rownrs, const Slicer &slicer, const void *dataPtr) |
Put into a section of some arrays in the column. | |
Static Public Member Functions | |
static Bool | isNativeDataType (int dtype) |
Test if the given data type is supported by storage managers. | |
Protected Member Functions | |
virtual void | getScalarColumnBoolV (Vector< Bool > *dataPtr) |
Get the scalar values in the entire column. | |
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 | 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. | |
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 | 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. | |
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 | 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. | |
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 | 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. | |
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 | 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. | |
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 | 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. | |
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 | 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. | |
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 | 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. | |
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 | 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. | |
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 | 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. | |
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 | 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. | |
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 | 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. | |
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 | 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. | |
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 | 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. | |
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 | 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. | |
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 | 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. | |
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 | 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. | |
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 | 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) |
Private Member Functions | |
StManColumn (const StManColumn &) | |
The object cannot be copied. | |
StManColumn & | operator= (const StManColumn &) |
The object cannot be assigned to. | |
void | throwGetArray () const |
Throw an "invalid operation" exception for the default implementation of getArray. | |
void | throwPutArray () const |
Throw an "invalid operation" exception for the default implementation of putArray. | |
Private Attributes | |
int | dtype_p |
Base table column storage manager class.
Internal
StManColumn handles a column for a storage manager.
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.
Making life easier for the derived classes.
Definition at line 102 of file StManColumn.h.
casa::StManColumn::StManColumn | ( | int | dataType | ) |
Default constructor.
casa::StManColumn::StManColumn | ( | const StManColumn & | ) | [private] |
The object cannot be copied.
Bool casa::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 casa::DataManagerColumn.
Bool casa::StManColumn::canAccessScalarColumn | ( | Bool & | reask | ) | const [virtual] |
By default the storage manager can handle access to a scalar column.
Reimplemented from casa::DataManagerColumn.
Reimplemented in casa::TSMDataColumn.
Bool casa::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 casa::DataManagerColumn.
int casa::StManColumn::dataType | ( | ) | const [virtual] |
Return the data type of the column.
Implements casa::DataManagerColumn.
Reimplemented in casa::TSMColumn.
virtual void casa::StManColumn::getArrayBoolV | ( | uInt | rownr, |
Array< Bool > * | dataPtr | ||
) | [protected, 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 loops through all rows.
Reimplemented in casa::ISMColumn, casa::TSMDataColumn, casa::StManColumnIndArrayAipsIO, casa::ISMIndColumn, casa::SSMIndColumn, casa::StManColumnArrayAipsIO, casa::MSMIndColumn, casa::MSMDirColumn, and casa::SSMDirColumn.
virtual void casa::StManColumn::getArrayColumnBoolV | ( | Array< Bool > * | dataPtr | ) | [protected, 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 in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::getArrayColumnCellsBoolV | ( | const RefRows & | rownrs, |
Array< Bool > * | dataPtr | ||
) | [protected, 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 in casa::TSMDataColumn.
virtual void casa::StManColumn::getArrayColumnCellsComplexV | ( | const RefRows & | rownrs, |
Array< Complex > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getArrayColumnCellsDComplexV | ( | const RefRows & | rownrs, |
Array< DComplex > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getArrayColumnCellsdoubleV | ( | const RefRows & | rownrs, |
Array< double > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getArrayColumnCellsfloatV | ( | const RefRows & | rownrs, |
Array< float > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getArrayColumnCellsIntV | ( | const RefRows & | rownrs, |
Array< Int > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getArrayColumnCellsShortV | ( | const RefRows & | rownrs, |
Array< Short > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getArrayColumnCellsStringV | ( | const RefRows & | rownrs, |
Array< String > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getArrayColumnCellsuCharV | ( | const RefRows & | rownrs, |
Array< uChar > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getArrayColumnCellsuIntV | ( | const RefRows & | rownrs, |
Array< uInt > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getArrayColumnCellsuShortV | ( | const RefRows & | rownrs, |
Array< uShort > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
void casa::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 casa::DataManagerColumn.
virtual void casa::StManColumn::getArrayColumnComplexV | ( | Array< Complex > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::getArrayColumnDComplexV | ( | Array< DComplex > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::getArrayColumndoubleV | ( | Array< double > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::getArrayColumnfloatV | ( | Array< float > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::getArrayColumnIntV | ( | Array< Int > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::getArrayColumnShortV | ( | Array< Short > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::getArrayColumnStringV | ( | Array< String > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::getArrayColumnuCharV | ( | Array< uChar > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::getArrayColumnuIntV | ( | Array< uInt > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::getArrayColumnuShortV | ( | Array< uShort > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
void casa::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 casa::DataManagerColumn.
virtual void casa::StManColumn::getArrayComplexV | ( | uInt | rownr, |
Array< Complex > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getArrayDComplexV | ( | uInt | rownr, |
Array< DComplex > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getArraydoubleV | ( | uInt | rownr, |
Array< double > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getArrayfloatV | ( | uInt | rownr, |
Array< float > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getArrayIntV | ( | uInt | rownr, |
Array< Int > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getArrayShortV | ( | uInt | rownr, |
Array< Short > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getArrayStringV | ( | uInt | rownr, |
Array< String > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getArrayuCharV | ( | uInt | rownr, |
Array< uChar > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getArrayuIntV | ( | uInt | rownr, |
Array< uInt > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getArrayuShortV | ( | uInt | rownr, |
Array< uShort > * | dataPtr | ||
) | [protected, virtual] |
void casa::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 casa::DataManagerColumn.
virtual uInt casa::StManColumn::getBlockBoolV | ( | uInt | rownr, |
uInt | nrmax, | ||
Bool * | dataPtr | ||
) | [protected, virtual] |
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 casa::StManColumnAipsIO, and casa::MSMColumn.
virtual uInt casa::StManColumn::getBlockComplexV | ( | uInt | rownr, |
uInt | nrmax, | ||
Complex * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
virtual uInt casa::StManColumn::getBlockDComplexV | ( | uInt | rownr, |
uInt | nrmax, | ||
DComplex * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
virtual uInt casa::StManColumn::getBlockdoubleV | ( | uInt | rownr, |
uInt | nrmax, | ||
double * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
virtual uInt casa::StManColumn::getBlockfloatV | ( | uInt | rownr, |
uInt | nrmax, | ||
float * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
virtual uInt casa::StManColumn::getBlockIntV | ( | uInt | rownr, |
uInt | nrmax, | ||
Int * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
virtual uInt casa::StManColumn::getBlockShortV | ( | uInt | rownr, |
uInt | nrmax, | ||
Short * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
virtual uInt casa::StManColumn::getBlockStringV | ( | uInt | rownr, |
uInt | nrmax, | ||
String * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
virtual uInt casa::StManColumn::getBlockuCharV | ( | uInt | rownr, |
uInt | nrmax, | ||
uChar * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
virtual uInt casa::StManColumn::getBlockuIntV | ( | uInt | rownr, |
uInt | nrmax, | ||
uInt * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
virtual uInt casa::StManColumn::getBlockuShortV | ( | uInt | rownr, |
uInt | nrmax, | ||
uShort * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
uInt casa::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 casa::DataManagerColumn.
virtual void casa::StManColumn::getColumnSliceBoolV | ( | const Slicer & | ns, |
Array< Bool > * | dataPtr | ||
) | [protected, 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 in casa::TSMDataColumn.
virtual void casa::StManColumn::getColumnSliceCellsBoolV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
Array< Bool > * | dataPtr | ||
) | [protected, 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 in casa::TSMDataColumn.
virtual void casa::StManColumn::getColumnSliceCellsComplexV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
Array< Complex > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getColumnSliceCellsDComplexV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
Array< DComplex > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getColumnSliceCellsdoubleV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
Array< double > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getColumnSliceCellsfloatV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
Array< float > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getColumnSliceCellsIntV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
Array< Int > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getColumnSliceCellsShortV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
Array< Short > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getColumnSliceCellsStringV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
Array< String > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getColumnSliceCellsuCharV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
Array< uChar > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getColumnSliceCellsuIntV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
Array< uInt > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getColumnSliceCellsuShortV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
Array< uShort > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::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 casa::DataManagerColumn.
virtual void casa::StManColumn::getColumnSliceComplexV | ( | const Slicer & | ns, |
Array< Complex > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getColumnSliceDComplexV | ( | const Slicer & | ns, |
Array< DComplex > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getColumnSlicedoubleV | ( | const Slicer & | ns, |
Array< double > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getColumnSlicefloatV | ( | const Slicer & | ns, |
Array< float > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getColumnSliceIntV | ( | const Slicer & | ns, |
Array< Int > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getColumnSliceShortV | ( | const Slicer & | ns, |
Array< Short > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getColumnSliceStringV | ( | const Slicer & | ns, |
Array< String > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getColumnSliceuCharV | ( | const Slicer & | ns, |
Array< uChar > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getColumnSliceuIntV | ( | const Slicer & | ns, |
Array< uInt > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::getColumnSliceuShortV | ( | const Slicer & | ns, |
Array< uShort > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
void casa::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 casa::DataManagerColumn.
virtual void casa::StManColumn::getScalarColumnBoolV | ( | Vector< Bool > * | dataPtr | ) | [protected, 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 in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::getScalarColumnCellsBoolV | ( | const RefRows & | rownrs, |
Vector< Bool > * | dataPtr | ||
) | [protected, 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 in casa::TSMDataColumn, casa::ISMColumn, casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::getScalarColumnCellsComplexV | ( | const RefRows & | rownrs, |
Vector< Complex > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::getScalarColumnCellsDComplexV | ( | const RefRows & | rownrs, |
Vector< DComplex > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::getScalarColumnCellsdoubleV | ( | const RefRows & | rownrs, |
Vector< double > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::getScalarColumnCellsfloatV | ( | const RefRows & | rownrs, |
Vector< float > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::getScalarColumnCellsIntV | ( | const RefRows & | rownrs, |
Vector< Int > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::getScalarColumnCellsShortV | ( | const RefRows & | rownrs, |
Vector< Short > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::getScalarColumnCellsStringV | ( | const RefRows & | rownrs, |
Vector< String > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::ISMColumn, casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::getScalarColumnCellsuCharV | ( | const RefRows & | rownrs, |
Vector< uChar > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::getScalarColumnCellsuIntV | ( | const RefRows & | rownrs, |
Vector< uInt > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::getScalarColumnCellsuShortV | ( | const RefRows & | rownrs, |
Vector< uShort > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, casa::StManColumnAipsIO, and casa::MSMColumn.
void casa::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 casa::DataManagerColumn.
virtual void casa::StManColumn::getScalarColumnComplexV | ( | Vector< Complex > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::getScalarColumnDComplexV | ( | Vector< DComplex > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::getScalarColumndoubleV | ( | Vector< double > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::getScalarColumnfloatV | ( | Vector< float > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::getScalarColumnIntV | ( | Vector< Int > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::getScalarColumnShortV | ( | Vector< Short > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::getScalarColumnStringV | ( | Vector< String > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::getScalarColumnuCharV | ( | Vector< uChar > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::getScalarColumnuIntV | ( | Vector< uInt > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::getScalarColumnuShortV | ( | Vector< uShort > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
void casa::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 casa::DataManagerColumn.
virtual void casa::StManColumn::getSliceBoolV | ( | uInt | rownr, |
const Slicer & | ns, | ||
Array< Bool > * | dataPtr | ||
) | [protected, 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 in casa::TSMDataColumn, casa::SSMIndColumn, casa::StManColumnIndArrayAipsIO, casa::ISMIndColumn, casa::StManColumnArrayAipsIO, casa::MSMIndColumn, and casa::MSMDirColumn.
virtual void casa::StManColumn::getSliceComplexV | ( | uInt | rownr, |
const Slicer & | ns, | ||
Array< Complex > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getSliceDComplexV | ( | uInt | rownr, |
const Slicer & | ns, | ||
Array< DComplex > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getSlicedoubleV | ( | uInt | rownr, |
const Slicer & | ns, | ||
Array< double > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getSlicefloatV | ( | uInt | rownr, |
const Slicer & | ns, | ||
Array< float > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getSliceIntV | ( | uInt | rownr, |
const Slicer & | ns, | ||
Array< Int > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getSliceShortV | ( | uInt | rownr, |
const Slicer & | ns, | ||
Array< Short > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getSliceStringV | ( | uInt | rownr, |
const Slicer & | ns, | ||
Array< String > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getSliceuCharV | ( | uInt | rownr, |
const Slicer & | ns, | ||
Array< uChar > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getSliceuIntV | ( | uInt | rownr, |
const Slicer & | ns, | ||
Array< uInt > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::getSliceuShortV | ( | uInt | rownr, |
const Slicer & | ns, | ||
Array< uShort > * | dataPtr | ||
) | [protected, virtual] |
void casa::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 casa::DataManagerColumn.
static Bool casa::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& casa::StManColumn::operator= | ( | const StManColumn & | ) | [private] |
The object cannot be assigned to.
virtual void casa::StManColumn::putArrayBoolV | ( | uInt | rownr, |
const Array< Bool > * | dataPtr | ||
) | [protected, 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 loops through all rows.
Reimplemented in casa::ISMColumn, casa::TSMDataColumn, casa::StManColumnIndArrayAipsIO, casa::ISMIndColumn, casa::SSMIndColumn, casa::StManColumnArrayAipsIO, casa::MSMIndColumn, casa::MSMDirColumn, and casa::SSMDirColumn.
virtual void casa::StManColumn::putArrayColumnBoolV | ( | const Array< Bool > * | dataPtr | ) | [protected, 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 in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::putArrayColumnCellsBoolV | ( | const RefRows & | rownrs, |
const Array< Bool > * | dataPtr | ||
) | [protected, 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 in casa::TSMDataColumn.
virtual void casa::StManColumn::putArrayColumnCellsComplexV | ( | const RefRows & | rownrs, |
const Array< Complex > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putArrayColumnCellsDComplexV | ( | const RefRows & | rownrs, |
const Array< DComplex > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putArrayColumnCellsdoubleV | ( | const RefRows & | rownrs, |
const Array< double > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putArrayColumnCellsfloatV | ( | const RefRows & | rownrs, |
const Array< float > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putArrayColumnCellsIntV | ( | const RefRows & | rownrs, |
const Array< Int > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putArrayColumnCellsShortV | ( | const RefRows & | rownrs, |
const Array< Short > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putArrayColumnCellsStringV | ( | const RefRows & | rownrs, |
const Array< String > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putArrayColumnCellsuCharV | ( | const RefRows & | rownrs, |
const Array< uChar > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putArrayColumnCellsuIntV | ( | const RefRows & | rownrs, |
const Array< uInt > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putArrayColumnCellsuShortV | ( | const RefRows & | rownrs, |
const Array< uShort > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
void casa::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 casa::DataManagerColumn.
virtual void casa::StManColumn::putArrayColumnComplexV | ( | const Array< Complex > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::putArrayColumnDComplexV | ( | const Array< DComplex > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::putArrayColumndoubleV | ( | const Array< double > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::putArrayColumnfloatV | ( | const Array< float > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::putArrayColumnIntV | ( | const Array< Int > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::putArrayColumnShortV | ( | const Array< Short > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::putArrayColumnStringV | ( | const Array< String > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::putArrayColumnuCharV | ( | const Array< uChar > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::putArrayColumnuIntV | ( | const Array< uInt > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
virtual void casa::StManColumn::putArrayColumnuShortV | ( | const Array< uShort > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::StManColumnArrayAipsIO, and casa::MSMDirColumn.
void casa::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 casa::DataManagerColumn.
virtual void casa::StManColumn::putArrayComplexV | ( | uInt | rownr, |
const Array< Complex > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putArrayDComplexV | ( | uInt | rownr, |
const Array< DComplex > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putArraydoubleV | ( | uInt | rownr, |
const Array< double > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putArrayfloatV | ( | uInt | rownr, |
const Array< float > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putArrayIntV | ( | uInt | rownr, |
const Array< Int > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putArrayShortV | ( | uInt | rownr, |
const Array< Short > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putArrayStringV | ( | uInt | rownr, |
const Array< String > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putArrayuCharV | ( | uInt | rownr, |
const Array< uChar > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putArrayuIntV | ( | uInt | rownr, |
const Array< uInt > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putArrayuShortV | ( | uInt | rownr, |
const Array< uShort > * | dataPtr | ||
) | [protected, virtual] |
void casa::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 casa::DataManagerColumn.
virtual void casa::StManColumn::putBlockBoolV | ( | uInt | rownr, |
uInt | nrmax, | ||
const Bool * | dataPtr | ||
) | [protected, virtual] |
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 casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::putBlockComplexV | ( | uInt | rownr, |
uInt | nrmax, | ||
const Complex * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::putBlockDComplexV | ( | uInt | rownr, |
uInt | nrmax, | ||
const DComplex * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::putBlockdoubleV | ( | uInt | rownr, |
uInt | nrmax, | ||
const double * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::putBlockfloatV | ( | uInt | rownr, |
uInt | nrmax, | ||
const float * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::putBlockIntV | ( | uInt | rownr, |
uInt | nrmax, | ||
const Int * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::putBlockShortV | ( | uInt | rownr, |
uInt | nrmax, | ||
const Short * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::putBlockStringV | ( | uInt | rownr, |
uInt | nrmax, | ||
const String * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::putBlockuCharV | ( | uInt | rownr, |
uInt | nrmax, | ||
const uChar * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::putBlockuIntV | ( | uInt | rownr, |
uInt | nrmax, | ||
const uInt * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
virtual void casa::StManColumn::putBlockuShortV | ( | uInt | rownr, |
uInt | nrmax, | ||
const uShort * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::StManColumnAipsIO, and casa::MSMColumn.
void casa::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 casa::DataManagerColumn.
virtual void casa::StManColumn::putColumnSliceBoolV | ( | const Slicer & | ns, |
const Array< Bool > * | dataPtr | ||
) | [protected, 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 in casa::TSMDataColumn.
virtual void casa::StManColumn::putColumnSliceCellsBoolV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
const Array< Bool > * | dataPtr | ||
) | [protected, 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 in casa::TSMDataColumn.
virtual void casa::StManColumn::putColumnSliceCellsComplexV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
const Array< Complex > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putColumnSliceCellsDComplexV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
const Array< DComplex > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putColumnSliceCellsdoubleV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
const Array< double > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putColumnSliceCellsfloatV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
const Array< float > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putColumnSliceCellsIntV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
const Array< Int > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putColumnSliceCellsShortV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
const Array< Short > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putColumnSliceCellsStringV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
const Array< String > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putColumnSliceCellsuCharV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
const Array< uChar > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putColumnSliceCellsuIntV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
const Array< uInt > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putColumnSliceCellsuShortV | ( | const RefRows & | rownrs, |
const Slicer & | ns, | ||
const Array< uShort > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::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 casa::DataManagerColumn.
virtual void casa::StManColumn::putColumnSliceComplexV | ( | const Slicer & | ns, |
const Array< Complex > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putColumnSliceDComplexV | ( | const Slicer & | ns, |
const Array< DComplex > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putColumnSlicedoubleV | ( | const Slicer & | ns, |
const Array< double > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putColumnSlicefloatV | ( | const Slicer & | ns, |
const Array< float > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putColumnSliceIntV | ( | const Slicer & | ns, |
const Array< Int > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putColumnSliceShortV | ( | const Slicer & | ns, |
const Array< Short > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putColumnSliceStringV | ( | const Slicer & | ns, |
const Array< String > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putColumnSliceuCharV | ( | const Slicer & | ns, |
const Array< uChar > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putColumnSliceuIntV | ( | const Slicer & | ns, |
const Array< uInt > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putColumnSliceuShortV | ( | const Slicer & | ns, |
const Array< uShort > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
void casa::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 casa::DataManagerColumn.
virtual void casa::StManColumn::putScalarColumnBoolV | ( | const Vector< Bool > * | dataPtr | ) | [protected, 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 in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::putScalarColumnCellsBoolV | ( | const RefRows & | rownrs, |
const Vector< Bool > * | dataPtr | ||
) | [protected, 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 in casa::TSMDataColumn.
virtual void casa::StManColumn::putScalarColumnCellsComplexV | ( | const RefRows & | rownrs, |
const Vector< Complex > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putScalarColumnCellsDComplexV | ( | const RefRows & | rownrs, |
const Vector< DComplex > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putScalarColumnCellsdoubleV | ( | const RefRows & | rownrs, |
const Vector< double > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putScalarColumnCellsfloatV | ( | const RefRows & | rownrs, |
const Vector< float > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putScalarColumnCellsIntV | ( | const RefRows & | rownrs, |
const Vector< Int > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putScalarColumnCellsShortV | ( | const RefRows & | rownrs, |
const Vector< Short > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putScalarColumnCellsStringV | ( | const RefRows & | rownrs, |
const Vector< String > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putScalarColumnCellsuCharV | ( | const RefRows & | rownrs, |
const Vector< uChar > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putScalarColumnCellsuIntV | ( | const RefRows & | rownrs, |
const Vector< uInt > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
virtual void casa::StManColumn::putScalarColumnCellsuShortV | ( | const RefRows & | rownrs, |
const Vector< uShort > * | dataPtr | ||
) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn.
void casa::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 casa::DataManagerColumn.
virtual void casa::StManColumn::putScalarColumnComplexV | ( | const Vector< Complex > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::putScalarColumnDComplexV | ( | const Vector< DComplex > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::putScalarColumndoubleV | ( | const Vector< double > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::putScalarColumnfloatV | ( | const Vector< float > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::putScalarColumnIntV | ( | const Vector< Int > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::putScalarColumnShortV | ( | const Vector< Short > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::putScalarColumnStringV | ( | const Vector< String > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::putScalarColumnuCharV | ( | const Vector< uChar > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::putScalarColumnuIntV | ( | const Vector< uInt > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
virtual void casa::StManColumn::putScalarColumnuShortV | ( | const Vector< uShort > * | dataPtr | ) | [protected, virtual] |
Reimplemented in casa::TSMDataColumn, casa::ISMColumn, and casa::SSMColumn.
void casa::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 casa::DataManagerColumn.
virtual void casa::StManColumn::putSliceBoolV | ( | uInt | rownr, |
const Slicer & | ns, | ||
const Array< Bool > * | dataPtr | ||
) | [protected, 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 in casa::TSMDataColumn, casa::SSMIndColumn, casa::ISMIndColumn, casa::StManColumnIndArrayAipsIO, casa::StManColumnArrayAipsIO, casa::MSMIndColumn, and casa::MSMDirColumn.
virtual void casa::StManColumn::putSliceComplexV | ( | uInt | rownr, |
const Slicer & | ns, | ||
const Array< Complex > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putSliceDComplexV | ( | uInt | rownr, |
const Slicer & | ns, | ||
const Array< DComplex > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putSlicedoubleV | ( | uInt | rownr, |
const Slicer & | ns, | ||
const Array< double > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putSlicefloatV | ( | uInt | rownr, |
const Slicer & | ns, | ||
const Array< float > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putSliceIntV | ( | uInt | rownr, |
const Slicer & | ns, | ||
const Array< Int > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putSliceShortV | ( | uInt | rownr, |
const Slicer & | ns, | ||
const Array< Short > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putSliceStringV | ( | uInt | rownr, |
const Slicer & | ns, | ||
const Array< String > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putSliceuCharV | ( | uInt | rownr, |
const Slicer & | ns, | ||
const Array< uChar > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putSliceuIntV | ( | uInt | rownr, |
const Slicer & | ns, | ||
const Array< uInt > * | dataPtr | ||
) | [protected, virtual] |
virtual void casa::StManColumn::putSliceuShortV | ( | uInt | rownr, |
const Slicer & | ns, | ||
const Array< uShort > * | dataPtr | ||
) | [protected, virtual] |
void casa::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 casa::DataManagerColumn.
void casa::StManColumn::throwGetArray | ( | ) | const [private] |
Throw an "invalid operation" exception for the default implementation of getArray.
void casa::StManColumn::throwPutArray | ( | ) | const [private] |
Throw an "invalid operation" exception for the default implementation of putArray.
int casa::StManColumn::dtype_p [private] |
The data type of the column.
Reimplemented in casa::StManColumnAipsIO, casa::MSMColumn, and casa::TSMColumn.
Definition at line 793 of file StManColumn.h.