casa
$Rev:20696$
|
A coordinate column in Tiled Storage Manager. More...
#include <TSMCoordColumn.h>
Public Member Functions | |
TSMCoordColumn (const TSMColumn &column, uInt axisNr) | |
Create a coordinate column from the given column. | |
virtual | ~TSMCoordColumn () |
Frees up the storage. | |
void | setShape (uInt rownr, const IPosition &shape) |
Set the shape of the coordinate vector in the given row. | |
Bool | isShapeDefined (uInt rownr) |
Is the value shape defined in the given row? | |
IPosition | shape (uInt rownr) |
Get the shape of the item in the given row. | |
void | getIntV (uInt rownr, Int *dataPtr) |
Get a scalar value in the given row. | |
void | getuIntV (uInt rownr, uInt *dataPtr) |
void | getfloatV (uInt rownr, float *dataPtr) |
void | getdoubleV (uInt rownr, double *dataPtr) |
void | getComplexV (uInt rownr, Complex *dataPtr) |
void | getDComplexV (uInt rownr, DComplex *dataPtr) |
void | putIntV (uInt rownr, const Int *dataPtr) |
Put a scalar value into the given row. | |
void | putuIntV (uInt rownr, const uInt *dataPtr) |
void | putfloatV (uInt rownr, const float *dataPtr) |
void | putdoubleV (uInt rownr, const double *dataPtr) |
void | putComplexV (uInt rownr, const Complex *dataPtr) |
void | putDComplexV (uInt rownr, const DComplex *dataPtr) |
void | getArrayIntV (uInt rownr, Array< Int > *dataPtr) |
Get the array value in the given row. | |
void | getArrayuIntV (uInt rownr, Array< uInt > *dataPtr) |
void | getArrayfloatV (uInt rownr, Array< float > *dataPtr) |
void | getArraydoubleV (uInt rownr, Array< double > *dataPtr) |
void | getArrayComplexV (uInt rownr, Array< Complex > *dataPtr) |
void | getArrayDComplexV (uInt rownr, Array< DComplex > *dataPtr) |
void | putArrayIntV (uInt rownr, const Array< Int > *dataPtr) |
Put the array value into the given row. | |
void | putArrayuIntV (uInt rownr, const Array< uInt > *dataPtr) |
void | putArrayfloatV (uInt rownr, const Array< float > *dataPtr) |
void | putArraydoubleV (uInt rownr, const Array< double > *dataPtr) |
void | putArrayComplexV (uInt rownr, const Array< Complex > *dataPtr) |
void | putArrayDComplexV (uInt rownr, const Array< DComplex > *dataPtr) |
Private Member Functions | |
TSMCoordColumn (const TSMCoordColumn &) | |
Forbid copy constructor. | |
TSMCoordColumn & | operator= (const TSMCoordColumn &) |
Forbid assignment. | |
Private Attributes | |
uInt | axisNr_p |
A coordinate column in Tiled Storage Manager.
Internal
TSMCoordColumn handles a coordinate column for a Tiled Storage Manager.
TSMCoordColumn is used by TiledStMan to handle the access to a table column containing coordinates of a tiled hypercube axis. There are 2 types of coordinates (as described at
TableDesc::defineHypercolumn ):
The coordinates are held in a TSMCube object. The row number determines which TSMCube object has to be accessed.
The creation of a TSMCoordColumn object is done by a TSMColumn object. This process is described in more detail in the class TSMColumn .
Handling coordinate columns in the Tiled Storage Manager is different from other columns.
Definition at line 96 of file TSMCoordColumn.h.
casa::TSMCoordColumn::TSMCoordColumn | ( | const TSMColumn & | column, |
uInt | axisNr | ||
) |
Create a coordinate column from the given column.
virtual casa::TSMCoordColumn::~TSMCoordColumn | ( | ) | [virtual] |
Frees up the storage.
casa::TSMCoordColumn::TSMCoordColumn | ( | const TSMCoordColumn & | ) | [private] |
Forbid copy constructor.
void casa::TSMCoordColumn::getArrayComplexV | ( | uInt | rownr, |
Array< Complex > * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::StManColumn.
void casa::TSMCoordColumn::getArrayDComplexV | ( | uInt | rownr, |
Array< DComplex > * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::StManColumn.
void casa::TSMCoordColumn::getArraydoubleV | ( | uInt | rownr, |
Array< double > * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::StManColumn.
void casa::TSMCoordColumn::getArrayfloatV | ( | uInt | rownr, |
Array< float > * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::StManColumn.
void casa::TSMCoordColumn::getArrayIntV | ( | uInt | rownr, |
Array< Int > * | dataPtr | ||
) | [virtual] |
Get the array value in the given row.
The array pointed to by dataPtr has to have the correct length (which is guaranteed by the ArrayColumn get function). The default implementation thrown an "invalid operation exception".
Reimplemented from casa::StManColumn.
void casa::TSMCoordColumn::getArrayuIntV | ( | uInt | rownr, |
Array< uInt > * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::StManColumn.
void casa::TSMCoordColumn::getComplexV | ( | uInt | rownr, |
Complex * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMCoordColumn::getDComplexV | ( | uInt | rownr, |
DComplex * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMCoordColumn::getdoubleV | ( | uInt | rownr, |
double * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMCoordColumn::getfloatV | ( | uInt | rownr, |
float * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMCoordColumn::getIntV | ( | uInt | rownr, |
Int * | dataPtr | ||
) | [virtual] |
Get a scalar value in the given row.
The buffer pointed to by dataPtr has to have the correct length (which is guaranteed by the Scalar/ArrayColumn get function).
Reimplemented from casa::DataManagerColumn.
void casa::TSMCoordColumn::getuIntV | ( | uInt | rownr, |
uInt * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
Bool casa::TSMCoordColumn::isShapeDefined | ( | uInt | rownr | ) | [virtual] |
Is the value shape defined in the given row?
Reimplemented from casa::DataManagerColumn.
TSMCoordColumn& casa::TSMCoordColumn::operator= | ( | const TSMCoordColumn & | ) | [private] |
Forbid assignment.
void casa::TSMCoordColumn::putArrayComplexV | ( | uInt | rownr, |
const Array< Complex > * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::StManColumn.
void casa::TSMCoordColumn::putArrayDComplexV | ( | uInt | rownr, |
const Array< DComplex > * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::StManColumn.
void casa::TSMCoordColumn::putArraydoubleV | ( | uInt | rownr, |
const Array< double > * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::StManColumn.
void casa::TSMCoordColumn::putArrayfloatV | ( | uInt | rownr, |
const Array< float > * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::StManColumn.
void casa::TSMCoordColumn::putArrayIntV | ( | uInt | rownr, |
const Array< Int > * | dataPtr | ||
) | [virtual] |
Put the array value into the given row.
The buffer pointed to by dataPtr has to have the correct length (which is guaranteed by the ArrayColumn put function). The default implementation thrown an "invalid operation exception".
Reimplemented from casa::StManColumn.
void casa::TSMCoordColumn::putArrayuIntV | ( | uInt | rownr, |
const Array< uInt > * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::StManColumn.
void casa::TSMCoordColumn::putComplexV | ( | uInt | rownr, |
const Complex * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMCoordColumn::putDComplexV | ( | uInt | rownr, |
const DComplex * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMCoordColumn::putdoubleV | ( | uInt | rownr, |
const double * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMCoordColumn::putfloatV | ( | uInt | rownr, |
const float * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMCoordColumn::putIntV | ( | uInt | rownr, |
const Int * | dataPtr | ||
) | [virtual] |
Put a scalar value into the given row.
The buffer pointed to by dataPtr has to have the correct length (which is guaranteed by the Scalar/ArrayColumn put function).
Reimplemented from casa::DataManagerColumn.
void casa::TSMCoordColumn::putuIntV | ( | uInt | rownr, |
const uInt * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMCoordColumn::setShape | ( | uInt | rownr, |
const IPosition & | shape | ||
) | [virtual] |
Set the shape of the coordinate vector in the given row.
Reimplemented from casa::DataManagerColumn.
IPosition casa::TSMCoordColumn::shape | ( | uInt | rownr | ) | [virtual] |
Get the shape of the item in the given row.
Reimplemented from casa::DataManagerColumn.
uInt casa::TSMCoordColumn::axisNr_p [private] |