An id column in Tiled Storage Manager. More...
#include <TSMIdColumn.h>
Public Member Functions | |
TSMIdColumn (const TSMColumn &column) | |
Create an id column from the given column. | |
virtual | ~TSMIdColumn () |
Frees up the storage. | |
void | getBoolV (uInt rownr, Bool *dataPtr) |
Get a scalar value in the given row. | |
void | getIntV (uInt rownr, Int *dataPtr) |
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 | getStringV (uInt rownr, String *dataPtr) |
void | putBoolV (uInt rownr, const Bool *dataPtr) |
Put a scalar value in the given row. | |
void | putIntV (uInt rownr, const Int *dataPtr) |
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 | putStringV (uInt rownr, const String *dataPtr) |
Private Member Functions | |
TSMIdColumn (const TSMIdColumn &) | |
Forbid copy constructor. | |
TSMIdColumn & | operator= (const TSMIdColumn &) |
Forbid assignment. |
An id column in Tiled Storage Manager.
Internal
TSMIdColumn handles an id column for a Tiled Storage Manager.
TSMIdColumn is used by TiledStMan to handle the access to a table column containing an id value of a tiled hypercube. Explicitly putting an id value is not possible. The only way to define the value is by specifying it when adding a hypercube in TiledDataStMan .
The id values are held in a TSMCube object. The row number determines which TSMCube object has to be accessed.
The creation of a TSMIdColumn 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 90 of file TSMIdColumn.h.
casacore::TSMIdColumn::TSMIdColumn | ( | const TSMColumn & | column | ) |
Create an id column from the given column.
virtual casacore::TSMIdColumn::~TSMIdColumn | ( | ) | [virtual] |
Frees up the storage.
casacore::TSMIdColumn::TSMIdColumn | ( | const TSMIdColumn & | ) | [private] |
Forbid copy constructor.
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 ScalarColumn get function).
Reimplemented from casacore::DataManagerColumn.
void casacore::TSMIdColumn::getComplexV | ( | uInt | rownr, | |
Complex * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::DataManagerColumn.
void casacore::TSMIdColumn::getDComplexV | ( | uInt | rownr, | |
DComplex * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::DataManagerColumn.
void casacore::TSMIdColumn::getdoubleV | ( | uInt | rownr, | |
double * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::DataManagerColumn.
void casacore::TSMIdColumn::getfloatV | ( | uInt | rownr, | |
float * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::DataManagerColumn.
Reimplemented from casacore::DataManagerColumn.
Reimplemented from casacore::DataManagerColumn.
Reimplemented from casacore::DataManagerColumn.
TSMIdColumn& casacore::TSMIdColumn::operator= | ( | const TSMIdColumn & | ) | [private] |
Forbid assignment.
Reimplemented from casacore::TSMColumn.
Put a scalar value in the given row.
The buffer pointed to by dataPtr has to have the correct length (which is guaranteed by the ScalarColumn get function). The value to be put must match the value which has already been inserted by the TiledStMan::addHypercube function. The put function is only there to be fully orthogonal.
Reimplemented from casacore::DataManagerColumn.
void casacore::TSMIdColumn::putComplexV | ( | uInt | rownr, | |
const Complex * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::DataManagerColumn.
void casacore::TSMIdColumn::putDComplexV | ( | uInt | rownr, | |
const DComplex * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::DataManagerColumn.
void casacore::TSMIdColumn::putdoubleV | ( | uInt | rownr, | |
const double * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::DataManagerColumn.
void casacore::TSMIdColumn::putfloatV | ( | uInt | rownr, | |
const float * | dataPtr | |||
) | [virtual] |
Reimplemented from casacore::DataManagerColumn.
Reimplemented from casacore::DataManagerColumn.
Reimplemented from casacore::DataManagerColumn.
Reimplemented from casacore::DataManagerColumn.