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 |
The axis number of the coordinate. |
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.
Create a coordinate column from the given column.
virtual casacore::TSMCoordColumn::~TSMCoordColumn | ( | ) | [virtual] |
Frees up the storage.
casacore::TSMCoordColumn::TSMCoordColumn | ( | const TSMCoordColumn & | ) | [private] |
Forbid copy constructor.
void casacore::TSMCoordColumn::getArrayComplexV | ( | uInt | rownr, | |
Array< Complex > * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::StManColumn.
void casacore::TSMCoordColumn::getArrayDComplexV | ( | uInt | rownr, | |
Array< DComplex > * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::StManColumn.
Reimplemented from casacore::StManColumn.
Reimplemented from casacore::StManColumn.
Get the array value in the given row.
The array pointed to by dataPtr has to have the correct length (which is guaranteed by the ArrayColumn get function). The default implementation thrown an "invalid operation exception".
Reimplemented from casacore::StManColumn.
Reimplemented from casacore::StManColumn.
void casacore::TSMCoordColumn::getComplexV | ( | uInt | rownr, | |
Complex * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::DataManagerColumn.
void casacore::TSMCoordColumn::getDComplexV | ( | uInt | rownr, | |
DComplex * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::DataManagerColumn.
void casacore::TSMCoordColumn::getdoubleV | ( | uInt | rownr, | |
double * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::DataManagerColumn.
void casacore::TSMCoordColumn::getfloatV | ( | uInt | rownr, | |
float * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::DataManagerColumn.
Get a scalar value in the given row.
The buffer pointed to by dataPtr has to have the correct length (which is guaranteed by the Scalar/ArrayColumn get function).
Reimplemented from casacore::DataManagerColumn.
Reimplemented from casacore::DataManagerColumn.
Is the value shape defined in the given row?
Reimplemented from casacore::DataManagerColumn.
TSMCoordColumn& casacore::TSMCoordColumn::operator= | ( | const TSMCoordColumn & | ) | [private] |
Forbid assignment.
Reimplemented from casacore::TSMColumn.
void casacore::TSMCoordColumn::putArrayComplexV | ( | uInt | rownr, | |
const Array< Complex > * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::StManColumn.
void casacore::TSMCoordColumn::putArrayDComplexV | ( | uInt | rownr, | |
const Array< DComplex > * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::StManColumn.
void casacore::TSMCoordColumn::putArraydoubleV | ( | uInt | rownr, | |
const Array< double > * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::StManColumn.
void casacore::TSMCoordColumn::putArrayfloatV | ( | uInt | rownr, | |
const Array< float > * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::StManColumn.
Put the array value into the given row.
The buffer pointed to by dataPtr has to have the correct length (which is guaranteed by the ArrayColumn put function). The default implementation thrown an "invalid operation exception".
Reimplemented from casacore::StManColumn.
void casacore::TSMCoordColumn::putArrayuIntV | ( | uInt | rownr, | |
const Array< uInt > * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::StManColumn.
void casacore::TSMCoordColumn::putComplexV | ( | uInt | rownr, | |
const Complex * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::DataManagerColumn.
void casacore::TSMCoordColumn::putDComplexV | ( | uInt | rownr, | |
const DComplex * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::DataManagerColumn.
void casacore::TSMCoordColumn::putdoubleV | ( | uInt | rownr, | |
const double * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::DataManagerColumn.
void casacore::TSMCoordColumn::putfloatV | ( | uInt | rownr, | |
const float * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::DataManagerColumn.
Put a scalar value into the given row.
The buffer pointed to by dataPtr has to have the correct length (which is guaranteed by the Scalar/ArrayColumn put function).
Reimplemented from casacore::DataManagerColumn.
Reimplemented from casacore::DataManagerColumn.
Set the shape of the coordinate vector in the given row.
Reimplemented from casacore::DataManagerColumn.
Get the shape of the item in the given row.
Reimplemented from casacore::DataManagerColumn.
uInt casacore::TSMCoordColumn::axisNr_p [private] |
The axis number of the coordinate.
Definition at line 167 of file TSMCoordColumn.h.