casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions
casa::TSMIdColumn Class Reference

An id column in Tiled Storage Manager. More...

#include <TSMIdColumn.h>

Inheritance diagram for casa::TSMIdColumn:
casa::TSMColumn casa::StManColumn casa::DataManagerColumn

List of all members.

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 &)
 
     

TSMIdColumnoperator= (const TSMIdColumn &)
 Forbid assignment.

Detailed Description

An id column in Tiled Storage Manager.

Intended use:

Internal

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25

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.

Definition at line 90 of file TSMIdColumn.h.


Constructor & Destructor Documentation

Create an id column from the given column.

virtual casa::TSMIdColumn::~TSMIdColumn ( ) [virtual]

Frees up the storage.

     

Forbid copy constructor.


Member Function Documentation

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.


The documentation for this class was generated from the following file: