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

A Direct Array Column in the Standard Storage Manager. More...

#include <SSMDirColumn.h>

Inheritance diagram for casa::SSMDirColumn:
casa::SSMColumn casa::StManColumn casa::DataManagerColumn casa::SSMIndStringColumn

List of all members.

Public Member Functions

 SSMDirColumn (SSMBase *aParent, int aDataType, uInt aColNr)
 Create a SSMDirColumn object with the given parent.
virtual ~SSMDirColumn ()
virtual void setMaxLength (uInt maxLength)
 An array of 'fixed length' strings is not handled specially, thus this function is ignored.
virtual void getArrayBoolV (uInt rownr, Array< Bool > *dataPtr)
 Get an array value in the given row.
virtual void getArrayuCharV (uInt rownr, Array< uChar > *dataPtr)
virtual void getArrayShortV (uInt rownr, Array< Short > *dataPtr)
virtual void getArrayuShortV (uInt rownr, Array< uShort > *dataPtr)
virtual void getArrayIntV (uInt rownr, Array< Int > *dataPtr)
virtual void getArrayuIntV (uInt rownr, Array< uInt > *dataPtr)
virtual void getArrayfloatV (uInt rownr, Array< float > *dataPtr)
virtual void getArraydoubleV (uInt rownr, Array< double > *dataPtr)
virtual void getArrayComplexV (uInt rownr, Array< Complex > *dataPtr)
virtual void getArrayDComplexV (uInt rownr, Array< DComplex > *dataPtr)
virtual void getArrayStringV (uInt rownr, Array< String > *dataPtr)
virtual void putArrayBoolV (uInt rownr, const Array< Bool > *dataPtr)
 Put an array value in the given row.
virtual void putArrayuCharV (uInt rownr, const Array< uChar > *dataPtr)
virtual void putArrayShortV (uInt rownr, const Array< Short > *dataPtr)
virtual void putArrayuShortV (uInt rownr, const Array< uShort > *dataPtr)
virtual void putArrayIntV (uInt rownr, const Array< Int > *dataPtr)
virtual void putArrayuIntV (uInt rownr, const Array< uInt > *dataPtr)
virtual void putArrayfloatV (uInt rownr, const Array< float > *dataPtr)
virtual void putArraydoubleV (uInt rownr, const Array< double > *dataPtr)
virtual void putArrayComplexV (uInt rownr, const Array< Complex > *dataPtr)
virtual void putArrayDComplexV (uInt rownr, const Array< DComplex > *dataPtr)
virtual void putArrayStringV (uInt rownr, const Array< String > *dataPtr)
virtual void deleteRow (uInt aRowNr)
 Remove the given row from the data bucket and possibly string bucket.

Protected Member Functions

void getValue (uInt aRowNr, void *data)
 Read the array data for the given row into the data buffer.

Private Member Functions

 SSMDirColumn (const SSMDirColumn &)
 Forbid copy constructor.
SSMDirColumnoperator= (const SSMDirColumn &)
 Forbid assignment.

Detailed Description

A Direct Array Column in the Standard Storage Manager.

Intended use:

Internal

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25
Test programs:
tStandardStMan

Prerequisite

Etymology

SSMDirColumn represents a Direct Array Column in the Standard Storage Manager.

Synopsis

SSMDirColumn handles the access to a column containing direct arrays of the various data types.
It is derived from SSMColumn and uses most of its functions. The only thing done differently in this class is that it maintains no cache. Furthermore fixed length strings are not handled specially. All string arrays are stored in the special string buckets.

Definition at line 78 of file SSMDirColumn.h.


Constructor & Destructor Documentation

casa::SSMDirColumn::SSMDirColumn ( SSMBase aParent,
int  aDataType,
uInt  aColNr 
)

Create a SSMDirColumn object with the given parent.

It initializes the various variables. It keeps the pointer to its parent (but does not own it).

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

Forbid copy constructor.


Member Function Documentation

virtual void casa::SSMDirColumn::deleteRow ( uInt  aRowNr) [virtual]

Remove the given row from the data bucket and possibly string bucket.

Reimplemented from casa::SSMColumn.

virtual void casa::SSMDirColumn::getArrayBoolV ( uInt  rownr,
Array< Bool > *  dataPtr 
) [virtual]

Get an array value in the given row.

Reimplemented from casa::StManColumn.

virtual void casa::SSMDirColumn::getArrayComplexV ( uInt  rownr,
Array< Complex > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

virtual void casa::SSMDirColumn::getArrayDComplexV ( uInt  rownr,
Array< DComplex > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

virtual void casa::SSMDirColumn::getArraydoubleV ( uInt  rownr,
Array< double > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

virtual void casa::SSMDirColumn::getArrayfloatV ( uInt  rownr,
Array< float > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

virtual void casa::SSMDirColumn::getArrayIntV ( uInt  rownr,
Array< Int > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

virtual void casa::SSMDirColumn::getArrayShortV ( uInt  rownr,
Array< Short > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

virtual void casa::SSMDirColumn::getArrayStringV ( uInt  rownr,
Array< String > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

Reimplemented in casa::SSMIndStringColumn.

virtual void casa::SSMDirColumn::getArrayuCharV ( uInt  rownr,
Array< uChar > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

virtual void casa::SSMDirColumn::getArrayuIntV ( uInt  rownr,
Array< uInt > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

virtual void casa::SSMDirColumn::getArrayuShortV ( uInt  rownr,
Array< uShort > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

void casa::SSMDirColumn::getValue ( uInt  aRowNr,
void *  data 
) [protected]

Read the array data for the given row into the data buffer.

SSMDirColumn& casa::SSMDirColumn::operator= ( const SSMDirColumn ) [private]

Forbid assignment.

virtual void casa::SSMDirColumn::putArrayBoolV ( uInt  rownr,
const Array< Bool > *  dataPtr 
) [virtual]

Put an array value in the given row.

Reimplemented from casa::StManColumn.

virtual void casa::SSMDirColumn::putArrayComplexV ( uInt  rownr,
const Array< Complex > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

virtual void casa::SSMDirColumn::putArrayDComplexV ( uInt  rownr,
const Array< DComplex > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

virtual void casa::SSMDirColumn::putArraydoubleV ( uInt  rownr,
const Array< double > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

virtual void casa::SSMDirColumn::putArrayfloatV ( uInt  rownr,
const Array< float > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

virtual void casa::SSMDirColumn::putArrayIntV ( uInt  rownr,
const Array< Int > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

virtual void casa::SSMDirColumn::putArrayShortV ( uInt  rownr,
const Array< Short > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

virtual void casa::SSMDirColumn::putArrayStringV ( uInt  rownr,
const Array< String > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

Reimplemented in casa::SSMIndStringColumn.

virtual void casa::SSMDirColumn::putArrayuCharV ( uInt  rownr,
const Array< uChar > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

virtual void casa::SSMDirColumn::putArrayuIntV ( uInt  rownr,
const Array< uInt > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

virtual void casa::SSMDirColumn::putArrayuShortV ( uInt  rownr,
const Array< uShort > *  dataPtr 
) [virtual]

Reimplemented from casa::StManColumn.

virtual void casa::SSMDirColumn::setMaxLength ( uInt  maxLength) [virtual]

An array of 'fixed length' strings is not handled specially, thus this function is ignored.

It is needed to override the bahviour of the base class.

Reimplemented from casa::SSMColumn.


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