casa
$Rev:20696$
|
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 &) | |
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.
casa::TSMIdColumn::TSMIdColumn | ( | const TSMColumn & | column | ) |
Create an id column from the given column.
virtual casa::TSMIdColumn::~TSMIdColumn | ( | ) | [virtual] |
Frees up the storage.
casa::TSMIdColumn::TSMIdColumn | ( | const TSMIdColumn & | ) | [private] |
Forbid copy constructor.
void casa::TSMIdColumn::getBoolV | ( | uInt | rownr, |
Bool * | 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 ScalarColumn get function).
Reimplemented from casa::DataManagerColumn.
void casa::TSMIdColumn::getComplexV | ( | uInt | rownr, |
Complex * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMIdColumn::getDComplexV | ( | uInt | rownr, |
DComplex * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMIdColumn::getdoubleV | ( | uInt | rownr, |
double * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMIdColumn::getfloatV | ( | uInt | rownr, |
float * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMIdColumn::getIntV | ( | uInt | rownr, |
Int * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMIdColumn::getStringV | ( | uInt | rownr, |
String * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMIdColumn::getuIntV | ( | uInt | rownr, |
uInt * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
TSMIdColumn& casa::TSMIdColumn::operator= | ( | const TSMIdColumn & | ) | [private] |
Forbid assignment.
void casa::TSMIdColumn::putBoolV | ( | uInt | rownr, |
const Bool * | dataPtr | ||
) | [virtual] |
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 casa::DataManagerColumn.
void casa::TSMIdColumn::putComplexV | ( | uInt | rownr, |
const Complex * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMIdColumn::putDComplexV | ( | uInt | rownr, |
const DComplex * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMIdColumn::putdoubleV | ( | uInt | rownr, |
const double * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMIdColumn::putfloatV | ( | uInt | rownr, |
const float * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMIdColumn::putIntV | ( | uInt | rownr, |
const Int * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMIdColumn::putStringV | ( | uInt | rownr, |
const String * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.
void casa::TSMIdColumn::putuIntV | ( | uInt | rownr, |
const uInt * | dataPtr | ||
) | [virtual] |
Reimplemented from casa::DataManagerColumn.