Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <DAMDBDES.H>
Link against: damodl.lib
This item is not part of the S60 5th Edition SDK

Class TDaUserCol

Interface status: deprecated

class TDaUserCol;

Description

A data application user column specification.

Members

Defined in TDaUserCol:


Construction and destruction


TDaUserCol(const TDesC &,TDbColType,TInt,TInt,TInt)

Interface status: deprecated Inherited from: TDaUserCol

IMPORT_C TDaUserCol(const TDesC &aName, TDbColType aType, TInt aUId, TInt aMaxLength=KDbUndefinedLength, TInt aMaxLinesDE=KMaxLinesDE);

Description

Constructor with column specification parameters.

Parameters

const TDesC16 &aName

Column name

TDbColType aType

Column type

TInt aUId

Column UID

TInt aMaxLength

Maximum length

TInt aMaxLinesDE

Maximum number of lines


TDaUserCol()

Interface status: deprecated Inherited from: TDaUserCol

IMPORT_C TDaUserCol();

Description

Default constructor.

[Top]


Member functions


MapToCDbColSetL(CDbColSet &)const

Interface status: deprecated Inherited from: TDaUserCol

IMPORT_C void MapToCDbColSetL(CDbColSet &aCDbColSet) const;

Description

Adds the column to a column definition set.

Parameters

CDbColSet &aCDbColSet

Column definition set


ExternalizeL(RWriteStream &)const

Interface status: deprecated Inherited from: TDaUserCol

IMPORT_C void ExternalizeL(RWriteStream &aSink) const;

Description

Externalises the object.

Parameters

RWriteStream &aSink

Stream to write to


InternalizeL(RReadStream &)

Interface status: deprecated Inherited from: TDaUserCol

IMPORT_C void InternalizeL(RReadStream &aSource);

Description

Internalises the object.

Parameters

RReadStream &aSource

Stream to read from


SetDialable(TBool)

Interface status: deprecated Inherited from: TDaUserCol

IMPORT_C void SetDialable(TBool aDialable);

Description

Sets/unsets the EDialable attribute.

Parameters

TBool aDialable

True to set the flag, false to unset


IsDialable()const

Interface status: deprecated Inherited from: TDaUserCol

inline TBool IsDialable() const;

Description

Tests if the EDialable attribute is set.

Return value

TBool

True if the flag is set, otherwise false

[Top]


Member enumerations


Enum anonymous

Interface status: deprecated Inherited from: TDaUserCol

n/a

Description

Defines a dialable flag.

EDialable

Dialable flag.

[Top]


Member data


iName

Interface status: deprecated Inherited from: TDaUserCol

TBuf< KDbMaxColName > iName;

Description

Column name.


iType

Interface status: deprecated Inherited from: TDaUserCol

TDbColType iType;

Description

Column type.


iMaxLength

Interface status: deprecated Inherited from: TDaUserCol

TInt iMaxLength;

Description

Maximum length.


iAttributes

Interface status: deprecated Inherited from: TDaUserCol

TUint iAttributes;

Description

Column flags.


iUId

Interface status: deprecated Inherited from: TDaUserCol

TInt iUId;

Description

Column UID.


iDaAttributes

Interface status: deprecated Inherited from: TDaUserCol

TUint iDaAttributes;

Description

Column data application flags.


iMinKeyLength

Interface status: deprecated Inherited from: TDaUserCol

TInt iMinKeyLength;

Description

Minimum key length.


iMaxLinesDE

Interface status: deprecated Inherited from: TDaUserCol

TInt iMaxLinesDE;

Description

Maximum number of lines.


iPrecision

Interface status: deprecated Inherited from: TDaUserCol

TInt iPrecision;

Description

Number of decimal places.


iMinValue

Interface status: deprecated Inherited from: TDaUserCol

TInt iMinValue;

Description

Minimum value.


iMaxValue

Interface status: deprecated Inherited from: TDaUserCol

TInt iMaxValue;

Description

Maximum value.


iDbColNo1

Interface status: deprecated Inherited from: TDaUserCol

TUint iDbColNo1;

Description

Column number.


iDbColNo2

Interface status: deprecated Inherited from: TDaUserCol

TUint iDbColNo2;

Description

Column number.