TSMIdColumn.h
Classes
- TSMIdColumn -- An id column in Tiled Storage Manager. (full description)
Interface
- Public Members
- TSMIdColumn (const TSMColumn& column)
- virtual ~TSMIdColumn()
- void getBoolV (uInt rownr, Bool* dataPtr)
- 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)
- 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 Members
- TSMIdColumn (const TSMIdColumn&)
- TSMIdColumn& operator= (const TSMIdColumn&)
Prerequisite
Etymology
TSMIdColumn handles an id column for a Tiled
Storage Manager.
Synopsis
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.
Motivation
Handling coordinate columns in the Tiled Storage Manager is
different from other columns.
Member Description
Create an id column from the given column.
Frees up the storage.
void getBoolV (uInt rownr, Bool* dataPtr)
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)
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).
void putBoolV (uInt rownr, const Bool* dataPtr)
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)
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.
Forbid copy constructor.
TSMIdColumn& operator= (const TSMIdColumn&)
Forbid assignment.