SSMDirColumn.h

Classes

SSMDirColumn -- A Direct Array Column in the Standard Storage Manager. (full description)

class SSMDirColumn : public SSMColumn

Interface

Public Members
SSMDirColumn (SSMBase* aParent, int aDataType, uInt aColNr)
virtual ~SSMDirColumn()
virtual void setMaxLength (uInt maxLength)
virtual void getArrayBoolV (uInt rownr, Array<Bool>* dataPtr)
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)
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)
Protected Members
void getValue (uInt aRowNr, void* data)
Private Members
SSMDirColumn (const SSMDirColumn&)
SSMDirColumn& operator= (const SSMDirColumn&)

Description

Review Status

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

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.

Member Description

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 ~SSMDirColumn()

virtual void setMaxLength (uInt maxLength)

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.

virtual void getArrayBoolV (uInt rownr, Array<Bool>* dataPtr)
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)

Get an array value in the given row.

virtual void putArrayBoolV (uInt rownr, const Array<Bool>* dataPtr)
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)

Put an array value in the given row.

virtual void deleteRow(uInt aRowNr)

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

void getValue (uInt aRowNr, void* data)

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

SSMDirColumn (const SSMDirColumn&)

Forbid copy constructor.

SSMDirColumn& operator= (const SSMDirColumn&)

Forbid assignment.